Welcome to Geeklog Sunday, June 16 2019 @ 02:56 pm EDT

Geeklog Forums

new user registration fails


Status: offline

remy

Forum User
Full Member
Registered: 09/06/03
Posts: 148
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?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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:

PHP Formatted Code
error_reporting=E_ALL & ~E_DEPRECATED


You probably also want to set

PHP 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

Status: offline

remy

Forum User
Full Member
Registered: 09/06/03
Posts: 148
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.

All times are EDT. The time is now 02:56 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