Larskovitch Posted February 10, 2003 Posted February 10, 2003 My fully functional shop suddenly comes with error messages since my ISP upgraded php to 4.3.0. In the catalog/default-section (storefront) header, i suddenly got an eror message reading: ---------------------- Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/www/htdocs/consumax/) in /www/htdocs/consumax/catalog/includes/header.php on line 30 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. ---------------------- I could make this invisible by changing "true" to "false" in catalog/includes/ header.php : // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'false') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { tep_output_warning(WARNING_SESSION_DIRECTORY_NON_EXISTENT); } elseif (!is_writeable(tep_session_save_path())) { tep_output_warning(WARNING_SESSION_DIRECTORY_NOT_WRITEABLE); } } } ------------------------------------------------------------------------- In the admin section i get the following header: Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /www/htdocs/consumax/admin/includes/languages/dutch.php on line 12 This error however results in more errors as soon as i try to update a product for example: Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/consumax/admin/includes/languages/dutch.php:12) in /www/htdocs/consumax/admin/includes/functions/general.php on line 18 ------------------------------- Does anybody have similar experiences, or does anybody know how to fix those errors? Thnx in advance! Larskovitch Life is good...... but not for me ;-) Al Bundy
Larskovitch Posted February 10, 2003 Author Posted February 10, 2003 Oeps...i forgot to mention i use snapshot 29-09-2002 Life is good...... but not for me ;-) Al Bundy
Guest Posted February 10, 2003 Posted February 10, 2003 http://www.oscommerce.com/forums/viewtopic.php...3279&highlight= HTH
Larskovitch Posted February 10, 2003 Author Posted February 10, 2003 Thnx for your reply, The_Bear.... But somehow problems solved in topic overthere does not concern mine. The order_total.php file is not even close to mine.... The line they suggest changing is not even present in my file. :( Larskovitch Life is good...... but not for me ;-) Al Bundy
Guest Posted March 29, 2003 Posted March 29, 2003 iChange in config.php on the end change define('STORE_SESSIONS', 'l'); define('STORE_SESSIONS', 'mysql'); Greetings John2B
Recommended Posts
Archived
This topic is now archived and is closed to further replies.