PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Masterupdate von 3.5.3.1 auf 3.6.0.2



Ducati12
01.04.2018, 15:37
Hallo an alle,

ich versuche ein Masterupdate von Gambio GX3 v3.5.3.1 auf v3.6.0.2.
Habe alle Dateien auf den Server per FTP übertragen.
Wenn ich im Browser die URL zum ......./gambio_updater aufrufe,bekomme ich folgende Fehlermeldung:

USER ERROR(256): "SQL ERROR"

Dies ist doch ein Fehler von der Datenbank,der Updater versucht irgenwas auszulesen.
So würde ich es erstmal interpretieren.
Oder funktioniert das so nicht.
Hat jemand einen guten Tip für mich???

Gruß Ducati

Ducati12
01.04.2018, 17:16
Habe mal die Logdatei durchsucht und bin fündig geworden.


SQL ERROR(1064): "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 13" in /home/www/inc/xtc_db_error.inc.php:23 (Details)
#9 File: /home/www/inc/xtc_db_error.inc.php:23
#8 File: /home/www/inc/xtc_db_query.inc.php:69
#7 File: /home/www/system/classes/listing/TopProductsMainContentView.inc.php:57
#6 File: /home/www/system/core/ContentView.inc.php:153
#5 File: /home/www/system/classes/layout/IndexContentView.inc.php:159
#4 File: /home/www/system/classes/layout/IndexContentView.inc.php:61
#3 File: /home/www/system/core/ContentView.inc.php:153
#2 File: /home/www/system/classes/listing/ProductListingContentControl.inc.php:1812
#1 File: /home/www/system/classes/listing/ProductListingContentControl.inc.php:192
#0 File: /home/www/index.php:162
Request: GET / (Details)
Get: (Details)
Information:
Query:
SELECT
products_id
FROM
products p
WHERE
p.products_status = '1' AND
p.products_startpage = '1'


ORDER BY
p.products_startpage_sort ASC,
RAND()
LIMIT


Das ist der erste Fehler SQL ERROR(1064) und dadurch wird dann die zweite Fehlermeldung, USER ERROR(256): "SQL ERROR" im Browser angezeigt.

Hier mal ein Auszug aus der xtc_db_query.inc.php:



.......
if($t_use_cache && $coo_cache->key_exists($t_cache_key))
{
# use cached result
$result = $coo_cache->get_data($t_cache_key);
@mysqli_data_seek($result, 0);
}
else
{
# execute query
Zeile 69 -> $result = mysqli_query( $$link, $p_query) or xtc_db_error($p_query, ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_errno($GLOBALS["___mysqli_ston"]) :
(($___mysqli_res = mysqli_connect_errno()) ? $___mysqli_res : false)), ((is_object($GLOBALS["___mys qli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) :
(($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)));
}


Nur ist es jetzt für mich schwer einen Fehler zu finden.
Mfg

Ducati12
01.04.2018, 22:00
Habe mal die Logdatei durchsucht und bin fündig geworden.

SQL ERROR(1064): "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 13" in /home/www/inc/xtc_db_error.inc.php:23 (Details)
#9 File: /home/www/inc/xtc_db_error.inc.php:23
#8 File: /home/www/inc/xtc_db_query.inc.php:69
#7 File: /home/www/system/classes/listing/TopProductsMainContentView.inc.php:57
#6 File: /home/www/system/core/ContentView.inc.php:153
#5 File: /home/www/system/classes/layout/IndexContentView.inc.php:159
#4 File: /home/www/system/classes/layout/IndexContentView.inc.php:61
#3 File: /home/www/system/core/ContentView.inc.php:153
#2 File: /home/www/system/classes/listing/ProductListingContentControl.inc.php:1812
#1 File: /home/www/system/classes/listing/ProductListingContentControl.inc.php:192
#0 File: /home/www/index.php:162
Request: GET / (Details)
Get: (Details)
Information:
Query:
SELECT
products_id
FROM
products p
WHERE
p.products_status = '1' AND
p.products_startpage = '1'


ORDER BY
p.products_startpage_sort ASC,
RAND()
LIMIT


Das ist der erste Fehler SQL ERROR(1064) und dadurch wird dann die zweite Fehlermeldung, USER ERROR(256): "SQL ERROR" im Browser angezeigt.