|
|||
|
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10055) in D:\XAMPP\xampp\htdocs\xtcommerce\inc\xtc_db_connec t.inc.php on line 24
Unable to connect to database server! Es ist auf einem xampp server auf meinem Heim PC installiert und der Fehler tritt nur ab und an auf, woran liegt das? Gru? Tobi |
|
|||
|
Nachdem ich dieses Problem behoben habe, kommt nun wenn ich auf eine Kategorie klicke dieses hier, sorry aber was hei?t das und was muss ich machen.
1054 - Unknown column 'p.products_id' in 'on clause' select p.products_fsk18, p.products_shippingtime, p.products_model, p.products_ean, pd.products_name, m.manufacturers_name, p.products_quantity, p.products_image, p.products_weight, pd.products_short_description, pd.products_description, p.products_id, p.manufacturers_id, p.products_price, p.products_vpe, p.products_vpe_status, p.products_vpe_value, p.products_discount_allowed, p.products_tax_class_id from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '2' and p2c.categories_id = '1' ORDER BY p.products_price ASC [XT SQL Error] |
|
|||
|
Hallo!
Hatte ich heute auch, diesen Fehler. Versuch mal das hier (es m?ssen 3 Dateien ausgetauscht werden), dann gehts vermutlich. http://www.*************************************************************************************************************************************.de/forum/inde.../topic.5.0.html Nachdem ich die drei Dateien ausgetauscht hatte, kamm allerdings ein Fehler mit "Cachecheck" in der default.php. Dann hab ich folgendes auskommentiert und durch den Teil der "alten" Datei ersetzt: // set cache ID // if (!CacheCheck()) { // $default_smarty->caching = 0; // $main_content = $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html'); // } else { // $default_smarty->caching = 1; // $default_smarty->cache_lifetime = CACHE_LIFETIME; // $default_smarty->cache_modified_check = CACHE_CHECK; // $cache_id = $_SESSION['language'].$_SESSION['currency'].$_SESSION['customer_id']; // $main_content = $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html', $cache_id); // } // set cache ID if (USE_CACHE=='false') { $default_smarty->caching = 0; $main_content= $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html'); } else { $default_smarty->caching = 1; $default_smarty->cache_lifetime=CACHE_LIFETIME; $default_smarty->cache_modified_check=CACHE_CHECK; $cache_id = $_SESSION['language'].$_SESSION['currency'].$_SESSION['customer_id']; $main_content= $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html',$cache_id); } Hoffe, ich konnte Dir helfen!! |
|
|||
|
Zitat:
// set cache ID if (USE_CACHE=='false') { $default_smarty->caching = 0; $main_content= $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html'); }elseif(isset($current_category_id)){ $cache=false; $box_smarty->caching = 0; } else { $default_smarty->caching = 1; $default_smarty->cache_lifetime=CACHE_LIFETIME; $default_smarty->cache_modified_check=CACHE_CHECK; $cache_id = $_SESSION['language'].$_SESSION['currency'].$_SESSION['customer_id']; $main_content= $default_smarty->fetch(CURRENT_TEMPLATE.'/module/main_content.html',$cache_id); } |
![]() |
| Lesezeichen |
| Stichworte |
| fehler, installiert, xtc |
| Themen-Optionen | |
| Ansicht | |
|
|