Page 1 of 1

Need help badly

Posted: Mon Nov 24, 2008 10:45 am
by CodeMama
I have a major problem, maybe my pages got sabotaged even. I walked out of work one day with a full php app working came back two days later and its not working, if you hit for example "view order" it just goes to a blank page or logs you out, I have spent a week trying to find the problem with no luck at all, I don't understand what happened over last weekend, and this work order system is thousands upon thousands of lines of code, which WORKED perfectly as of Nov 13 but by the 17th it was hosed...any ideas how this can happen..code is code right it doesn't change unless its been tampered with and now I'm searching for a needle in the haystack here and my job could be on the line YIKES....help please, the pages are big but I would be happy to email the code to someone that could help, I have gone in the db and checked for not null fields even set them all to be ok with null still nothing....my job is on the line and I am drowning someone please have pity on me...

Re: Need help badly

Posted: Mon Nov 24, 2008 10:47 am
by aceconcepts
Has your PHP version been upgraded?

Re: Need help badly

Posted: Mon Nov 24, 2008 10:52 am
by CodeMama
Not that I'm aware of, I really am not a server admin type any idea of what questions I should be asking the host when I contact them?

Re: Need help badly

Posted: Mon Nov 24, 2008 10:54 am
by aceconcepts
I would imagine it'd be an upgrade of PHP versions typically from 4 to 5.

This problem happened to me not so long ago. My ISP upgraded without telling me and some features of site didnt work.

Re: Need help badly

Posted: Mon Nov 24, 2008 11:23 am
by CodeMama
Well on my local copy I finally got an error:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php on line 57

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php on line 65

I don't know why it does this on my local server yet on the online version it just gives a blank page

Re: Need help badly

Posted: Mon Nov 24, 2008 11:28 am
by aceconcepts
do u know what version of PHP you're running?

Re: Need help badly

Posted: Mon Nov 24, 2008 11:29 am
by CodeMama
It says: 5.1.6-20.el4_6.1.P1MH1

Re: Need help badly

Posted: Tue Nov 25, 2008 4:34 am
by aceconcepts
Ask your ISP/hostin company if they've upgraded the PHP version.