Need help badly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CodeMama
Forum Newbie
Posts: 9
Joined: Fri Nov 07, 2008 12:28 pm

Need help badly

Post 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...
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Need help badly

Post by aceconcepts »

Has your PHP version been upgraded?
CodeMama
Forum Newbie
Posts: 9
Joined: Fri Nov 07, 2008 12:28 pm

Re: Need help badly

Post 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?
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Need help badly

Post 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.
CodeMama
Forum Newbie
Posts: 9
Joined: Fri Nov 07, 2008 12:28 pm

Re: Need help badly

Post 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
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Need help badly

Post by aceconcepts »

do u know what version of PHP you're running?
CodeMama
Forum Newbie
Posts: 9
Joined: Fri Nov 07, 2008 12:28 pm

Re: Need help badly

Post by CodeMama »

It says: 5.1.6-20.el4_6.1.P1MH1
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Need help badly

Post by aceconcepts »

Ask your ISP/hostin company if they've upgraded the PHP version.
Post Reply