icemanarh Posted November 20, 2009 Posted November 20, 2009 So last night when I left everything was working fine. I come back in this morning and everything went haywire. I am getting multiple errors on the admin and catalog side. I have been looking to see what the problem could be and have come up with no useful ideas. The site is www.a1telecom.com I can't even access the admin site The admin errors are this... Warning: error_log() [function.error-log]: open_basedir restriction in effect. File(/var/log/www/tep/page_parse_time.log) is not within the allowed path(s): (/home/ateleco/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: error_log(/var/log/www/tep/page_parse_time.log) [function.error-log]: failed to open stream: Operation not permitted in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ateleco/public_html/shop/admin/includes/classes/logger.php:49) in /home/ateleco/public_html/shop/admin/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ateleco/public_html/shop/admin/includes/classes/logger.php:49) in /home/ateleco/public_html/shop/admin/includes/functions/sessions.php on line 97 Warning: error_log() [function.error-log]: open_basedir restriction in effect. File(/var/log/www/tep/page_parse_time.log) is not within the allowed path(s): (/home/ateleco/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: error_log(/var/log/www/tep/page_parse_time.log) [function.error-log]: failed to open stream: Operation not permitted in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: Cannot modify header information - headers already sent by (output started at /home/ateleco/public_html/shop/admin/includes/classes/logger.php:49) in /home/ateleco/public_html/shop/admin/includes/functions/general.php on line 25 Warning: error_log() [function.error-log]: open_basedir restriction in effect. File(/var/log/www/tep/page_parse_time.log) is not within the allowed path(s): (/home/ateleco/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: error_log(/var/log/www/tep/page_parse_time.log) [function.error-log]: failed to open stream: Operation not permitted in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: error_log() [function.error-log]: open_basedir restriction in effect. File(/var/log/www/tep/page_parse_time.log) is not within the allowed path(s): (/home/ateleco/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Warning: error_log(/var/log/www/tep/page_parse_time.log) [function.error-log]: failed to open stream: Operation not permitted in /home/ateleco/public_html/shop/admin/includes/classes/logger.php on line 49 Nothing was touched prior to this happening. Anyone know what in the world could have happend?
♥FWR Media Posted November 20, 2009 Posted November 20, 2009 admin> Configuration > Logging > Store Database Queries Set to false. The actual problem is caused by your path to error log as standard it is .. /var/log/www/tep/page_parse_time.log Change it to a true path that you know exists. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
ifs Posted November 20, 2009 Posted November 20, 2009 I am a total novice on this, but it looks like your files setup is SO weird! /home/ateleco/:/usr/lib/php:/usr/local/lib/php:/tmp) That looks like THREE paths to me: /home/ateleco/:/ /usr/lib/php /usr/local/lib/php:tmp I can't even put that last one on my site. If you are configuring it that way for security reasons, it is definitely working. Nobody gonna crack THAT. Good luck, mate.
icemanarh Posted November 20, 2009 Author Posted November 20, 2009 Thanks, and that's the answer I have seen but I can't even access the admin side of it. All I get is those errors. Is there a way to change it in the actual code itself and not in the admin?
spooks Posted November 20, 2009 Posted November 20, 2009 Thanks, and that's the answer I have seen but I can't even access the admin side of it. All I get is those errors. Is there a way to change it in the actual code itself and not in the admin? Log into your hosting cpanel, select phpMyAdmin, then your dbase, select the configuration table, then browse, sort by configuration title, your looking for the column titled Store Database Queries, (probaly on page 7) select that, then edit, set the configuration_value to false Then reload you site, hopefully all will be fine. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
♥FWR Media Posted November 20, 2009 Posted November 20, 2009 Thanks, and that's the answer I have seen but I can't even access the admin side of it. All I get is those errors. Is there a way to change it in the actual code itself and not in the admin? Create a new php file called fwr_update.php containing the following: - <?php include_once 'includes/application_top.php'; $turn_off = array( 'STORE_PAGE_PARSE_TIME', 'DISPLAY_PAGE_PARSE_TIME', 'STORE_DB_TRANSACTIONS' ); foreach ( $turn_off as $index => $config_key ) { $query = "UPDATE " . TABLE_CONFIGURATION . " SET configuration_value = 'false' WHERE configuration_key = '" . $config_key . "'"; tep_db_query( $query ); } include_once 'includes/application_bottom.php'; ?> Place this in the root of your site and run it once with your browser .. http://www.mysite.com/fwr_update.php After you have run it DELETE IT Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
icemanarh Posted November 20, 2009 Author Posted November 20, 2009 Log into your hosting cpanel, select phpMyAdmin, then your dbase, select the configuration table, then browse, sort by configuration title, your looking for the column titled Store Database Queries, (probaly on page 7) select that, then edit, set the configuration_value to false Then reload you site, hopefully all will be fine. Wow...thanks for that Any idea why that would have changed?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.