Site not working after renamed index.php

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
flaviamile
500 Command not understood
Posts: 1
Joined: 2015-04-03 08:18
First name: Flavia

Site not working after renamed index.php

#1 Post by flaviamile » 2015-04-03 08:24

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

User avatar
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

#2 Post by audiopro » 2015-04-03 13:10

You explanation suggests that there is an error in your PHP code?
Morecambe - Where the sun goes at night

minstudenterkorsel
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

#3 Post by minstudenterkorsel » 2015-06-19 09:07

... 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.
Best regards
Christian Studenterkørsel

edenboutique
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

#4 Post by edenboutique » 2015-06-23 19:16

Check file termination and permissions.

Post Reply