error: "Warning: Call-time pass-by-reference has been deprecated "

Falstaff

Everything seems to be working, but in the admin cp when I click on sold auctions or running auctions i get the error:

"Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/www/users/trfweb/store1/alp/includes/EbatNs/EbatNs_Client.php on line 231"

The error is listed five times with different line numbers.

I get the same error when I click 'select' categories on the create auction page, this time repeated six times.

editing the .ini file is not an option since I'm on a shared host.

Thanks,
Falstaff




David
It's error reporting and

It's error reporting and display notices. You will need to ask your web host how to turn this off using PHP or an .htaccess file. It doesn't affect the operation of the program but it is pretty bothersome to see it all the time.

Your /alp/.htaccess will need to have something like the following in it.

php_flag display_errors off

Also these are the old forums and are here for information only. Click on the Forum menu button in the orange bar at the top of this page as these will go by the wayside soon.




glamour1artworks
Has anyone solved this problem yet?

I have been pulling my hair out all night trying to resolve this issue to no avail. I have used all advice I have found on these forums and elsewhere on the internet. If anyone has resolved this issue then please could you let me know ASAP. Don't want to uninstall it after all the work I have put into it i.e joining Ebay developers etc, etc.

Your help would be gratefully appreciated.

Regards

Dave




glamour1artworks
Has anyone solved this problem yet?

I have been pulling my hair out all night trying to resolve this issue to no avail. I have used all advice I have found on these forums and elsewhere on the internet. If anyone has resolved this issue then please could you let me know ASAP. Don't want to uninstall it after all the work I have put into it i.e joining Ebay developers etc, etc.

Your help would be gratefully appreciated.

Regards

Dave




Falstaff
No joy with .htaccess, using

No joy with .htaccess, using either php4 or php5. I'll go pester my hosting provider. Thanks for your time!




David
Sounds like error reporting

Sounds like error reporting might be turned on in the server settings.

Try creating an .htaccess file in the /alp folder /alp/.htaccess and put the following line in it

php_flag display_errors off

If this doesn't work you may have to contact your hosting company and ask them how to turn off the notices.

Some of the code that generates these errors is needed for PHP4 but not in PHP5.




Falstaff
Didn't work. :( silly me,

Didn't work. :(

silly me, hoping for an easy fix...




David
It is a warning notice that

It is a warning notice that is being generated by application_top.php

You can turn this off by editing /alp/includes/application_top.php and setting line 21 too look like this.

// Set the level of error reporting
// error_reporting(E_ALL & ~E_NOTICE);

That should turn off all warning notices.