I'm having problems after my web host upgraded the PHP on my account. I don't know what they had on before but lowest version of supported PHP is now 5.3... And now some of my code is broken.
Awaiting advice from you on how to proceed. Please help!
Printable View
I'm having problems after my web host upgraded the PHP on my account. I don't know what they had on before but lowest version of supported PHP is now 5.3... And now some of my code is broken.
Awaiting advice from you on how to proceed. Please help!
Can you see any error messages when you view your web pages in a browser?
Hey, thanks for answering.
No I do not see any error messages. Some of my code just stopped working and I don't know what to do. My website 'friend' abandoned me once this mess started with the web host and I have no one else to ask who knows this stuff.
Can you help me please?
We can try to give you a few pointers but we need to see the error messages first.
First step = get the specific PHP error messages that say what's wrong
Second step = you can then act upon the error messages one by one
You need to turn PHP errors on first though - you can do that in a few ways and it may be that you have them already without realising. Check in your control panel for error logging. Errors may be printed to a master file or they may be generated in a log file inside individual folders where the scripts run. Have a look and report back with your findings.
I have error reports at my web host CP but I'm having problems opening them. They are crashing my browser cuz they are so big. Is there another way? You said something about errors in the browser?
Maybe. Do you have access to your php.ini file? You can normally turn errors on there and see them in your browser;if you can, pop that line in (or check if the line is there but set to 'off', and if so, change it to 'on'), save and view the offending page in a browser.Code:display_errors = on
No I do not have access to my php.ini file. I tried to make one but my whole site went down so I guess that was a no-no, right?
I feel like all my doors are closing. Is there anything else I can change or it seems like my website is doomed to die.
The good thing is that errors are being logged. If the file size of your CP error log is a problem, try asking your web host to clear it or extract the last few lines for you and send it on via email.
You might also have the option of setting up reporting via an .htaccess file. Can you find out if you can use .htaccess?
I really appreciate your helping me with this. I don't have answers yet but I have emailed my host support desk for assistance with the error report and htaccess. I thank you for your patience and will be back soon.
No problem. Let us know what your web host says.