4images Modifications / Modifikationen > Mods & Plugins (Releases & Support)
[MOD] Top 100
Carpfish:
Habe alles Instaliert aber folgende Fehlermeldung bei der Datenbank
DB Error: Bad SQL Query: ALTER TABLE `4images_images` ADD `image_last_view` INT( 11 ) NOT NULL DEFAULT '0' AFTER `image_postcards`
Unbekanntes Tabellenfeld 'image_postcards' in 4images_images
DB Error: Bad SQL Query: ALTER TABLE `4images_images` ADD `image_last_view_who` VARCHAR( 255 ) NOT NULL DEFAULT 'Guest' AFTER `image_last_view`
Unbekanntes Tabellenfeld 'image_last_view' in 4images_images
DB Error: Bad SQL Query: UPDATE `4images_images` SET `image_last_view` = `image_date` WHERE `image_last_view` = 0
Unbekanntes Tabellenfeld 'image_last_view' in where clause
1. Error
ALTER TABLE `4images_images` ADD `image_last_view` INT( 11 ) NOT NULL DEFAULT '0' AFTER `image_postcards`
2. Error
ALTER TABLE `4images_images` ADD `image_last_view_who` VARCHAR( 255 ) NOT NULL DEFAULT 'Guest' AFTER `image_last_view`
3. Error
UPDATE `4images_images` SET `image_last_view` = `image_date` WHERE `image_last_view` = 0
Könnt ihr mir vieleicht weiterhelfen
Danke Andy
Nicky:
andy,
du musst die top100_install.php.zip downloaden und top100_install.php auch ausführen damit die felder angelegt werden..
Carpfish:
@Nicky
Habe ich auch gemacht, aber beim Instalieren der top100_install.php kommt diese fehlermeldung im instalations Display.
Die Daten werden nicht auf die Datenbank geschrieben.
Wollte es manuell eintragen:
1: image_last_view` INT( 11 ) NOT NULL DEFAULT '0' in den 4images_image Datenbank
2: image_last_view_who` VARCHAR( 255 ) NOT NULL DEFAULT 'Guest in den 4images_image Datenbank
3: UPDATE `4images_images` SET `image_last_view` = `image_date` WHERE `image_last_view` = 0 ????????? was sol ich da machen
Was soll ich bei Punkt 3 machen.
Ich hoffe es stimm die Daten in die 4images_image zu schreiben.
Gru0 Andy
rinaldos:
--- Quote from: carpkiller on October 29, 2008, 05:16:36 PM ---Wollte es manuell eintragen:
1: image_last_view` INT( 11 ) NOT NULL DEFAULT '0' in den 4images_image Datenbank
2: image_last_view_who` VARCHAR( 255 ) NOT NULL DEFAULT 'Guest in den 4images_image Datenbank
3: UPDATE `4images_images` SET `image_last_view` = `image_date` WHERE `image_last_view` = 0 ????????? was sol ich da machen
--- End quote ---
Hallo,
also wenn du es manuell eintragen willst, dann mit phpmyadmin, 4images_images auswählen und die Einträge für image_last_view und image_last_view_who löschen (sofern vorhanden). Anschliessend folgenden sql Befehle ausführen:
ALTER TABLE `4images_images` ADD `image_last_view` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `4images_images` ADD `image_last_view_who` VARCHAR( 255 ) NOT NULL DEFAULT 'Guest' AFTER `image_last_view`;
UPDATE `4images_images` SET `image_last_view` = `image_date` WHERE `image_last_view` = 0;
Damit sollte es klappen
Gruß
Ingo
Nicky:
yep rinaldos,
da es die
--- Code: --- AFTER `image_postcards`
--- End code ---
nicht gibt ;)
hier die install
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version