Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Mass Add Images 50/50  (Read 4894 times)

0 Members and 1 Guest are viewing this topic.

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Mass Add Images 50/50
« on: July 21, 2008, 01:23:33 pm »

Hi all

I got a strange problem, I can't figure.

When I use mass add, it works for some folders and not other weird huh?

I checked and changed settings all over again 5 times now, no luck.

Lets say I got a folder:

A -> Mass OK all pictures give me icon OK
B -> Mass Fail, no errors, just take me back to the screen where I can choice folders :(

Any suggestion please?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Logged

Nibbler

  • Guest
Re: Mass Add Images 50/50
« Reply #2 on: July 21, 2008, 02:23:17 pm »

If it cuts out at a specific number of files in the folder then search the board for discussions about suhosin restrictions and see if they apply to you also.
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #3 on: July 21, 2008, 08:42:29 pm »

Here is what I get.

But I got folders with more than 200 files.

One of the folder I got trouble with has 112 files only.

Weird huh? :D

Code: [Select]
USER:
------------------
Array
(
    [ID] => 42ce21e1e8fe4835bf6ab0faa3674106
    [am] => 1
    [lang] => danish
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => bjelkegaard
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `superwor_FotoAlbum25`.cpg14x_sessions where time<1216661911 and remember=0; (0s)
    [3] => delete from `superwor_FotoAlbum25`.cpg14x_sessions where time<1215455911; (0s)
    [4] => select user_id from `superwor_FotoAlbum25`.cpg14x_sessions where session_id = 'f9232e855e4d550c3becf999cdfff44e' (0s)
    [5] => select user_id as id, user_password as password from `superwor_FotoAlbum25`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `superwor_FotoAlbum25`.cpg14x_users AS u INNER JOIN `superwor_FotoAlbum25`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `superwor_FotoAlbum25`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `superwor_FotoAlbum25`.cpg14x_sessions set time='1216665511' where session_id = 'f9232e855e4d550c3becf999cdfff44e' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-07-21 18:38:31' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='87.49.121.62' OR ip_addr='87.49.121.62' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 4
    [pics] => Array
        (
            [0] => i0000
            [1] => i0001
            [2] => i0002
            [3] => i0003
            [4] => i0004
            [5] => i0005
            [6] => i0006
            [7] => i0007
            [8] => i0008
            [9] => i0009
            [10] => i0010
            [11] => i0011
            [12] => i0012
            [13] => i0013
            [14] => i0014
            [15] => i0015
            [16] => i0016
            [17] => i0017
            [18] => i0018
            [19] => i0019
            [20] => i0020
            [21] => i0021
            [22] => i0022
            [23] => i0023
            [24] => i0024
            [25] => i0025
            [26] => i0026
            [27] => i0027
            [28] => i0028
            [29] => i0029
            [30] => i0030
            [31] => i0031
            [32] => i0032
            [33] => i0033
            [34] => i0034
            [35] => i0035
            [36] => i0036
            [37] => i0037
            [38] => i0038
            [39] => i0039
            [40] => i0040
            [41] => i0041
            [42] => i0042
            [43] => i0043
            [44] => i0044
            [45] => i0045
            [46] => i0046
            [47] => i0047
            [48] => i0048
            [49] => i0049
            [50] => i0050
            [51] => i0051
            [52] => i0052
            [53] => i0053
            [54] => i0054
            [55] => i0055
            [56] => i0056
            [57] => i0057
            [58] => i0058
            [59] => i0059
            [60] => i0060
            [61] => i0061
            [62] => i0062
            [63] => i0063
            [64] => i0064
            [65] => i0065
            [66] => i0066
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => MTk5MC8xLmpwZw==
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => MTk5MC8yLmpwZw==
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => MTk5MC8zLmpwZw==
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => MTk5MC80LmpwZw==
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => MTk5MC81LmpwZw==
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => MTk5MC82LmpwZw==
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => MTk5MC83LmpwZw==
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => MTk5MC84LmpwZw==
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => MTk5MC9CaWxsZWRlLmpwZw==
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => MTk5MC9CaWxsZWRlXzAwMmEuanBn
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => MTk5MC9CaWxsZWRlXzAwMy5qcGc=
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => MTk5MC9CaWxsZWRlXzAwM2EuanBn
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => MTk5MC9CaWxsZWRlXzAwNC5qcGc=
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => MTk5MC9CaWxsZWRlXzAwNGEuanBn
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => MTk5MC9CaWxsZWRlXzAwNS5qcGc=
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => MTk5MC9CaWxsZWRlXzAwNi5qcGc=
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => MTk5MC9CaWxsZWRlXzAyNy5qcGc=
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => MTk5MC9CaWxsZWRlXzAyOC5qcGc=
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => MTk5MC9CaWxsZWRlXzAyOS5qcGc=
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => MTk5MC9CaWxsZWRlXzAzMC5qcGc=
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => MTk5MC9CaWxsZWRlXzAzMS5qcGc=
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => MTk5MC9CaWxsZWRlXzA1Ny5qcGc=
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => MTk5MC9CaWxsZWRlXzA1OC5qcGc=
    [album_lb_id_i0023] => d0000
    [picfile_i0023] => MTk5MC9CaWxsZWRlXzA1OS5qcGc=
    [album_lb_id_i0024] => d0000
    [picfile_i0024] => MTk5MC9CaWxsZWRlXzA2MC5qcGc=
    [album_lb_id_i0025] => d0000
    [picfile_i0025] => MTk5MC9CaWxsZWRlXzA2MS5qcGc=
    [album_lb_id_i0026] => d0000
    [picfile_i0026] => MTk5MC9CaWxsZWRlXzA2Mi5qcGc=
    [album_lb_id_i0027] => d0000
    [picfile_i0027] => MTk5MC9CaWxsZWRlXzA2My5qcGc=
    [album_lb_id_i0028] => d0000
    [picfile_i0028] => MTk5MC9CaWxsZWRlXzA2NC5qcGc=
    [album_lb_id_i0029] => d0000
    [picfile_i0029] => MTk5MC9CaWxsZWRlXzA2NS5qcGc=
    [album_lb_id_i0030] => d0000
    [picfile_i0030] => MTk5MC9CaWxsZWRlXzA2Ni5qcGc=
    [album_lb_id_i0031] => d0000
    [picfile_i0031] => MTk5MC9CaWxsZWRlXzA3Mi5qcGc=
    [album_lb_id_i0032] => d0000
    [picfile_i0032] => MTk5MC9CaWxsZWRlXzA3My5qcGc=
    [album_lb_id_i0033] => d0000
    [picfile_i0033] => MTk5MC9CaWxsZWRlXzA3NC5qcGc=
    [album_lb_id_i0034] => d0000
    [picfile_i0034] => MTk5MC9CaWxsZWRlXzA3NS5qcGc=
    [album_lb_id_i0035] => d0000
    [picfile_i0035] => MTk5MC9CaWxsZWRlXzA3Ni5qcGc=
    [album_lb_id_i0036] => d0000
    [picfile_i0036] => MTk5MC9CaWxsZWRlXzA3Ny5qcGc=
    [album_lb_id_i0037] => d0000
    [picfile_i0037] => MTk5MC9CaWxsZWRlXzA3OC5qcGc=
    [album_lb_id_i0038] => d0000
    [picfile_i0038] => MTk5MC9CaWxsZWRlXzA3OS5qcGc=
    [album_lb_id_i0039] => d0000
    [picfile_i0039] => MTk5MC9CaWxsZWRlXzA4MC5qcGc=
    [album_lb_id_i0040] => d0000
    [picfile_i0040] => MTk5MC9CaWxsZWRlXzA4MS5qcGc=
    [album_lb_id_i0041] => d0000
    [picfile_i0041] => MTk5MC9CaWxsZWRlXzA4Mi5qcGc=
    [album_lb_id_i0042] => d0000
    [picfile_i0042] => MTk5MC9CaWxsZWRlXzA4My5qcGc=
    [album_lb_id_i0043] => d0000
    [picfile_i0043] => MTk5MC9CaWxsZWRlXzA4NC5qcGc=
    [album_lb_id_i0044] => d0000
    [picfile_i0044] => MTk5MC9CaWxsZWRlXzA4NS5qcGc=
    [album_lb_id_i0045] => d0000
    [picfile_i0045] => MTk5MC9CaWxsZWRlXzA4Ni5qcGc=
    [album_lb_id_i0046] => d0000
    [picfile_i0046] => MTk5MC9CaWxsZWRlXzA4Ny5qcGc=
    [album_lb_id_i0047] => d0000
    [picfile_i0047] => MTk5MC9CaWxsZWRlXzA4OC5qcGc=
    [album_lb_id_i0048] => d0000
    [picfile_i0048] => MTk5MC9CaWxsZWRlXzA4OS5qcGc=
    [album_lb_id_i0049] => d0000
    [picfile_i0049] => MTk5MC9CaWxsZWRlXzA5MC5qcGc=
    [album_lb_id_i0050] => d0000
    [picfile_i0050] => MTk5MC9CaWxsZWRlXzA5MS5qcGc=
    [album_lb_id_i0051] => d0000
    [picfile_i0051] => MTk5MC9CaWxsZWRlXzA5Mi5qcGc=
    [album_lb_id_i0052] => d0000
    [picfile_i0052] => MTk5MC9CaWxsZWRlXzA5My5qcGc=
    [album_lb_id_i0053] => d0000
    [picfile_i0053] => MTk5MC9CaWxsZWRlXzA5NC5qcGc=
    [album_lb_id_i0054] => d0000
    [picfile_i0054] => MTk5MC9CaWxsZWRlXzA5NS5qcGc=
    [album_lb_id_i0055] => d0000
    [picfile_i0055] => MTk5MC9CaWxsZWRlXzA5Ni5qcGc=
    [album_lb_id_i0056] => d0000
    [picfile_i0056] => MTk5MC9CaWxsZWRlXzA5Ny5qcGc=
    [album_lb_id_i0057] => d0000
    [picfile_i0057] => MTk5MC9CaWxsZWRlXzA5OC5qcGc=
    [album_lb_id_i0058] => d0000
    [picfile_i0058] => MTk5MC9CaWxsZWRlXzA5OS5qcGc=
    [album_lb_id_i0059] => d0000
    [picfile_i0059] => MTk5MC9CaWxsZWRlXzEwMC5qcGc=
    [album_lb_id_i0060] => d0000
    [picfile_i0060] => MTk5MC9CaWxsZWRlXzEwMS5qcGc=
    [album_lb_id_i0061] => d0000
    [picfile_i0061] => MTk5MC9CaWxsZWRlXzEwMi5qcGc=
    [album_lb_id_i0062] => d0000
    [picfile_i0062] => MTk5MC9CaWxsZWRlXzEwMy5qcGc=
    [album_lb_id_i0063] => d0000
    [picfile_i0063] => MTk5MC9CaWxsZWRlXzEwNC5qcGc=
    [album_lb_id_i0064] => d0000
    [picfile_i0064] => MTk5MC9CaWxsZWRlXzEwNS5qcGc=
    [album_lb_id_i0065] => d0000
    [picfile_i0065] => MTk5MC9CaWxsZWRlXzEwNi5qcGc=
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.51a-community-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 50M | 50M
post_max_size | 8M | 8M
==========================
Page generated in 0.045 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Mass Add Images 50/50
« Reply #4 on: July 21, 2008, 08:43:36 pm »

Nobody asked for debug_output. Read the section of the docs that Hein refered to carefully and do exactly as suggested there.
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #5 on: July 21, 2008, 08:49:28 pm »

I also tried to only add 1 image at the time, still npt working

I tried set upload boxes to 10 and upload through http, there its working perfect :)

But it takes years for me to upload all 5000 familiy photos we got ny http :(
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #6 on: July 21, 2008, 08:51:01 pm »

Nobody asked for debug_output. Read the section of the docs that Hein refered to carefully and do exactly as suggested there.

I did follow the doc :(

Sorry my english is not to good, maybe i mistake the docs :(
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #7 on: July 21, 2008, 08:56:57 pm »

Sorry forgot to say it worked before I upgraded from 1.4.16 to 1.4.18
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Mass Add Images 50/50
« Reply #8 on: July 21, 2008, 08:58:02 pm »

I did follow the doc :(
No, you did not. In fact, you did quite the opposite of what you're suppossed to do. Read it again carefully. From the relevant section:
Quote
Asking for support on upload issues

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!

Sorry forgot to say it worked before I upgraded from 1.4.16 to 1.4.18
Do as I suggested and start reading instead of speed-posting here.
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #9 on: July 24, 2008, 01:03:12 pm »

Ok sorry for this speed posting  :(

But in the mean time, i figured its my hosts suhosin that makes my trouble.

But they allow me to change it, so could you give me some recommandation how it should look in variabels and where in php.ini the changes should be made?

I remember I saw in a post somewhere here at the forum it was something about:
suhosin.post.max_vars 10000
suhosin.request.max_vars 10000

Maybe im wrong?

Regards Ino
Logged

Nibbler

  • Guest
Re: Mass Add Images 50/50
« Reply #10 on: July 24, 2008, 01:31:18 pm »

Doesn't matter where. Values should be 3 to 4 times the number of files you have per folder when batch adding.
Logged

InoculateIT

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Mass Add Images 50/50
« Reply #11 on: July 24, 2008, 03:03:02 pm »

Thanks

trying that
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.