mantinieks Posted July 30, 2004 Posted July 30, 2004 Hello Friends! My name is Niclas and I?m from Sweden, you?ll have to excuse my poor english.. I hav a few questions: 1, when I uploaded OSC I d?d?nt uppload the "extras" dir, it works anyway but what is the "extras"? 2, How to install my Sedish lang file? I have downloaded it but i?m not sure how to get i to work? 3, Password? My Admin account has?nt any log on with password.. should it be like that? 3, Are there any skins or templates to download and if, were can I find them? Thank you in advance for your kind answers Best Regards Niclas Mantinieks, Stockholm, Sweden
mantinieks Posted July 30, 2004 Author Posted July 30, 2004 Hi again! Now I?m a little bit closer, I have the Swedish flag and it is possible to Choose the lang. BUT I get this when I try to get in the shop, somethings wrong and I dont understand what. Warning: main(includes/languages/svenska/index.php): failed to open stream: No such file or directory in /home/s/saltvatt/www/butiken2/index.php on line 33 Warning: main(includes/languages/svenska/index.php): failed to open stream: No such file or directory in /home/s/saltvatt/www/butiken2/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages/svenska/index.php' (include_path='./:/usr/local/lib/php') in /home/s/saltvatt/www/butiken2/index.php on line 33 Please help me!!!! Ragrds Niclas
mdoyle Posted July 30, 2004 Posted July 30, 2004 Hi Niclas, I am getting the exact same error. Everything was fine until I upgraded PHP to version 4.3.8, now I get this error. Here is the work-around I have found: the following files have to have the relative paths path replace with the absolute path: osCommerce/includes/application_top.php osCommerce/includes/configure.php osCommerce/admin/application_top.php osCommerce/admin/include/configure.php The file application_top.php it includes/ needs to have line 29 changed from this: require('includes/configure.php'); to this: require('/home/ugcircuit/public_html/osCommerce/includes/configure.php'); The file application_top.php at admin/includes/ needs to have the same line changed, but add admin into the path. The file configure.php in includes/ needs to have line 28 changd from this: define('DIR_WS_INCLUDES', 'includes/'); to this: define('DIR_WS_INCLUDES', '/home/ugcircuit/public_html/osCommerce/includes'); Those line numbers may not be exactly the same for you. Once I made those changes, all worked fine. This is not perfect for me, as I am concerned with potentially dozens of new sites on the server every month and I would rather not have to do this. I wonder if anyone knows of a server-wide fix for this issue? Or is it possible an installation option that am I missing? Regards, matt
mantinieks Posted July 30, 2004 Author Posted July 30, 2004 Hi Matt, Thank you for your answer, but I can?t get it t work... Now i get this: Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/s/saltvatt/www/butiken2/catalog/includes/languages/swedish.php on line 22 Warning: main(includes/languages/swedish/index.php): failed to open stream: No such file or directory in /home/s/saltvatt/www/butiken2/catalog/index.php on line 33 Warning: main(includes/languages/swedish/index.php): failed to open stream: No such file or directory in /home/s/saltvatt/www/butiken2/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages/swedish/index.php' (include_path='./:/usr/local/lib/php') in /home/s/saltvatt/www/butiken2/catalog/index.php on line 33 What to do? Regards Niclas
241 Posted July 31, 2004 Posted July 31, 2004 It is refering to a line similar to this in your catalog/includes/languages/swedish.php @setlocale(LC_TIME, 'en_UK.ISO_8859-1'); the above line is taken from english.php locate the line similar to above and post it, the line probably will not say en_UK No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.