Page 1 of 1

serveral errors about deprecaded functions?

PostPosted: 13. March 2011 21:31
by DC80
Hi all,

I had an login script that was functioning fine. Suddenly it stopped working. I looked in the Apache logs and found this:

[Sun Mar 13 21:23:30 2011] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in D:\\xampp\\php\\PEAR\\Config.php on line 80, referer: http://localhost/
[Sun Mar 13 21:23:30 2011] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in D:\\xampp\\php\\PEAR\\Config.php on line 166, referer: http://localhost/
[Sun Mar 13 21:23:30 2011] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in D:\\xampp\\php\\PEAR\\Config\\Container.php on line 111, referer: http://localhost/

I doubt it is my fault but i want to know for sure. Please help.

Re: serveral error about deprecaded functions?

PostPosted: 13. March 2011 21:48
by xfsgpr
You haven't said anything about what CMS package you are using and also what is the version of your XAMPP. Please note: if you are using Joomla 1.6.1 than you are likely to get errors if you try to install it on Xampp 1.7.4. This is documented on Joomla website:

<http://docs.joomla.org/Use_Joomla!_1.6_on_your_own_computer>

and here:

<http://community.apachefriends.org/f/viewtopic.php?f=16&t=44320|>

I must say that I have not had any problems on my test machine using Windows XPSP3. It looks like some people's machines was configured differentlly than test system.

hth

Re: serveral error about deprecaded functions?

PostPosted: 14. March 2011 12:27
by DC80
xfsgpr wrote:You haven't said anything about what CMS package you are using and also what is the version of your XAMPP.


I'm very sorry. I'm using xampp 1.7.4 and i'm not using any CMS. I was just building a login script for my own website. So, no joomla or any other cms/framework.

It seems that i have lost my connection to MySQL as well, phpmyadmin is working fine though.