waynef Posted December 12, 2005 Posted December 12, 2005 D'oh Im very stupid I just lost my index.php file and now i cant access the page, is there anywhere i can download a default copy of the file???
PHP_Newb Posted December 12, 2005 Posted December 12, 2005 D'oh Im very stupid I just lost my index.php file and now i cant access the page, is there anywhere i can download a default copy of the file??? Should have it in the Zipped up file of OS Commerce. Just go and Download it and copy to your directory. That should do it. its in the catalog directory
PhpNurd Posted December 12, 2005 Posted December 12, 2005 Just upload and overwrite ur old index.php file and always remember to keep a copy of files before editing and one original file zipped. This is what I do. Saves me time :)
waynef Posted December 12, 2005 Author Posted December 12, 2005 Cant see anything in my catalog folder i've really screwed up I've lost it in both the 'admin' & 'catalog'..any ideas??
Kjolebutikken Posted December 12, 2005 Posted December 12, 2005 Cant see anything in my catalog folder i've really screwed up I've lost it in both the 'admin' & 'catalog'..any ideas?? If you downloaded to your pc first, you will have it there, if not, download the program again and unzip and copy the files you need to your fpt again. I have a copy of all files on my harddisk now, which I can collect files from when I screw up:-) Best regards Kjolebutikken Best regards Kjolebutikken
PHP_Newb Posted December 12, 2005 Posted December 12, 2005 Step 1. Get OSCommerce download Step2. Open up the zipped folder and go into Catalog folder and find index.php Step3. Copy this onto your desktop or wherever and upload to web space /catalog directory via FTP delete from desktop after uploading Step4. Go into catalog/admin folder and find that index.php file copy to desktop and then upload it to your space/catalog/admin directory Step 5. Always keep copies of your work and back it up often B)
waynef Posted December 12, 2005 Author Posted December 12, 2005 Excellent thank you very much guys back to normal now :-)
PhpNurd Posted December 12, 2005 Posted December 12, 2005 Remember to take the backups :) Maybe on the server itself ... in another folder, just copy ur working folder in a backup folder.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.