Thatguy101 Posted January 19, 2009 Posted January 19, 2009 my public_html/index.php is completly screwd up. Is there a way I can get the default coding back?
FIMBLE Posted January 19, 2009 Posted January 19, 2009 use a new copy from the downloaded zip Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
sLaV- Posted January 19, 2009 Posted January 19, 2009 Download the latest version and copy the index.php file over
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 Download the latest version and copy the index.php file over I did as you said and now I get this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. 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. -------------------------------------------------------------------------------- Apache/1.3.41 Server at hollowfingerboards.com Port 80
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 Also idk if this helps, but my oscommerce is downloaded in the root
juniorprg Posted January 19, 2009 Posted January 19, 2009 did you install oscommerce by urself or by your host in your ftp you should be able to see httpdocs folder, your oscommerce should be installed in there or you can just tell me where you installed l8ter
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 did you install oscommerce by urself or by your host host
juniorprg Posted January 19, 2009 Posted January 19, 2009 if you havnt done any custom work on it, then does it hurt to uninstall through the hosting company and reinstall.... l8ter
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 if you havnt done any custom work on it, then does it hurt to uninstall through the hosting company and reinstall.... Ya I did quite a bit of custom work on it, so re-installing the whole thing would be quite a pain.
juniorprg Posted January 19, 2009 Posted January 19, 2009 make a copy of your existing files, then check your config.php files in admin and in catalog, then which files did you made changes, go one by one, thats the best way, sorry man can't help unless you tell me what the error or problem is l8ter
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 make a copy of your existing files, then check your config.php files in admin and in catalog, then which files did you made changes, go one by one, thats the best way, sorry man can't help unless you tell me what the error or problem is I was messing around with the index.php meta stuff. And then it got completly screwed up and I put a new index.php as the guy a few posts before me said. and now I get Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. 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. -------------------------------------------------------------------------------- Apache/1.3.41 Server at hollowfingerboards.com Port 80
juniorprg Posted January 19, 2009 Posted January 19, 2009 message me your link , dont post it here l8ter
juniorprg Posted January 19, 2009 Posted January 19, 2009 its an internal error, i am thinking some code misplaced, so you only replaced your index.php with a new one right...nothing else has changed, do you have a copy of your old php file?? if so replace it back and see if what error you get...or better do a file comparison l8ter
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 its an internal error, i am thinking some code misplaced, so you only replaced your index.php with a new one right...nothing else has changed, do you have a copy of your old php file?? if so replace it back and see if what error you get...or better do a file comparison Is there any other soultion because I dont have my old index.php, and ya that was the only file replaced
juniorprg Posted January 19, 2009 Posted January 19, 2009 go to your hosting control panel and try to read the error from its log file, or a solution is make a backup of your work and reinstall oscommerce l8ter
Thatguy101 Posted January 19, 2009 Author Posted January 19, 2009 i see you have fixed the issue Ya thanks a bunch!
juniorprg Posted January 19, 2009 Posted January 19, 2009 could you tell me how you fixed it, for my info l8ter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.