Guest Posted March 11, 2005 Share Posted March 11, 2005 Hi, I have moved my site (thank goodness for good hosting companies) and have had to rebuild my database (thanks too bad hosting companies). I rebuilt it correctly as far as I can tell, my admin section works fine, products load etc. But none of my regular pages will load. Instead, I get an error message saying: 1146 - Table 'xxxxx.cache' doesn't exist (xxxxx is my database name) DELETE FROM cache WHERE cache_expires <= '2005-03-10 09:00:54' [TEP STOP] Does anybody know the table I need to build? I don't recall ever seeing it before. It's not listed in the database installation directions that come with osC, and I haven't been able to find anything about it in the forums. Thanks for your help! NS Link to comment Share on other sites More sharing options...
tina_boots Posted March 11, 2005 Share Posted March 11, 2005 Hi, I have moved my site (thank goodness for good hosting companies) and have had to rebuild my database (thanks too bad hosting companies). I rebuilt it correctly as far as I can tell, my admin section works fine, products load etc. But none of my regular pages will load. Instead, I get an error message saying: 1146 - Table 'xxxxx.cache' doesn't exist (xxxxx is my database name) DELETE FROM cache WHERE cache_expires <= '2005-03-10 09:00:54' [TEP STOP] Does anybody know the table I need to build? I don't recall ever seeing it before. It's not listed in the database installation directions that come with osC, and I haven't been able to find anything about it in the forums. Thanks for your help! NS <{POST_SNAPBACK}> Hmmm that appears to be a perplexing one. I did some checking and there is no table nor was I able to locate the code that creates that SQL string. Is your "Use Cache" setting set to true or false? Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes. Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 Hi Tina, Thanks for taking the time to ponder this one. It is set to false, which makes it even more complexing. Thanks, NS Link to comment Share on other sites More sharing options...
oblivion77 Posted April 16, 2005 Share Posted April 16, 2005 Hi, I have moved my site (thank goodness for good hosting companies) and have had to rebuild my database (thanks too bad hosting companies). I rebuilt it correctly as far as I can tell, my admin section works fine, products load etc. But none of my regular pages will load. Instead, I get an error message saying: 1146 - Table 'xxxxx.cache' doesn't exist (xxxxx is my database name) DELETE FROM cache WHERE cache_expires <= '2005-03-10 09:00:54' [TEP STOP] Does anybody know the table I need to build? I don't recall ever seeing it before. It's not listed in the database installation directions that come with osC, and I haven't been able to find anything about it in the forums. Thanks for your help! NS <{POST_SNAPBACK}> Did you get this fixed yet? I just had the same problem with a new install which I used a copy of my other OsC website and copied everything over to the new server. Are you using Ultimate SEO URLs v2.0? If so I think that is where your problem resides and you might be able to fix this way. Find this code in*catalog*/includes/application_top.php and comment out every line with the pound sign (#). # include the cache class include('includes/classes/cache.class.php'); $cache = new cache($languages_id); # include the Ultimate SEO URLs cache file include('includes/seo_cache.php'); # Get the cache - no parameters will get all GLOBAL cache entries for this language $cache->get_cache('GLOBAL'); if ( isset($HTTP_GET_VARS['cName']) && defined(urldecode($HTTP_GET_VARS['cName'])) ) { $cPath = str_replace( 'cPath=', '', constant(urldecode($HTTP_GET_VARS['cName'])) ); $HTTP_GET_VARS['cPath'] = $cPath; } if (isset($HTTP_GET_VARS['pName']) && defined(urldecode($HTTP_GET_VARS['pName'])) ) { $pid = str_replace('products_id=', '', constant(urldecode($HTTP_GET_VARS['pName']))); $HTTP_GET_VARS['products_id'] = (int)$pid; } Then run install-seo.php and install-cache.php. After you do that you need to go back to *catalog*/includes/application_top.php and uncomment everything you commented out. Hopefully this works for you, this is how I fixed it on my server. Link to comment Share on other sites More sharing options...
Simplyeasier Posted April 16, 2005 Share Posted April 16, 2005 Did you get this fixed yet? I just had the same problem with a new install which I used a copy of my other OsC website and copied everything over to the new server. Are you using Ultimate SEO URLs v2.0? If so I think that is where your problem resides and you might be able to fix this way. Find this code in*catalog*/includes/application_top.php and comment out every line with the pound sign (#). # include the cache class include('includes/classes/cache.class.php'); $cache = new cache($languages_id); # include the Ultimate SEO URLs cache file include('includes/seo_cache.php'); # Get the cache - no parameters will get all GLOBAL cache entries for this language $cache->get_cache('GLOBAL'); if ( isset($HTTP_GET_VARS['cName']) && defined(urldecode($HTTP_GET_VARS['cName'])) ) { $cPath = str_replace( 'cPath=', '', constant(urldecode($HTTP_GET_VARS['cName'])) ); $HTTP_GET_VARS['cPath'] = $cPath; } if (isset($HTTP_GET_VARS['pName']) && defined(urldecode($HTTP_GET_VARS['pName'])) ) { $pid = str_replace('products_id=', '', constant(urldecode($HTTP_GET_VARS['pName']))); $HTTP_GET_VARS['products_id'] = (int)$pid; } Then run install-seo.php and install-cache.php. After you do that you need to go back to *catalog*/includes/application_top.php and uncomment everything you commented out. Hopefully this works for you, this is how I fixed it on my server. <{POST_SNAPBACK}> if you have Ultimate SEO - you could just drop and create the Cache Table - make sure you insert the data into the table from your old working site. ensure you have the relevant .htaccess file in the root Should see you OK Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.