weerd Posted March 3, 2007 Share Posted March 3, 2007 Hi all thanks for a great product and wonderful community support I have this problem - I have tested my store on 2 local machines... I now want to go live into the root folder (not the catalog folder). (also tested it by moving to root of my dir - works fine) I uploaded to my host everything went ok - my admin section is also working. but when i try to view my store I get: Warning: main(includes/languages/english/index.php) [function.main]: failed to open stream: No such file or directory in /home/user/public_html/index.php on line 36 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/index.php' (include_path='.:/usr/lib/php') in /home/user/public_html/index.php on line 36 Please help - I have checked the config files many times over - I just don't understand it anymore - my register_globals is on. I tried changing the config files and still came up with the same thing - got my admin section working so far just can't view my store - when i go to it through the file manager it shows me everything. I also tried moving it to a folder and then changing the config files again - still no go. Re-uploaded - nothing seems to work Maybe I'm overloookin some stupid little detail... Please, please, please help. I've alreasy pulled out most of my hair already, please don't make me go through life bald ;) Link to comment Share on other sites More sharing options...
usernamenone Posted March 3, 2007 Share Posted March 3, 2007 You probably have an incorrect path to your shop in your configrue.php files According to the warning your catalog is in the root of your web site. Is it or is it in a folder called catalog? Link to comment Share on other sites More sharing options...
weerd Posted March 3, 2007 Author Share Posted March 3, 2007 You probably have an incorrect path to your shop in your configrue.php files According to the warning your catalog is in the root of your web site. Is it or is it in a folder called catalog? Hi thanks for your reply.. Well my shop is in the root folder, not in a catalog folder. Although I tried changing it so that it was in a "store" folder and changed my configure files - but I kept getting errors.. Link to comment Share on other sites More sharing options...
usernamenone Posted March 3, 2007 Share Posted March 3, 2007 Your errors are pointing at your index.php files open a fresh copy of oscommerce and upload the catalog/index.php where it belongs and the catalog/includes/languages/english/index.php where it belongs. I think you have them mixed up. but when i try to view my store I get: Warning: main(includes/languages/english/index.php) [function.main]: failed to open stream: No such file or directory in /home/user/public_html/index.php on line 36 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/index.php' (include_path='.:/usr/lib/php') in /home/user/public_html/index.php on line 36 Link to comment Share on other sites More sharing options...
weerd Posted March 3, 2007 Author Share Posted March 3, 2007 Your errors are pointing at your index.php files open a fresh copy of oscommerce and upload the catalog/index.php where it belongs and the catalog/includes/languages/english/index.php where it belongs. I think you have them mixed up. I tried that as well - but keep getting the sam error - now just on a different line. the line it refers to is require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); I checked to where and what it refers to and it all looks ok. I'm going to try a fresh install of osc through fantastico on my cpanel - that worked fine - now i'm going to manually overwrite files (all except the configure.php files) and make the needed changes in the configure.php files - I'll let you know how it goes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.