Author Topic: IPTC V.1.7.6 Suchfelder erweiterung  (Read 164828 times)

0 Members and 1 Guest are viewing this topic.

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #30 on: May 29, 2008, 09:53:06 PM »
Sorry! I logged out of 4images control panel and back in again, and now I can see the rebuild scripts. But when I click on either of them, nothing happens... And when I go into the normal search screen, I get a blank window (which is probably caused by the rebuild not having been run).

Any idea about what I should check when nothing happens in reply to clicking the rebuild script?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #31 on: May 29, 2008, 09:55:01 PM »
If you click on it, it will be equal to your computer copied.

Rembrandt

  • Guest
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #32 on: May 29, 2008, 09:56:32 PM »
hi!
Sorry! I logged out of 4images control panel and back in again, and now I can see the rebuild scripts. But when I click on either of them, nothing happens... And when I go into the normal search screen, I get a blank window (which is probably caused by the rebuild not having been run).

Any idea about what I should check when nothing happens in reply to clicking the rebuild script?
upload the rebuild_searchindex.php in the admin/plugin folder.

mfg Andi

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #33 on: May 29, 2008, 10:03:32 PM »
I (now) have rebuild_searchindex.php in the admin/plugins folder. When I go into the 4images admin console, I can see "Rebuild Search Index" as an option under PlugIns in the left hand column. When I click on that, I get just a blank window in the right hand side - there is no user interaction at all.

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #34 on: May 29, 2008, 10:06:25 PM »
My 4images is installed in a subdirectory \photo under my web root. Does the script assume that 4images was installed in the root of the website?

Offline TMO

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #35 on: May 29, 2008, 10:20:26 PM »
Naja ich habe die bilder mit XNview getaggt, mit verschiedenen anderen Softwaren habe ich es überprüft die daten sind vorhanden.
Lade ich jetzt ein Bild über den Backend Upload hoch läuft ja die checkimages (ich habe die datei aus dem eingangspost genommen und meine alte überschrieben) über die Bilder.
Gucke ich nach erfolgreichem Upload in die Datenbanlk so ist kein Datensatz hinzugekommen.
Wenn ich jetzt dieses Bild auswählen und "bearbeite" bekomme ich die Maske zum upload vom großen und dem kleinen Bild, sowie alle IPTC Felder und alle Standardfelder.

Neben dem Standardfeld "Bildbeschreibung" ist ein Button "IPTC Bildbeschreibung", ich gkaube das ist bei Version 1.7.6 ebenfalls Standard. Klicke ich darauf wird die Bildbeschreibung aus dem IPTC Header eingefügt.

Die Felder darunter (die die durch diesen Mod hinzugefügt wurden nehme ich an) sind leer.

Führe ich jetzt die rebuild _iptcindex Datei aus fügt er alle IPTC Daten aus dem Bild der Datenbank hinzu, jetzt sind alle Daten vorhanden, aber auch damit wird ein neuer Datensatz erzeugt, nicht ein ggF schon vorhandener überschrieben, wäre schön wenn das ginge, zur Not lasse ich einfach nach jedem Upload die rebuild _iptcindex drüber laufen

@Rembrand: Sorry das ich mich da ungenau ausgedrückt habe.
Danke für deine Hilfe

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #36 on: May 29, 2008, 11:10:22 PM »
After attempting this mod, I now find that "validate images" and "check new images" just gives me a blank screen. And whereas an upload normally gives a confirmation about the file being saved, it now ends with a blank screen (although the file DOES get uploaded).

Are there anything in these symptoms that points towards what might be wrong?  Any assistance would be greatly appreciated.

Rembrandt

  • Guest
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #37 on: May 30, 2008, 05:51:15 AM »
...
Gucke ich nach erfolgreichem Upload in die Datenbanlk so ist kein Datensatz hinzugekommen.
....
wenn dem so wäre, würdest du keine bilder auf der detailseite sehen, b.z.w. es gäbe ja gar keine detailseite weil du keine bilder auswählen kannst.
Quote
......Die Felder darunter (die die durch diesen Mod hinzugefügt wurden nehme ich an) sind leer.
....
das ist richtig, die sind erst dann gefüllt wenn du die rebuild_searchindex ausgeführt hast.

mfg Andi

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #38 on: May 30, 2008, 09:35:28 AM »
Phew, that was a tough one to crack for a non-php coder like myself. I'm offering the solution here just in case anyone else stumbles into the same problem.

In step 4 of the description of the mod, it is essential to add a comma to the last line of the existing code from
Code: [Select]
  "image_keywords" => "keys_match"to
Code: [Select]
  "image_keywords" => "keys_match",
It looks like this fixes all my problems... the screens now come up as I expected and the amended search screen works.

Great mod, Rembrandt. Thank you so much for developing it :)

Offline † manurom

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • manurom's 4images templates
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #39 on: May 30, 2008, 10:17:39 AM »
Thanks, danke, merci, muchas gracias!

That is really good!
Dieses ist gut!
C'est excellent!
¡Eso es realmente bueno!

Offline TMO

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #40 on: May 30, 2008, 12:14:13 PM »
Mhm, irgendwie fühle ich mich nicht ganz vollgenommen....

Selbstverständlich wird ein datensatz erzeugt, doch gefüllt wird dieser Datensatz durch die checkimages nur mit dem was 4iamges standardmäßig in die datenbank einfüllt. Die Spalten die dieser MOD nachträglich hinzugefügt hat bleiben leer, demzufolge sind auch die Bilderinformationen verfügbar, das Bild wird angezeigt, aber die Felder wie images_Credits etc. bekommen keine Daten aus dem IPTC Header zugewiesen. Diese Felder werden erst gefüllt wenn ich die rebuildindex ausgeführt habe, was laut anmeldung eigendlich nur für Bilder notwendig seien sollte, die vor der Installation des Mods hinzugekommen sind, oder?

Es amcht auf mich den eindruck, als würde die checkimages bei mir nicht richtig funktionieren.

Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #41 on: May 30, 2008, 08:06:55 PM »
By jolly, TMO, you're absolutely right!  I've checked it and it seems like it's necessary to do both the rebuild_iptc_index and the rebuild_search_index. So if this is due to a misunderstanding in how to apply the mod, you and I must have made the same mistake.


Offline SunnyUK

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #42 on: May 30, 2008, 09:53:47 PM »
TMO, checkimages doesn't seem to run when pictures are uploaded via the "upload" button on your 4images website. But if you FTP the images into the root folder of your 4images and then do a "check new images", it will find them and do everything for you.

Offline barz

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #43 on: July 29, 2008, 01:44:30 PM »
Da alles vorzüglich funktioniert, ist mir ein Problem bisher nicht aufgefallen.
Alle eingetragenen IPTC Daten werden ausgelesen und angezeigt. Wenn diese aber mehr als insgesamt 256 Zeichen haben (z.B. Caption), wird der Rest nicht in die DB eingetragen, und damit kann danach auch nicht gesucht werden.

Wo steht diese Begrenzung der Länge???

Gruß

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: IPTC V.1.7.6 Suchfelder erweiterung
« Reply #44 on: July 29, 2008, 01:55:48 PM »
Wo steht diese Begrenzung der Länge???

... mit der Definition des DB-Feldes für "image_caption" hast du die Länge festgelegt auf 255 Zeichen ...
Code: [Select]
ALTER TABLE `4images_images`
ADD `image_caption` VARCHAR( 255 ) NOT NULL ,
...
... DB-Feld / Zeichenlänge einfach mit PHPMyAdmin editieren ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...