calafas Posted October 28, 2006 Posted October 28, 2006 hello everyone i have tried to install the oscommerce i have successull dispatch the five steps but after that : Warning: session_start() [function.session-start]: open(SESSION_WRITE_DIRECTORY\sess_99f9590b834ddb4f3ab67e62f9c2a41d, O_RDWR) failed: No such file or directory (2) in C:\apachefriends\xampp\htdocs\catalog\includes\functions\sessions.php on line 97 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in C:\apachefriends\xampp\htdocs\catalog\includes\application_top.php on line 285 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;c:\apachefriends\xampp\php\pear\') in C:\apachefriends\xampp\htdocs\catalog\includes\application_top.php on line 285 Warning: Unknown: open(SESSION_WRITE_DIRECTORY\sess_99f9590b834ddb4f3ab67e62f9c2a41d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0 I got the above message
osc-test Posted November 4, 2006 Posted November 4, 2006 hi all, i'm having pretty the same problem! hope you can help me asap bcs if i don't get it working until next week i will start to think this software is big crap! i've tried installing OSC serveral times, with XAMPPlite with XAMPP full edition, with PHP4, with PHP5 and so on, but no success! of course i've used the search before posting here, but there ain't any useful help. if i should have overlooked some problem-resolving answer please post links here. regards, osc-test ---------------------------------------------------------------------------------------------------------------------------------- Warning: session_start() [function.session-start]: open(SESSION_WRITE_DIRECTORY\sess_2c2108eb3f369eba9646d401518eeaba, O_RDWR) failed: No such file or directory (2) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php:97) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php:97) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Warning: Unknown(): open(SESSION_WRITE_DIRECTORY\sess_2c2108eb3f369eba9646d401518eeaba, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0 ---------------------------------------------------------------------------------------------------------------------------------- PLZ. HELP !!! T I A !!!
Guest Posted November 4, 2006 Posted November 4, 2006 hi all,i'm having pretty the same problem! hope you can help me asap bcs if i don't get it working until next week i will start to think this software is big crap! i've tried installing OSC serveral times, with XAMPPlite with XAMPP full edition, with PHP4, with PHP5 and so on, but no success! of course i've used the search before posting here, but there ain't any useful help. if i should have overlooked some problem-resolving answer please post links here. regards, osc-test ---------------------------------------------------------------------------------------------------------------------------------- Warning: session_start() [function.session-start]: open(SESSION_WRITE_DIRECTORY\sess_2c2108eb3f369eba9646d401518eeaba, O_RDWR) failed: No such file or directory (2) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php:97) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php:97) in C:\x\xampp\htdocs\myshop\catalog\includes\functions\sessions.php on line 97 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Warning: Unknown(): open(SESSION_WRITE_DIRECTORY\sess_2c2108eb3f369eba9646d401518eeaba, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0 ---------------------------------------------------------------------------------------------------------------------------------- PLZ. HELP !!! T I A !!! How can it be crap when so many of us all have it running fine, maybee you should learn what the errors are before starting to call something amazing you are getting for free. I wish i could help you with all your errors but i dont no some of them although if you type them in on google im sure you can find out what they mean
♥Vger Posted November 4, 2006 Posted November 4, 2006 All of the later errors are caused by the first. The first is caused by not selecting to store sessions in the database when you installed osCommerce. Edit both configure.php files so that the last line of both files reads 'mysql' where indicated. Vger
osc-test Posted November 5, 2006 Posted November 5, 2006 hi Vger, first of all sorry for my unfriendly first posting. thank you for your recommendation regarding modifying last line of configure.php, now the most warnings disappeared, but i still keep getting error messages regarding language! -------------------------------------------------------------------------------------------------------------------------------------------- Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 -------------------------------------------------------------------------------------------------------------------------------------------- in the meantime i've tried installing osc on linux, after installing and configuring mysql, php, phpmyadmin separately, but i get this fatal error regarding langunge on linux too :blink: please help... i think i will love osc :D regards, test
bill110 Posted November 5, 2006 Posted November 5, 2006 hi Vger,first of all sorry for my unfriendly first posting. thank you for your recommendation regarding modifying last line of configure.php, now the most warnings disappeared, but i still keep getting error messages regarding language! -------------------------------------------------------------------------------------------------------------------------------------------- Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 -------------------------------------------------------------------------------------------------------------------------------------------- in the meantime i've tried installing osc on linux, after installing and configuring mysql, php, phpmyadmin separately, but i get this fatal error regarding langunge on linux too :blink: please help... i think i will love osc :D regards, test check your configure.php file again and make sure this line looks like this. looks like an additional foward slash somewhere define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
osc-test Posted November 5, 2006 Posted November 5, 2006 hi bill110, i've checked that line several minutes ago, but it seems to be okay. i guess the variable with value "english" or "german" is missing... because it has to be 'includes/languages/english.php' or 'includes/languages/german.php" please help me to find out why this variable is not delivered? i think the bold marked part is most important. Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 regards
bill110 Posted November 5, 2006 Posted November 5, 2006 hi bill110,i've checked that line several minutes ago, but it seems to be okay. i guess the variable with value "english" or "german" is missing... because it has to be 'includes/languages/english.php' or 'includes/languages/german.php" please help me to find out why this variable is not delivered? i think the bold marked part is most important. Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;C:\x\xampp\php\pear\') in C:\x\xampp\htdocs\myshop\catalog\includes\application_top.php on line 285 regards It apparently constructs the path using the define_language.php file using the paths in the configure files. Did you try to reinstall using the settings vger suggested? And did you get your copy of osCommerce from this website or somewhere else? My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
osc-test Posted November 5, 2006 Posted November 5, 2006 hi there, of course i have installed osc with the option to store session data to database. (but this has nothing do do with my current language problem i think) of course i've downloaded the *tgz file from here (official oscommerce website). after that i've extracted the tarball file on the same server where the file was downloaded. somehow this define_language.php script doesn't work... i guess... regards
bill110 Posted November 5, 2006 Posted November 5, 2006 hi there,of course i have installed osc with the option to store session data to database. (but this has nothing do do with my current language problem i think) of course i've downloaded the *tgz file from here (official oscommerce website). after that i've extracted the tarball file on the same server where the file was downloaded. somehow this define_language.php script doesn't work... i guess... regards Does your catelog/includes/application_top.php line 285 look like this? require(DIR_WS_LANGUAGES . $language . '.php'); I got mine to give me the same error when I changed it to require(DIR_WS_LANGUAGES '.php'); My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
osc-test Posted November 5, 2006 Posted November 5, 2006 hi, yes, the line 285 looks like this: require(DIR_WS_LANGUAGES . $language . '.php'); if i change this to require(DIR_WS_LANGUAGES . 'german.php'); it brings another error: Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /srv/www/htdocs/myshop/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages//index.php' (include_path='.:/php/includes') in /srv/www/htdocs/myshop/catalog/index.php on line 33 the solution can't be to "hack" manually every php file :( regards
bill110 Posted November 5, 2006 Posted November 5, 2006 the solution can't be to "hack" manually every php file :( regards I was'nt really trying to do that. It appeared that on the install something did'nt get written correctly by the install. That's the reason i asked about if you got the program from here. That's also why my previous post. Thought it may have been missing. one last note. I downloaded the windows package that was in zip format. Also it was an earlier update version. If you want to try the one I have PM me and I will try to e-mail it to you. it's 1.8meg. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
osc-test Posted November 5, 2006 Posted November 5, 2006 just as an impulse: now i tried to install osCommerce 3.0 Alpha 3 and it says: register_globals On x althought it's on! :blink: maybe that's the problem? but if it's the case, i guess i wouldn't be able to install osCommerce 2.2 ?!
osc-test Posted November 5, 2006 Posted November 5, 2006 unfortunately the other version won't work too :( i keep getting exactly the same erorr like before. gonna have to look after some commercial e-commerce solutions bcs. this is not acceptable :( remember: i'm not the only one user having this issues! just search for "line 285" in this subforum.... anyway, thank you for taking the time for trying to help me. regards
osc-test Posted November 6, 2006 Posted November 6, 2006 finally, IT WORKS!!! i just imported the database manually using phpmyadmin and then run Automatic Configuration without importing database catalog again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.