Hallo, im Shop wurde ganz normal Artikel bearbeitet u.a. Bilder hochgeladen. Nach klick auf "Speichern" spielte der Shop verrückt und ich sollte mich neu anmelden. Dies war eine Endlos-Schleife bis nur noch die Fehlermeldung USER ERROR(256): "SQL Error" angezeigt wurde. Jetzt geht überhaupt nichts mehr. Hat jemand eine Idee woran das Problem liegen könnte? Anbei ein Auzsug aus der LOG-Datei: ------------------------------------------------------ ================================================================================ 2014-12-23 19:14:06 (a880473c04c64f575cc17557e6cb1d20) USER ERROR(256): "SQL Error" in /webspace/02/17285/shop.wohn-stil.de/inc/xtc_db_error.inc.php:24 #4 File: /webspace/02/17285/shop.wohn-stil.de/inc/xtc_db_error.inc.php:24 Function: trigger_error('SQL Error', 256) - $message: ### indeterminate value ### - $error_type: ### indeterminate value ### Code: line 22: $coo_logger = LogControl::get_instance(); line 23: $coo_logger->notice($p_error, 'error_handler', 'errors', 'notice', 'SQL ERROR', $p_errno, 'Query:' . "\r\n" . trim($p_query)); line 24: trigger_error('SQL Error', E_USER_ERROR); line 25: } #3 File: /webspace/02/17285/shop.wohn-stil.de/inc/xtc_db_query.inc.php:68 Function: xtc_db_error('insert into whos_online (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url) values (\'\', \'Guest\', \'0bh1hhk4l9mh3d6ik828802c3ve2faiu\', \'84.119.212.32\', \'1419358447\', \'1419358447\', \'/login.php\')', 1142, 'INSERT command denied to user \'17285_1.usr1\'@\'192.168.43.19\' for table \'whos_online\'') - $p_query: ### indeterminate value ### - $p_errno: ### indeterminate value ### - $p_error: ### indeterminate value ### Code: line 66: { line 67: # execute query line 68: $result = mysql_query($p_query, $$link) or xtc_db_error($p_query, mysql_errno(), mysql_error()); line 69: line 70: # save result to cache #2 File: /webspace/02/17285/shop.wohn-stil.de/inc/xtc_update_whos_online.inc.php:61 Function: xtc_db_query('insert into whos_online (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url) values (\'\', \'Guest\', \'0bh1hhk4l9mh3d6ik828802c3ve2faiu\', \'84.119.212.32\', \'1419358447\', \'1419358447\', \'/login.php\')') - $p_query: ### indeterminate value ### - $link: ### indeterminate value, default value: 'db_link' ### - $p_enable_data_cache: ### indeterminate value, default value: true ### - $p_enable_logging: ### indeterminate value, default value: true ### Code: line 59: xtc_db_query("update " . TABLE_WHOS_ONLINE . " set customer_id = '" . $wo_customer_id . "', full_name = '" . $wo_full_name . "', ip_address = '" . $wo_ip_address . "', time_last_click = '" . $current_time . "', last_page_url = '" . $wo_last_page_url . "' where session_id = '" . $wo_session_id . "'"); line 60: } else if (!empty($wo_session_id)) { line 61: xtc_db_query("insert into " . TABLE_WHOS_ONLINE . " (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url) values ('" . $wo_customer_id . "', '" . $wo_full_name . "', '" . $wo_session_id . "', '" . $wo_ip_address . "', '" . $current_time . "', '" . $current_time . "', '" . $wo_last_page_url . "')"); line 62: } line 63: } #1 File: /webspace/02/17285/shop.wohn-stil.de/includes/application_top.php:625 Function: xtc_update_whos_online() Code: line 623: line 624: // include the who's online functions line 625: xtc_update_whos_online(); line 626: line 627: require (DIR_WS_CLASSES.'product.php'); #0 File: /webspace/02/17285/shop.wohn-stil.de/login.php:25 Function: require_once('/webspace/02/17285/shop.wohn-stil.de/includes/application_top.php') Code: line 23: --------------------------------------------------------------------------------------- */ line 24: line 25: require_once('includes/application_top.php'); line 26: line 27: if(isset($_SESSION['customer_id'])) Request: GET /login.php - duration: ~268ms - server: Apache - server address: 10.10.2.19 - user agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 - remote address: a880473c04c64f575cc17557e6cb1d20 Session: - tpl: EyeCandy - MOBILE_ACTIVE: false - language: german - languages_id: 2 - language_charset: utf-8 - language_code: de - currency: EUR - customers_status: Array ( [customers_status_id] => 1 [customers_status_name] => Gast [customers_status_image] => guest_status.gif [customers_status_discount] => 0.00 [customers_status_public] => 0 [customers_status_min_order] => 0 [customers_status_max_order] => 0 [customers_status_ot_discount_flag] => 0 [customers_status_ot_discount] => 0.00 [customers_status_graduated_prices] => 1 [customers_status_show_price] => 0 [customers_status_show_price_tax] => 0 [customers_status_add_tax_ot] => 1 [customers_status_payment_unallowed] => [customers_status_shipping_unallowed] => [customers_status_discount_attributes] => 0 [customers_fsk18] => 1 [customers_fsk18_display] => 1 [customers_status_write_reviews] => 0 [customers_status_read_reviews] => 1 ) - cart: shoppingCart Object ( [contents] => Array ( ) [total] => 0 [weight] => 0 [cartID] => [content_type] => ) - wishList: wishList Object ( [contents] => Array ( ) [total] => 0 [weight] => 0 [cartID] => [content_type] => ) - customer_id: ### Session entry not present ### - payment: ### Session entry not present ### - shipping: ### Session entry not present ### - cartID: ### Session entry not present ### - sendto: ### Session entry not present ### - billto: ### Session entry not present ### --------------------------------------------- Vielen Dank für eure Unterstützung. Liebe Grüße Wolfgang
Hallo Wolfgang, willkommen im Forum. Die Auszüge aus den Dateien nützen leider nichts, die zeigen nur woher die Meldung generiert wird, aber nicht was sie verursacht. Wenn Du och in den Adminbereich kommst (z.B. über deine-Domain.tld/login_admin.php) dann schau bitte einmal unter Toolbox -> Logs anzeigen. Solltest Du nicht in den Adminbereich kommen, sollten die Informationen per FTP im Ordner "logfiles" zu finden sein. Bei so langen Texten bitte eine Code-Box benutzen ( z.B. mit dem # - Symbol), das liest sich einfacher
Doch, da steht was: Auf gut deutsch: Der in der configure Datei genannte Datenbankbenutzer hat mangelnde Rechte auf die Datenbank
Hallo, an der Datenbank bzw. am Datenbankbenutzer wurde allerdings überhaupt nichts geändert. Es wurden lediglich Bilder für einige Artikel hochgeladen. Liebe Grüße Wolfgang
Hallo, das Problem ist gelöst. Ich hatte auch meinen Hoster angeschrieben und das Problem gemeldet. Seit heute läuft der Shop wieder. Da gab es wohl Probleme mit der Datenbank. Vielen Dank für die Unterstützung und schöne Feiertage und ein erfolgreiches neues Jahr. Liebe Grüße Wolfgang