I just upgraded my Xampp installation to 1.7.4
I had a working script (jquery calling PHP script and showing the returned value).
After upgrade, my jquery is getting the result correctly, but in addition to the results, there are also some warnings that are returned, hence stopping my script to show the result (I checked in firebug). Here are the warnings:
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\php\PEAR\Config.php on line 80
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\php\PEAR\Config.php on line 166
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\php\PEAR\Config\Container.php on line 111
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\phil\batteries\includes\class.db.php on line 73
["Motor Cycle ","Scooter","Personal Watercraft ","Snowmobile","ATV","Ride-on Mower","Utility Vehicle"]
Keeping in mind the last line is the result being returned. but due to warnings, results are not populated. What can be the problem? I dont want to just off the error_reporting.
thanks
Ok here was the deal. The problem was in the PEAR files as mentioned in the warnings.
I just changed the files mentioned in the question. and removed
=&
to
=
and my script is up again. There were three warnings for PEAR files i.e