• [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006) 5 0 5 1
Currently:  

Author Topic: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)  (Read 364497 times)

0 Members and 1 Guest are viewing this topic.

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #255 on: June 02, 2010, 03:07:15 PM »
Please provide step-by-step how you do it.
Ok! Sorry about that.

1. I uploaded almost 100 images in a folder (category) through ftp.
2. Then i clicked on Check new images in admin, and choose the folder/category in the dropdownlist, and pressed the "Check new images" button.
3. 30 of the images is shown in the results.
4. I check all images, and then press "Add". Now the problem occurs. No new images added!

No errors or other messages is shown, just No new images added!".

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #256 on: June 02, 2010, 03:22:51 PM »
have you tried select one image, not all 30?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #257 on: June 02, 2010, 03:25:52 PM »
have you tried select one image, not all 30?
Thanks for your reply.
I tried that just now, and i got the same result, (No new images added!).

EDIT: It seems to work if i choose to only show/display 10 images in the results, (instead of 30).
« Last Edit: June 02, 2010, 03:36:08 PM by Guldstrand »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #258 on: June 02, 2010, 03:48:15 PM »
Ok, try this.
in admin/checkimages.php find:
show_admin_header();

insert below:
error_reporting(E_ALL);
ini_set("display_errors"1);


See if any errors showed.

If nothing showed, then add below:
echo "<pre>";
print_r($HTTP_POST_VARS);
echo 
"</pre>";


Then select category, set to display only 1 image, press "Check new images" button, make sure checkbox is checked for the found image, hit "Add" button. on top of the page you should see array(...) if you can't find [addimage_1] => 1 among these line, then I'd assume something wrong with your browser, try different one.
Here is how it should look like:
Code: [Select]
Array
(
    [action] => savenewimages
    [cat_id] => 1
    [allbox] => on
    [addimage_1] => 1
    [image_media_file_1] => my_picture.jpg
    [image_thumb_file_1] =>
    [image_name_1] => my picture
    [cat_id_1] => 1
    [old_cat_id_1] => 1
    [image_active_1] => 1
    [image_allow_comments_1] => 1
    [num_newimages] => 1
    [detailed] => 0
)




[EDIT]
so, 10 images works fine - this indicates there is server restrictions, most likely there is a "mod security" activated. Last time someone had similar problem it was due to that mod was restricting to NN number of POST entries.
As you can see above, one file requires 8 entries, plus 5 "global", so for 10 images it's 10 * 8 + 5 = 85 POST entries.
Contact your server's administrator, see what they can do about that.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #259 on: June 02, 2010, 05:42:57 PM »
so, 10 images works fine - this indicates there is server restrictions, most likely there is a "mod security" activated. Last time someone had similar problem it was due to that mod was restricting to NN number of POST entries.
As you can see above, one file requires 8 entries, plus 5 "global", so for 10 images it's 10 * 8 + 5 = 85 POST entries.
Contact your server's administrator, see what they can do about that.
I´m running my own server.
What do i have to do? Change the number in php.ini, or what?

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #260 on: July 15, 2010, 02:26:46 PM »
Hallo Zusammen,

ich benutze diese MOD und die läuft Klasse.
Wenn ich im Bildtitel oder in der Bildbeschreibung ein Hochkomma drin habe, bekomme ich einen Datenbankfehler und die Bilder werden nicht eingecheckt.
Ich glaube mich zu erinnern, dass dies schon mal beiläufig Thema war. Leider finde ich trotz langer Suche nichts mehr.
Kann mir da jemand mit einem Code Schnippsel helfen?

Danke

Holger

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #261 on: July 15, 2010, 02:54:59 PM »
What is 4images version are you using?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #262 on: July 21, 2010, 12:39:12 AM »
The Version ist 1.7.7 and checkimages 2.11

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #263 on: July 21, 2010, 03:09:10 AM »
The strange thing is, it's working fine in my tests...what about if you use apostrophe when edit an image?

Is there any chances you could setup a fresh, unmodified 4images and see if the problem still exists?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Rembrandt

  • Guest
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #264 on: July 21, 2010, 06:25:48 AM »
The Version ist 1.7.7 and checkimages 2.11
hast du schon mal probiert zwei hochkommas hintereinander zu setzen, ob das funktioniert?

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #265 on: July 28, 2010, 11:56:55 PM »
Hallo,

wenn ich in den IPTC Daten (images_caption) über z.B. FotoStation eine Bildbeschreibung mache, und dort z.B. schreibe " Hier zu sehen Mann's Kneipe" dann gibt es den DB Fehler beim einchecken. Schreibe ich aber "Hier zu sehen Manns Kneipe" klappt alles wunderbar.

Ich glaube es gab da schon mal eine Lösung, finde diese aber nicht.

Danke für Eure Hilfe.

Holger

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #266 on: July 29, 2010, 04:42:00 AM »
Please try out v2.12 (note, I left v2.11 in attachment just in case if v2.12 doesn't work at all)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #267 on: July 29, 2010, 12:44:44 PM »
Hallo V@no,

ich habe die v.2.12 installiert. Ich habe es mit 2 Bildern ausprobiert. Ein Bild klappte perfekt. Bei dem Anderen bekam ich folgende Fehlermeldung.

    
Fatal error: Call to undefined function copy_file() in /www/htdocs/w00c4e4e/bilder/admin/checkimages.php on line 695

Danke für Deine Mühe

Holger
« Last Edit: July 29, 2010, 12:55:33 PM by viadata »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #268 on: July 29, 2010, 03:16:20 PM »
I've uploaded new version.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline viadata

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #269 on: July 29, 2010, 09:58:20 PM »
Hallo V@no,

Klasse Arbeit! Funktioniert jetzt prima. Festgestellt habe ich nur, dass es ein kleines Problem mit den Keywords gibt.

Ich betexte meine Bilder mit FotoStation Pro. Wenn ich jetzt die Bilder einchecke, wird im Editfeld Keyword die Keywords anzeigt. Aber anders als sonst. Im Ergebnis werden die Keywords im Detailfenster auch als ein Wort betrachtet und nicht jedes Wort einzeln.

Also: mit der Version 2.12 z.B.
"Deutschland,Europa,Renft,Konzert,Klaus,Band,Ostrock,Anker,Politik,DDR" Ergebnis:     Deutschland,Europa,Renft,Konzert,Klaus,Band,Ostrock,Anker,Politik,DDR

in der Version 2.11 z.B.
"Deutschland Europa Renft Konzert Klaus Band Ostrock Anker Politik DDR" Ergebnis:        Deutschland Europa Renft Konzert Klaus Band Ostrock Anker Politik DDR

Ich hoffe ich konnte mich verständlich machen.
Danke erstmal für Deine tolle Arbeit.

Holger

« Last Edit: July 29, 2010, 11:39:02 PM by viadata »