Guest Posted June 25, 2009 Share Posted June 25, 2009 So i originally had a language error on about line 112, now i'm getting a new error message that doesn't let my page load that says: Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home4/writerso/public_html/cart/includes/application_top.php on line 288 Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/writerso/public_html/cart/includes/application_top.php on line 288 -I looked through my code and around lines 288 it says: // set the language $language='english'; if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if (!tep_session_is_registered('language')) { tep_session_register('language'); tep_session_register('languages_id'); } include(DIR_WS_CLASSES . 'language.php'); $lng = new language(); if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } $language = $lng->language['directory']; $languages_id = $lng->language['id']; } // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); -And it has english listed up there. but I was wondering what the right replacement code would be. All this language stuff has happened after about 15 hours trying to configure paypal to oscommerce. I thought I was getting close. I still need to figure out where to upload paypals pub. cert to my paypal website standard module in oscommerce. I have a secure site that i believe needs to have the encripted web settings on. I'm really really lost. I know how to make simple websites, but do you think i can configure my pay pal to my oscommerce? haha no! I was supposed to have this site up and running for my boss by last week. I just need to figure out how to get the .pem files uploaded and onto the module in os commerce. But for right now i'm trying to just get the darn thing to load. help me help me help me help me....please! Link to comment Share on other sites More sharing options...
web-project Posted June 25, 2009 Share Posted June 25, 2009 check the full path to your directory for oscommerce shop in configure.php files. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2009 Share Posted June 25, 2009 check the full path to your directory for oscommerce shop in configure.php files. would my configure.php files be in the file manager for my webhost? or the file manager for oscommerce? I am not sure what i'm looking for even if i do find it Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2009 Share Posted June 26, 2009 now after i figured out how to fix the 228 one, i have a "Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home4/writerso/public_html/cart/admin/includes/application_top.php on line 157 Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/writerso/public_html/cart/admin/includes/application_top.php on line 157 and i can't log in. I'm really stuck on all of this, and my boss is really getting on my back. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.