Errore database in remoto
-
Allora vi espongo il mio grosso problema.
In locale joomla mi va perfetto, funziona tutto. utilizzo Xampp, mySql 5.0.51a, PhpMyAdmin 2.9.2
In remoto (Ho hosting linux con aruba) ho MySQL 4.0.27-standard-log, PhpMyAdmin 2.11.5
Quando vado a caricare il database mi esce questo errore
Vi prego aiutatemi
phpMyAdmin SQL Dump
-- version 2.9.2--
-- Host: localhost
-- Generato il: 18 Mar, 2008 at 11:55 AM
-- Versione MySQL: 5.0.51
-- Versione PHP: 5.2.5-- Database:
joomla
--
-- Struttura della tabellajos_bannerCREATE TABLE
jos_banner(
bidint( 11 ) NOT NULL AUTO_INCREMENT ,
cidint( 11 ) NOT NULL default '0',
typevarchar( 10 ) COLLATE latin1_general_ci NOT NULL default 'banner',
namevarchar( 50 ) COLLATE latin1_general_ci NOT NULL default '',
imptotalint( 11 ) NOT NULL default '0',
impmadeint( 11 ) NOT NULL default '0',
clicksint( 11 ) NOT NULL default '0',
imageurlvarchar( 100 ) COLLATE latin1_general_ci NOT NULL default '',
clickurlvarchar( 200 ) COLLATE latin1_general_ci NOT NULL default '',
datedatetime default NULL ,
showBannertinyint( 1 ) NOT NULL default '0',
checked_outtinyint( 1 ) NOT NULL default '0',
checked_out_timedatetime NOT NULL default '0000-00-00 00:00:00',
editorvarchar( 50 ) COLLATE latin1_general_ci default NULL ,
custombannercodetext COLLATE latin1_general_ci,
PRIMARY KEY (bid) ,
KEYviewbanner(showBanner)
) ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci AUTO_INCREMENT =3;Messaggio di MySQL:
#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 'collate latin1_general_ci NOT NULL default 'banner',
namev -
-
Tutto ok!! O quasi...
Mi mancano solo le tabelle della Zoom Gallery!
Ecco il messaggio di errore:
CREATE TABLE
jos_zoom_comments(
cmtidint( 11 ) NOT NULL AUTO_INCREMENT ,
imgidint( 11 ) NOT NULL default '0',
cmtnamevarchar( 40 ) NOT NULL default '',
cmtcontenttext NOT NULL ,
cmtdatetimestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
PRIMARY KEY (cmtid) ,
KEYimgid(imgid)
) ENGINE = MYISAM ;Messaggio di MySQL:
#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 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
PRIMARY KEY -
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi