I needed to make a change to a current index.php file. Then, I've downloaded it locally, i've renamed as test.php, made my changes, and uploaded.
Then, I've verified that the page was looking as I expected, and it was.
At this point, instead of making a replace of index.php, I've first renamed in site index.php as indexold.php, and then renamed test.php as index.php.
Since that moment, the entire site is not working anymore. It says simply: cannot show this page.
Plase, can you help me?
Flavia
Site not working after renamed index.php
Moderator: Project members
-
- 500 Command not understood
- Posts: 1
- Joined: 2015-04-03 08:18
- First name: Flavia
- audiopro
- 226 Transfer OK
- Posts: 295
- Joined: 2013-03-23 12:55
- First name: Keith
- Location: Morecambe, England
Re: Site not working after renamed index.php
You explanation suggests that there is an error in your PHP code?
Morecambe - Where the sun goes at night
-
- 500 Syntax error
- Posts: 15
- Joined: 2015-05-27 08:24
- First name: Christian
- Last name: Studenterkorsel
Re: Site not working after renamed index.php
... and check that you really renamed it: index.php
Perhaps you uploaded into the wrong folder! It should be httpdocs / public_html / etc.
If it's coursed by PHP, then check your variables and paths.
Perhaps you uploaded into the wrong folder! It should be httpdocs / public_html / etc.
If it's coursed by PHP, then check your variables and paths.
Best regards
Christian Studenterkørsel
Christian Studenterkørsel
-
- 500 Command not understood
- Posts: 1
- Joined: 2015-06-23 19:13
- First name: Carl
- Last name: Dany
Re: Site not working after renamed index.php
Check file termination and permissions.