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: [Solved]: batch upload - suddenly not working?  (Read 11482 times)

0 Members and 2 Guests are viewing this topic.

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
[Solved]: batch upload - suddenly not working?
« on: July 23, 2008, 07:18:52 pm »

I have been batch uploading my photos, and all was ok.

Now the batch upload does not seem to work anymore. Basically, in the "list of new files" page, the little icons of my pics do not come up anymore, they are replaced by a white rectangle with a red x in each of them, and so they do not get added to my gallery properly.

I have made a test account, and have given full 777 privileges to the all the photo folders. user is ****, password is ***

The photos folder is called "test" within the "aj0708" folder. my forum is located at: http://jezf.quotaless.com/index.php
« Last Edit: July 24, 2008, 08:55:20 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload - suddenly not working?
« Reply #1 on: July 23, 2008, 07:21:07 pm »

Yikes - never post admin account data publicly. I have edited out the admin account data. Disable that account as a safety precaution.
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #2 on: July 23, 2008, 07:22:39 pm »

sorry, done that now - thought that was the process before anyone would help me!
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #3 on: July 23, 2008, 07:31:55 pm »

any idea on the original problem?
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #4 on: July 23, 2008, 08:50:20 pm »

the debug info on the "list of new files" page:

Code: [Select]
USER:
------------------
Array
(
    [ID] => ce46146b06306d0c0d1f1f4b490b987d
    [am] => 1
    [lang] => english_gb
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => jezf
    [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 `jezf_gallery`.cpg14x_sessions where time<1216835322 and remember=0; (0s)
    [3] => delete from `jezf_gallery`.cpg14x_sessions where time<1215629322; (0s)
    [4] => select user_id from `jezf_gallery`.cpg14x_sessions where session_id = '8106d39c012c890f233efdc963595ad5' (0s)
    [5] => select user_id as id, user_password as password from `jezf_gallery`.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 `jezf_gallery`.cpg14x_users AS u INNER JOIN `jezf_gallery`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `jezf_gallery`.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 `jezf_gallery`.cpg14x_sessions set time='1216838922' where session_id = '8106d39c012c890f233efdc963595ad5' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-07-23 19:48:43' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='90.193.8.125' OR ip_addr='90.193.8.125' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [16] => SELECT filepath, filename FROM cpg14x_pictures WHERE filepath LIKE 'aj0708/test%' (0s)
    [17] => SELECT aid, title FROM cpg14x_albums WHERE category = 0 (0s)
    [18] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg14x_albums as a, cpg14x_categories as c WHERE a.category = c.cid AND a.category < '10000' (0s)
    [19] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
                                                        FROM cpg14x_albums AS a
                                                        INNER JOIN `jezf_gallery`.cpg14x_users AS u
                                                        ON category = (10000 + 1) AND user_id = 1 ORDER BY title (0s)
)

==========================
GET :
------------------
Array
(
    [startdir] => aj0708/test
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.6 - OK
------------------
mySQL version: 5.0.27-Debian_0.dotdeb.1
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support:
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.27
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.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.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
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 | system,exec,shell_exec,passthru,set_time_limit,error_log,ini_alter,dl,mb_send_mail,proc_open,pfsockopen,openlog,syslog,readlink,symlink,link,leak,fsockopen,popen,escapeshellcmd,apache_child_terminate apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,curl_init | system,exec,shell_exec,passthru,set_time_limit,error_log,ini_alter,dl,mb_send_mail,proc_open,pfsockopen,openlog,syslog,readlink,symlink,link,leak,fsockopen,popen,escapeshellcmd,apache_child_terminate apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,curl_init
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/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 | 20 | 20
max_input_time | 30 | 30
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 0.075 seconds - 20 queries in 0.002 seconds - Album set : ; Meta set: ;
« Last Edit: July 23, 2008, 09:28:35 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload - suddenly not working?
« Reply #5 on: July 23, 2008, 09:28:07 pm »

Nobody asked for the debug_output.
thought that was the process before anyone would help me!
The process is quite clear. Do exactly as suggested in the docs, section "asking for support on upload issues"
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #6 on: July 23, 2008, 10:30:32 pm »

the user "some_user" has now been created as a registered user, with upload privileges
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: batch upload - suddenly not working?
« Reply #7 on: July 24, 2008, 03:18:07 am »

I followed the link on your first post. I can't login because I have a user (some_user) but I don't have a password.

But, before you post the password in order to let your homework to someone else. Did you do as docs and Joachim Müller said?
Quote
Do exactly as suggested in the docs, section "asking for support on upload issues"
.

Do it, then post.  ;)
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #8 on: July 24, 2008, 08:59:39 am »

I have read the document fully. It is strange, because it works with some photos and I have no problem, but with other photos the problem remains. I have tried renaming them, and they are not much bigger or smaller than each other in terms of filesize. The password is test.
Thank you
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #9 on: July 24, 2008, 09:15:13 am »

I have had to change the password, I have sent the new password to you in a PM
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #10 on: July 24, 2008, 10:35:39 am »

i have attached a screen shot of the problem. I have given the folders 777 permissions. I am not receiving any error message, its just that the preview icons are not shown on the "list new files" page, so i cannot add to the gallery.
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #11 on: July 24, 2008, 04:29:06 pm »

I have now reinstalled my gallery completely and have made some progress. Some of my pics are now showing the thumbnail before adding them to the gallery, whereas some are still showing the red x inside a white triangle. Which is a bit strange to me, as they are all in the same folder. Does anyone know what I am missing?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload - suddenly not working?
« Reply #12 on: July 24, 2008, 05:08:14 pm »

I have had to change the password, I have sent the new password to you in a PM
He hasn't asked to be PMed. You're supposed to post, not send PMs!

I have read the document fully.
Maybe you have read it, but you haven't done as suggested there.

i have attached a screen shot of the problem. I have given the folders 777 permissions. I am not receiving any error message, its just that the preview icons are not shown on the "list new files" page, so i cannot add to the gallery.
Stop this nonsense. Do as suggested. I'm not willing to allow any more of this hide-and-seek...

I have now reinstalled my gallery completely
That was a silly move.

Does anyone know what I am missing?
Yes: start playing by the rules. Read the docs and do as suggested there. If you can't, then go and play outside with the other kids.
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #13 on: July 24, 2008, 05:25:29 pm »

i'm sorry if i have offended you, and i don't mean to upset you. i'm really not sure what is wrong, as now some pics show the thumbnail and others dont, in the same folder.
i have followed the docs, which state to 1. check the permissions, 2. make a test user and post the link, and 3. turn on the debug mode. i have done this, and am now posting the link to my forum.
(the path to the folder i am having trouble with is albums\aj0708\test)
link to forum: jezf.quotaless.com/index.php
username: test, pass: test

thank you
Logged

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #14 on: July 24, 2008, 05:41:15 pm »

ahh i get it now! the error is: Fatal error: Allowed memory size of 16777216 bytes exhausted

i have searched this forum for the error, and found that it is a server side issue, nothing i can do apart from resize the height of the pics.

unless there is some thing i can do in the config of the coppermine?

many thanks
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: batch upload - suddenly not working?
« Reply #15 on: July 24, 2008, 05:51:56 pm »

It doesn't has any sense to support you. You don't read our replys.
Your breaking so many rules in the forum.

Quote
nothing i can do apart from resize the height of the pics
Keep searching.

This is about a total different issue, this topic must be closed imo.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

miked12

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: batch upload - suddenly not working?
« Reply #16 on: July 24, 2008, 05:58:54 pm »

fyi i have followed the docs word by word. this is supposed to be a help forum, what an unhelpful bunch you are.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload - suddenly not working?
« Reply #17 on: July 24, 2008, 08:53:43 pm »

ahh i get it now! the error is: Fatal error: Allowed memory size of 16777216 bytes exhausted
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize
i have searched this forum for the error, and found that it is a server side issue
Exactly!

unless there is some thing i can do in the config of the coppermine?
Of course not - it's a matter of your webserver - nothing that could be circumvented by a mysterious coppermine config option, since there is no config option named "apply magic".

this is supposed to be a help forum, what an unhelpful bunch you are.
Cool down - you have a week before being allowed to post (partial ban). Rudeness won't win you friends.
Logged

miked13

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [Solved]: batch upload - suddenly not working?
« Reply #18 on: July 25, 2008, 12:26:10 am »

moron - i can just keep on creating new usernames

why be on the help forum if you dont want to help - rather sqawk like a demented parrot "read the docs"

it would have saved us both time if you had told me of the problem from the start - and dont pretend you didnt know.

twat
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: batch upload - suddenly not working?
« Reply #19 on: July 25, 2008, 06:54:55 am »

That's your life-time ban. Bye. Keep on registering if you think that this is a bright idea.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.