May 19, 2008

PHP Problems

I am having such a Monday.

The main issue is a PHP script I have running on one of my websites that clients use to enter payroll. I haven't changed the script or database configuration for about 2 years and it has been working just fine.

Then my web host upgraded to PHP 5 (at least that seems to be the most likely cause). Now it has completely 'broke down'

In case there is anyone reading this who is familiar with PHP, and might know what changes in the new version might have done; the error seems to be an array that is created on one page in a form, that is not getting passed to the next page to be processed. This worked perfectly last time they submitted payroll two weeks ago.

UPDATE: It doesn't seem to be passing anything I try to send through from a form, all my values are NULL even those I explicitly set - though if I type them in as a GET on the address line, they do go through.

For now I am pulling out my hair and settling in to do the whole darn thing by hand....

Posted by Vox at May 19, 2008 11:21 AM | work

Vox, if you send the scripts to me I would be happy to take a look at the problem and fix it for you.

Posted by: Mike at May 19, 2008 03:14 PM

Vox, I'd be happy to buy you a glass of wine while Mike looks at the problem. :-)

Posted by: Michelle at May 19, 2008 05:42 PM

I might have taken you up on that if I had gotten this before I left your part of town ;-) That is even the lyric in a new song, "every now and then, every now and then, every girl needs - a good friend and a glass of wi-ine"

Truth is, I am mentally exhausted. I am so spoiled on the process being automated, it really taxed me to have to do it all manually.


Posted by: Vox at May 19, 2008 06:35 PM


Posted by: Michelle at May 20, 2008 09:16 PM