Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why index.php can not be edited?


richard05

Recommended Posts

Posted

I downloaded the index.php onto my computer and made an extra copy of original file and then modified the index.php using wordpad. After saving the file and upload to server, it gave me the following error message:

 

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

 

Then I uploaded the "original copy" I saved earlier but it gave me the same error message. Why it happened like this? The "original index.php file" was not even touched!!! Why I still got error message and wasn't be able to access my site any more. Please advice.

 

I also checked the server error log and it says:

 

Premature end of script headers: /public_html/index.php

 

What does it mean? Is this problem fixable or I have to start all over again.

 

Richard

Posted
I downloaded the index.php onto my computer and made an extra copy of original file and then modified the index.php using wordpad. After saving the file and upload to server, it gave me the following error message:

 

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

 

Then I uploaded the "original copy" I saved earlier but it gave me the same error message. Why it happened like this? The "original index.php file" was not even touched!!! Why I still got error message and wasn't be able to access my site any more. Please advice.

 

I also checked the server error log and it says:

 

Premature end of script headers: /public_html/index.php

 

What does it mean? Is this problem fixable or I have to start all over again.

 

Richard

 

 

Hi! Quick sugestion. Post your code so we can see it and let you know where the error may be. Sometimes it is as simple as making sure the page ends with ?>

We help each other, to help ourselves!

Aloha Allison!

 

Liken to wrinkles, the many paths of my life not only altered my destiny, but my appearance.

 

Poetry, the artistry of plying ones soul to the empty canvases of life. A vision without sight. A verse without darkness. Lighting each day with a prose of beauty and love.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...