- Posts: 57
- Karma: 2
- Thank you received: 3
'manufacturers_id' => array( 'marker' => '-m-',
'query' => "SELECT manufacturers_name FROM :TABLE_MANUFACTURERS_INFO WHERE manufacturers_id=':manufacturers_id' AND languages_id=':languages_id' LIMIT 1",
'to_replace' => array( ':TABLE_MANUFACTURERS_INFO', ':manufacturers_id', ':languages_id' ) ) );
Please Log in to join the conversation.
Please Log in to join the conversation.
next it is looking for the ultimate_seo_urls5 folder under admin/components but they do not exist there in my upgrade install but they are in components/com_oscommerce in the root
/**
* ULTIMATE Seo Urls 5 PRO by FWR Media
* Reset the various cache systems
* @param string $action
*/
function tep_reset_cache_data_usu5( $action = false ) {
if ( $action == 'reset' ) {
$usu5_path = realpath( dirname( __FILE__ ) . '/../../../' ) . '/' . DIR_WS_MODULES . 'ultimate_seo_urls5/';
switch( USU5_CACHE_SYSTEM ) {
case 'file':
$path_to_cache = $usu5_path . 'cache_system/cache/';
$it = new DirectoryIterator( $path_to_cache );
while( $it->valid() ) {
if ( !$it->isDot() && is_readable( $path_to_cache . $it->getFilename() ) && ( substr( $it->getFilename(), -6 ) == '.cache' ) ) {
@unlink( $path_to_cache . $it->getFilename() );
}
$it->next();
}
break;
case 'mysql':
tep_db_query( 'TRUNCATE TABLE `usu_cache`' );
break;
case 'memcache':
if ( class_exists('Memcache') ){
include $usu5_path . 'interfaces/cache_interface.php';
include $usu5_path . 'cache_system/memcache.php';
Memcache_Cache_Module::iAdmin()->initiate()
->flushOut();
}
break;
case 'sqlite':
include $usu5_path . 'interfaces/cache_interface.php';
include $usu5_path . 'cache_system/sqlite.php';
Sqlite_Cache_Module::admini()->gc();
break;
}
tep_db_query( "UPDATE " . TABLE_CONFIGURATION . " SET configuration_value='false' WHERE configuration_key='USU5_RESET_CACHE'" );
}
} // end function
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.