Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple Issues


icemanarh

Recommended Posts

Posted

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?

Posted

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.

Posted

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.

Posted

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?

Posted

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. smile.gif

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.

Posted

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

Posted

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. smile.gif

Wow...thanks for that Any idea why that would have changed?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...