Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need hjelp pleas


tommy220

Recommended Posts

Posted

i am getting this measseg when i try to log on to mye web site:

 

1016 - Can't open file: 'sessions.MYD'. (errno: 145)

 

select value from sessions where sesskey = 'd16baa8f8dbbe3db9364f6c1363ed787' and expiry > '1145986549'

 

[TEP STOP]

Posted

create a php file (copy one from the root catalog like say the contact_us.php) Then truncate the sessions table.

 

<?php
/*
 $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

 $test_query = "TRUNCATE TABLE sessions";
 tep_db_query($test_query);

 require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

and simply run the php script. Backup the database first with the osc backup manager.

Archived

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

×
×
  • Create New...