lisameansbusiness Posted April 11, 2009 Posted April 11, 2009 i just installed Oscommerce and i get the following error messages can someone please help me also how do you change the look of your stor to look more like your website? Please help me Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\php\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\php-4.3.10;c:\php5;\\nawinfs05\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//nawinfs05/home/users/web;.;./) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:169) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:169) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 102
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 You mean in catalog admin function then sesion.php then change it in that file?
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 i am so confused i have no idea how to read or write php when i look at the code i dont even see /tmp anywhere
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 they are telling me something is wrong with this code function tep_session_save_path($path = '') { if (!empty($path)) { return session_save_path($path); } else { return session_save_path(); } }
Guest Posted April 11, 2009 Posted April 11, 2009 i just installed Oscommerce and i get the following error messages can someone please help me also how do you change the look of your stor to look more like your website? Please help me Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\php\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\php-4.3.10;c:\php5;\\nawinfs05\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//nawinfs05/home/users/web;.;./) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:169) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:169) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 102 Is your domain name lisameanbusiness or lisameansbusiness? If the latter, check the paths entered in your configure.php files.
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 when i click on the catalog button those are the errors i get and when i click the administraion tools button i get nothing on the page but these errors. I dont know how to read or write php so....i am really confused. These are the errors i get when i click administraion tools Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\php\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\php-4.3.10;c:\php5;\\nawinfs05\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//nawinfs05/home/users/web;.;./) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 165 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\general.php on line 22 I can look at the code i have an editor but i cant figure out whats wrong with the code
Guest Posted April 11, 2009 Posted April 11, 2009 You mean in catalog admin function then sesion.php then change it in that file? The suggestion is that you go to your osCommerce Admin panel, click on Configuration, then click on Sessions. Select Session Directory and edit it to read tmp instead of /tmp.
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 ill try that this is part of the code they are telling me is wrong in the administrative tool two error messages point me to this part of the code if ($sane_session_id == false) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } return session_start(); } function tep_session_register($variable) { if (PHP_VERSION < 4.3) { return session_register($variable); } else { if (isset($GLOBALS[$variable])) { $_SESSION[$variable] =& $GLOBALS[$variable]; } else { $_SESSION[$variable] = null; } }
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 i dont know where the admin panel is. i dont understand what your saying the file admin? all i have is files.
Guest Posted April 11, 2009 Posted April 11, 2009 i dont know where the admin panel is. i dont understand what your saying the file admin? all i have is files. Assuming this is a fresh install, I'd be tempted to delete the files and start over. If installed correctly on a properly configured server, you should end up at the admin panel (the URL will be something like http://yourdomain.com/catalog/admin/index.php).
Guest Posted April 11, 2009 Posted April 11, 2009 i dont know where the admin panel is. i dont understand what your saying the file admin? all i have is files. See http://www.oscommerce.info/docs/english/c_...d_upgrades.html
Jack_mcs Posted April 11, 2009 Posted April 11, 2009 If your host is telling you there is a problem with the code, ignore them on this one - the are incorrect. What others are telling you to do is change a setting in the admin section of your shop. If your shop is located http://your_site_name.com/catalog/, then your admin is most likely at http://your_site_name.com/catalog/admin/. Be sure to substitute your domain name for "your_site_name.com" and remove the catalog if you don't use it, although the error shows you do. Once you are in your admin section, notice the left column has links in it. Click on the one near the top named Configuration. That will display more links. Click on the one named Session. That will change the text displayed on the right. Notice the one with the /tmp/ in it. Click on edit for that one and type in /the_full_path/tmp/. To get the correct text for "the_full_path," click on the Modules link in the left column. Notice where it says "Module Directory:" in the right column. The text that follows that is your full path. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 i see configurations but i dont have sessions. Deleting this and starting over would take hours it took two hours to upload all these files to my host.
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 your right my admi is at http://your_site_name.com/catalog/admin/. but when i go there i see nothing but error messages. these are the error messages i get from here Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\php\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\php-4.3.10;c:\php5;\\nawinfs05\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//nawinfs05/home/users/web;.;./) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 165 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\sessions.php:165) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\admin\includes\functions\general.php on line 22 and my shop is located http://your_site_name.com/catalog/, but i get three error messages at the top these are them. Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:\windows\temp\;c:\tmp\;c:\php\sessiondata\;c:\php\uploadtemp;c:\php\4;c:\php\5;c:\php\extras;c:\php-4.3.10;c:\php5;\\nawinfs05\home\users\web;c:/windows/temp/;c:/tmp/;c:/php/sessiondata/;c:/php/uploadtemp;c:/php/4;c:/php/5;c:/php/extras;c:/php-4.3.10;c:/php5;//nawinfs05/home/users/web;.;./) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 158 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:158) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 91 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php:158) in \\nawinfs05\home\users\web\b1293\ipw.lisameanbusiness\catalog\includes\functions\sessions.php on line 91 so i cant see the thing on administative tool that i should all i see is error messages
Guest Posted April 11, 2009 Posted April 11, 2009 i see configurations but i dont have sessions. Deleting this and starting over would take hours it took two hours to upload all these files to my host. Can you post your URL? What version of osCommerce did you install? Who is your host?
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 http://www.secretloveparties.com/catalog that is the shop http://www.secretloveparties.com/catalog/admin This is the administrative tool This is the version oscommerce-2.2rc2a and im using ipower web
Guest Posted April 11, 2009 Posted April 11, 2009 http://www.secretloveparties.com/catalog that is the shophttp://www.secretloveparties.com/catalog/admin This is the administrative tool This is the version oscommerce-2.2rc2a and im using ipower web If you think you might have messed up on the install, just start over here http://www.secretloveparties.com/catalog/install/
lisameansbusiness Posted April 11, 2009 Author Posted April 11, 2009 okay ill try that could those messages be due to setting permission?
Guest Posted April 11, 2009 Posted April 11, 2009 okay ill try that could those messages be due to setting permission? You could also try this approach: http://www.oscommerce.com/forums/lofiversion/i...hp?t301132.html
Jack_mcs Posted April 11, 2009 Posted April 11, 2009 your right my admi is at http://your_site_name.com/catalog/admin/. but when i go there i see nothing but error messages. these are the error messages i get from here Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the so i cant see the thing on administative tool that i should all i see is error messages It's the same reason. Your shop is set to use an invalid path, as far as the server is concerned, and it won't let you continue. The only way to fix that would be to go through your database which you would not be able to do at this point due to your lack of experience. Doing a new install probably won't help since the path will still be set to an invalid location. If your host will do it for you, you could ask them to make that change in the database, although most probably won't. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.