Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 03:16 pm EDT
Geeklog Forums
new user registration fails
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
After installing GL under PHP 5.3 I get the following "error" when registering as a new user:
8192 - Assigning the return value of new by reference is deprecated @ /<snipped>/system/pear/HTTP/Request.php line 412
This error points to the following code in pear:
function setURL($url)
{
$this->_url = &new Net_URL($url, $this->_useBrackets);
{
$this->_url = &new Net_URL($url, $this->_useBrackets);
I do notice a request2.php in the pear libs. Question is: what to do now or next?
11
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Looks like your webserver is configured to report errors for deprecated constructs.
Check the php.ini (assuming you have access to it - otherwise talk to your hosting service). The recommended value for error reporting on a production system is:
You probably also want to set
while you're at it.
Changing php.ini values requires a restart of the webserver to take effect.
bye, Dirk
Check the php.ini (assuming you have access to it - otherwise talk to your hosting service). The recommended value for error reporting on a production system is:
Text Formatted Code
error_reporting=E_ALL & ~E_DEPRECATEDYou probably also want to set
Text Formatted Code
display_errors = Offwhile you're at it.
Changing php.ini values requires a restart of the webserver to take effect.
bye, Dirk
11
10
Quote
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
Thanks for the information. It identifies correctly my problem.
My hosting service gives me 3 levels of error reporting and the option to allow custom error reporting by the scripts. The latter interferes with other hosted scripts, so I must evaluate with customer support at my hosting service.
My hosting service gives me 3 levels of error reporting and the option to allow custom error reporting by the scripts. The latter interferes with other hosted scripts, so I must evaluate with customer support at my hosting service.
13
13
Quote
All times are EDT. The time is now 03:16 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content