• [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 364456 times)

0 Members and 1 Guest are viewing this topic.

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 #270 on: July 30, 2010, 03:35:40 AM »
try v2.12.2

P.S.
Thumbnails working ok? (I read earlier you had problems with thumbnails, I think)
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 #271 on: July 30, 2010, 11:57:01 PM »
Hi V@no,

very great shop ! Perfekt! Ein klasse MOD der mir viel Arbeit erspart und Freude macht.

Das Thumbnail Problem ist nicht wieder aufgetreten. Woran es lag weiƟ ich nicht. Es funktioniert alles prima.

Herzlichen Dank !

Holger

Offline diehard

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #272 on: September 10, 2010, 01:33:17 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!".

I have a similar problem
1.I uploaded 100-600 images in a folder through ftp.
2.Then i clicked on Check new images and choose the folder/category in the dropdownlist, and pressed the "Check new images" button.I choise  100 images to shown.
3.100 images shown in the result ... this is OK , and i check it .
4.When i click to ADD button , only 10-12 images are added of 100 checked.

Whats the problem ?
In clear instalation of 4images 1.7.8 everything is working but...

Code: [Select]
Check new images log
     Working on data/media/8/New car 08 .jpg file
File renamed from New car 08 .jpg to new_car_08_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_08_.jpg file.
Added annotation in data/media/8/big/new_car_08_.jpg file.
Image added: New car 08

Working on data/media/8/New car 09 .jpg file
File renamed from New car 09 .jpg to new_car_09_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_09_.jpg file.
Added annotation in data/media/8/big/new_car_09_.jpg file.
Image added: New car 09

Working on data/media/8/New car 10 .jpg file
File renamed from New car 10 .jpg to new_car_10_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_10_.jpg file.
Added annotation in data/media/8/big/new_car_10_.jpg file.
Image added: New car 10

Working on data/media/8/New car 11 .jpg file
File renamed from New car 11 .jpg to new_car_11_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_11_.jpg file.
Added annotation in data/media/8/big/new_car_11_.jpg file.
Image added: New car 11

Working on data/media/8/New car 12 .jpg file
File renamed from New car 12 .jpg to new_car_12_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_12_.jpg file.
Added annotation in data/media/8/big/new_car_12_.jpg file.
Image added: New car 12

Working on data/media/8/New car 13 .jpg file
File renamed from New car 13 .jpg to new_car_13_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_13_.jpg file.
Added annotation in data/media/8/big/new_car_13_.jpg file.
Image added: New car 13

Working on data/media/8/New car 14 .jpg file
File renamed from New car 14 .jpg to new_car_14_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_14_.jpg file.
Added annotation in data/media/8/big/new_car_14_.jpg file.
Image added: New car 14

Working on data/media/8/New car 15 .jpg file
File renamed from New car 15 .jpg to new_car_15_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_15_.jpg file.
Added annotation in data/media/8/big/new_car_15_.jpg file.
Image added: New car 15

Working on data/media/8/New car 16 .jpg file
File renamed from New car 16 .jpg to new_car_16_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_16_.jpg file.
Added annotation in data/media/8/big/new_car_16_.jpg file.
Image added: New car 16

Working on data/media/8/New car 17 .jpg file
File renamed from New car 17 .jpg to new_car_17_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_17_.jpg file.
Added annotation in data/media/8/big/new_car_17_.jpg file.
Image added: New car 17

Working on data/media/8/New car 18 .jpg file
File renamed from New car 18 .jpg to new_car_18_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_18_.jpg file.
Added annotation in data/media/8/big/new_car_18_.jpg file.
Image added: New car 18

Working on data/media/8/New car 19 .jpg file
File renamed from New car 19 .jpg to new_car_19_.jpg
Copied file into data/media/8/big folder.
Thumbnail created.
Image resized.
Added annotation in data/media/8/new_car_19_.jpg file.
Added annotation in data/media/8/big/new_car_19_.jpg file.
Image added: New car 19

Working on data/media/8/New car 20 .jpg file

Working on data/media/8/New car 20 .jpg file.... and end  :(

Rembrandt

  • Guest
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #273 on: September 10, 2010, 01:41:41 PM »
...
Whats the problem ?
.....
your server has not enough memory.
check your php memory limit.
if they can, they set higher PHP memory limit.

Offline diehard

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #274 on: September 10, 2010, 05:36:50 PM »
...
Whats the problem ?
.....
your server has not enough memory.
check your php memory limit.
if they can, they set higher PHP memory limit.

My memory is: memory_limit = 512M
hmmm and problem stay...

Rembrandt

  • Guest
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #275 on: September 10, 2010, 05:59:42 PM »
how big are the average of images, in pixel ?

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #276 on: September 10, 2010, 06:46:59 PM »
if it's exact number of images every time, then it could be some server restrictions. mod security is known on restrict nimber of POST fields

ask your host admin if anything like this installed
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline diehard

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #277 on: September 12, 2010, 07:17:44 PM »
how big are the average of images, in pixel ?

1600x1200 / 1920x1200 / 1280x1024 .....


if it's exact number of images every time, then it could be some server restrictions. mod security is known on restrict nimber of POST fields

ask your host admin if anything like this installed

I`m the host admin... this is my server... I am not installed MOD SECURITY. The number of images is not exact every time but is more then 10 .
I noticed that after upload 10 photos in "Check new images log" shows 10 added but in site added 30 images hmmm....

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 #278 on: September 12, 2010, 08:28:02 PM »
4images v1.7.8 already comes with this mod preinstalled. Try use unmodified version of checkimages.php from 4images package.
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 #279 on: September 12, 2010, 08:31:22 PM »
Hi!

you can test how much memory will need your pictures.

copy the attached file and a image called  testimg.jpg in your root and call it to "gdtest.php".
now you can see how many memory your image will need.

mfg Andi

Offline diehard

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #280 on: September 13, 2010, 07:37:17 AM »
Hi!

you can test how much memory will need your pictures.

copy the attached file and a image called  testimg.jpg in your root and call it to "gdtest.php".
now you can see how many memory your image will need.

mfg Andi


This is result:
convert start = 65.133 kb
convert end = 22.106 mb


I found a problem. The Apache mod_qos stoped my upload request :) When i stoped it, all is OK.
Thanks V@no / Rembrandt for help...

This is config for this Apache mod:

Code: [Select]
## QoS Settings
<IfModule mod_qos.c>
    # handles connections from up to 100000 different IPs
    QS_ClientEntries 100000
    # will allow only 50 connections per IP
    QS_SrvMaxConnPerIP 50
    # maximum number of active TCP connections is limited to 256
    MaxClients              256
    # disables keep-alive when 70% of the TCP connections are occupied:
    QS_SrvMaxConnClose      180
    # minimum request/response speed (deny slow clients blocking the server, ie. slowloris keeping connections open without requesting anything):
    QS_SrvMinDataRate       150 1200
    # and limit request header and body (carefull, that limits uploads and post requests too):
    # LimitRequestFields      30
    # QS_LimitRequestBody     102400
</IfModule>

And i add local IP`s
     
Code: [Select]
QS_SrvMaxConnExcludeIP                    127.0.0.1
     QS_SrvMaxConnExcludeIP                    192.168.0.
Now everything work fine and flooders stoped and upload images is OK ;)
« Last Edit: September 13, 2010, 09:49:23 AM by diehard »

Offline khansahib

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #281 on: September 17, 2010, 06:03:37 AM »
first of all thanks for such a nice MOD..
well i've tried both v2.11 and v2.12.2 but have no sucess with both as i can't add 80+ images in one go.. when i select 90 or 100 it turns out to

--------------------------------
Check new images log
No new images added!
--------------------------------

i've to add 20k plus images so adding 80 in one go will take alot of time.. i want to add atleat 200 in one go..

after reading the thread i figured out that might be my "post_max_size" will be less but i also increased that to 30MB from 8MB.. and still it didn't work out.. :(

can u please tell me where is the problem, my server or script.. i'm using latest version of 4images i.e. v1.7.8

Thanks.
« Last Edit: September 20, 2010, 06:27:06 AM by khansahib »

Offline khansahib

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: [MOD] Check new images in ALL categories v2.11 (updated 22-04-2006)
« Reply #282 on: September 20, 2010, 06:28:03 AM »
hello anybody there to tell where is the problem...

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 #283 on: September 20, 2010, 02:07:12 PM »
There are other restrictions that could cause this, some other modules, etc. for instance mod_security could limit number of POST entries, it's hard to tell. If you wish, PM me with a link to your phpinfo()
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 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 #284 on: September 20, 2010, 08:23:36 PM »
As I was saying, you have a server restrictions, in  your case it's suhosin extension.

For starters play with the following settings in php.ini (or whatever setting file for that extension is)
Code: [Select]
suhosin.*.max_varsand:
Code: [Select]
suhosin.post.max_array_depth
suhosin.post.max_array_index_length
suhosin.post.max_name_length
suhosin.post.max_totalname_length
suhosin.post.max_value_length
suhosin.post.max_vars

I've seen such restrictions before, when people were not able add more then NN number of images at once, your case looks the same.
Just to summarize, 4images sends out 21 POST vars, plus additional 11 vars for EACH image, so if you add one image, it uses 32 POST vars, 2 images = 43 vars

It also could be some other settings, but I'm quiet sure it's the suhosin extension that giving you the problem.
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)

 

Post your comments here