PDA

View Full Version : Scripts stopped working properly


Trainacomin
9-28-05, 02:31 AM
I've been on vacation for a couple of weeks and I come back to find my scripts not working properly. Has something changed? I searched the forums but can't find anything.
I have one mysql insertion script that is not inserting into all the rows it is supposed to and I have one that is executing the first function it comes to not the one called in the URL. I have gone back and tested old backups of these scripts that I know ran properly in the past and they do the same thing as what's on my site now.
Any ideas?
Thanks!
Clint

Miran
9-28-05, 05:58 AM
Can u be more specific?
Like what kind of insertion does the script do? Or maybe paste a part of the code?
Or just a bit more specific explanation about your problem?

omega-systems
9-28-05, 08:07 AM
Show your scripts please :)

RTH10260
9-29-05, 09:12 PM
I've been on vacation for a couple of weeks and I come back to find my scripts not working properly. Has something changed? I searched the forums but can't find anything.
I have one mysql insertion script that is not inserting into all the rows it is supposed to and I have one that is executing the first function it comes to not the one called in the URL. I have gone back and tested old backups of these scripts that I know ran properly in the past and they do the same thing as what's on my site now.
Any ideas?I expect you could have missed this announcement on the change of the register_globals parameter in php.ini.
http://forum.powweb.com/showthread.php?t=55379

Two ways to fix: adjust the script in a secure way (preferred), or get your own private copy of php.ini and adjust as required (fastest in short term, prone to future errors when Powweb adjusts the defaults).