Suddenly all my php pages stopped working.
http://gfxindia.com/index.php - not working
http://gfxindia.com/contact.php - not working
But html works.
http://gfxindia.com/news_readme.html - working
http://gfxindia.com/readme.html - working.
What might be the problem. Please help.
What did you do when this happend ?
Eather it is something you have done (mod, change of code or similar) or perhaps your host changed something in the database, upgraded or even removed?
No.
No one did anything.
Read this - http://www.simplemachines.org/community/index.php?topic=98534.0
Please help.
Seems like your index.php and contact.php are just empty files right now.
Look if the permissions to the files is changed by your host, and try to upload a backup (if any) of the files and see if the forum return
Not only the forum
try http://gfxindia.com/smf/index.php
http://gfxindia.com/tptest/index.php
Only html files and image file, zip etc are working.
I just downloaded your index.php and it is empty, you have nothing in the file to load at all.
If you can, try and see if the permisions to the PHP files are changed, perhaps your host have upgraded the database or something and that way the settings and permissions is changed.
But there is no content in the files what so ever, and there for nothing to load from them
Check the files through FTP and see what permissions you have on the files
Yes checking from the cpanel. And they do have content. When you view sources, they show only excecuted html.
Should i do anything with the database.
BTW, Did you go thru the link i gave you. He said me to Stop/Start PHP instance. How to do that in CPanel.
I have no idea how to restart PHP..
But if you say there is content in your files and i cant see that content, im sure it it is a permission error you have. If the file wont load up for me, i havent any permissions to it. (empty for me)
Try and change the permissions manually trough your cpanel and see if it helps
They are set to 777 G6.
Maybe anyone who knows to restart PHP may help me.
And hey see this
http://gfxindia.com/smf/index.php
http://gfxindia.com/tptest/index.php
These are working but not my main forum.
None of the links work Darcman, they just give a blank page with a download of your index.php file.
Just like on SMF forums a while back.
Found this on Google.
QuotePHP Security
Submitted by eth00 on Sat, 2005-04-02 18:22. Beginner information | Security How-To's and Guides
Php by nature is unfortunatly very insecure by default. There are many ways to help make it more secure for a shared hosting enviroment by running modules like mod_security. Another way to do this is by disabling the actual functions that many of these exploits call on. This can be done by simply editing the php.ini and restarting apache. Though you should not have any trouble with the disabled functions if webpages do start to have problems you can always add the function back. Most times you will get an error on a webpage that will tell you exactly which is causing the problem.
The link to the site
http://www.eth0.us/php
Couldn't understand that
In order to restart the php from the cpanel, you have to edit your php.ini file
Im not in to this kind of things, so i will let this go to some one who knows the way arround so i dont give you wrong things and break every thing for you :-X
PHP isn't something really started by itself. It is loaded with the webserver like apache or IIS. Ask your host to do it for you, or have them look at your problem. You also might want to look at your Settings.php files and make sure all the info is there.
OK
but no php file is loading. So the problem is not with settings.php
Definately sounds like your host needs to fix it then.