Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 05:04 am 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);


I do notice a request2.php in the pear libs. Question is: what to do now or next?
 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:

Text Formatted Code
error_reporting=E_ALL & ~E_DEPRECATED


You probably also want to set

Text Formatted Code
display_errors = Off

while you're at it.

Changing php.ini values requires a restart of the webserver to take effect.

bye, Dirk
 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.
 Quote

All times are EDT. The time is now 05:04 am.

  • 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