Batch Add File "No new file found" Batch Add File "No new file found"
 

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

Main Menu

Batch Add File "No new file found"

Started by Jrathboneinfo, September 09, 2010, 01:18:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jrathboneinfo

Hi, I am new to coppermine and I'm having big problems. I used batch add file before and it worked before, but for some reason today when I went to add new pictures it says "no new file found" I made sure all the albums are set at 777 (755 doesnt work for me) there are no invaild characters in the file names, I read the documentation for it and everything. I'm really getting fustrated.  >:(

Thank you.

Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

#2
I did that and Batch Add file still doesnt work.

I posted the debug Info.

USER:
------------------
Array
(
   [ID] => f6b0d9e23e012079fff2f0c1dca0ae3b
   [am] => 1
   [lang] => english
   [search] => Array
       (
           [search] => sbl
           [album] => search
           [title] => on
           [newer_than] =>
           [caption] => on
           [older_than] =>
           [keywords] => on
           [type] => AND
           [params] => Array
               (
                   [title] => on
                   [caption] => on
                   [keywords] => on
               )

       )

   [liv] => Array
       (
           [0] => 14
           [1] => 43
           [2] => 118
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => admin
   [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 cpg_filetypes; (0s)
   [1] => select * from cpg_plugins order by priority asc; (0s)
   [2] => delete from `galleryjrathbone`.cpg_sessions where time<1283985987 and remember=0; (0s)
   [3] => delete from `galleryjrathbone`.cpg_sessions where time<1282779987; (0s)
   [4] => select user_id from `galleryjrathbone`.cpg_sessions where session_id = 'dff99adc3a31d8b9d95403a591c041fe' (0s)
   [5] => select user_id as id, user_password as password from `galleryjrathbone`.cpg_users where user_id=1 (0s)
   [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `galleryjrathbone`.cpg_users AS u INNER JOIN `galleryjrathbone`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
   [7] => SELECT user_group_list FROM `galleryjrathbone`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
   [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
   [10] => update `galleryjrathbone`.cpg_sessions set time='1283989587' where session_id = 'dff99adc3a31d8b9d95403a591c041fe' (0s)
   [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
   [12] => DELETE FROM cpg_banned WHERE expiry < '2010-09-08 17:46:27' (0s)
   [13] => SELECT * FROM cpg_banned WHERE (ip_addr='99.182.125.179' OR ip_addr='99.182.125.179' OR user_id=1) AND brute_force=0 (0s)
   [14] => SELECT aid, title FROM cpg_albums WHERE 1 (0s)
   [15] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
   [16] => UPDATE cpg_config SET value = '0' WHERE name = 'browse_batch_add' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
   [browse_batch_add] => 0
   [update_config] => 1
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.6 - OK
------------------
mySQL version: 5.0.77
------------------
Coppermine version: 1.4.27(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.77
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient  
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
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/share/pear:/usr/share/php | .:/usr/share/pear:/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 | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 1002M | 1002M
post_max_size | 28M | 28M
==========================
Page generated in 0.053 seconds - 17 queries in 0 seconds - Album set : ; Meta set: ;

Jeff Bailey

Your doing the opposite of what I've asked of you.
please read =>
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support

It's asking you to post a link, a non-admin test account and make several configuration changes.
It also says not to post the debug info, instead turn it on for everyone to see  ;)
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

Sorry, I'm very fustrated at this point. :(

URL: http://gallery.jrathboneinfo.com/

Login info:  Test/test

Jeff Bailey

please double check
Quote
when using http uploads, coppermine needs to write the files that are being uploaded into the subfolders that you or your users create in the coppermine albums folder

regardless of the upload method, coppermine will create a thumbnail file and an intermediate file (if you have configured coppermine accordingly) and store it in a sub-folder in the "albums" directory, as well

as I received the error => Failed to create directory albums/userpics/10003

edit- meant to say
please double check permissions on albums/ and albums/userpics
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

Now I get this.
Is this the reason why I can't use Batch Add files?


QuoteThe file 'albums/userpics/10001/033.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
convert -quality 80 -antialias -geometry 100x100 'albums/userpics/10001/033.jpg' 'albums/userpics/10001/thumb_033.jpg'



The convert program said:
sh: convert: command not found

Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

What excaulty is ImageMagick? I'm very new to all of this.. I fail >.<

Jeff Bailey

ImageMagick is an image conversion utility (used to resized your photos, etc.)
You need to have a path set in your config for it to work. ex. /usr/bin/
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumb_advanced_im_path

If you don't know if ImageMagick is installed, or you don't know the path try GD2 instead
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumb_advanced_resize_method

These settings can be found on your config page under 'Files and thumbnails advanced settings'
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

:O IT WORKS!! Thank you, Thank you, Thank youu!

Jeff Bailey

please resolve your thread as outlined here => http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631

and your welcome.
Next time remember to read the documentation it is filled with helpful information, as you can see  ;)
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

But wait.. That works, why doesnt Batch add file work? I need that because I can't upload more then 50 pics using the upload file.

But Thanks for your help! I appricate it!  :D

Jeff Bailey

batch add still doesn't work?
im' sending a pm for admin details.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo


Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

OMG It works! Thank you so much!

Can I delete the file that says Test?

Jeff Bailey

I already did. All I did was run update.php did you recently upgrade and forget to run it?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jrathboneinfo

No, I got this galley about a week ago, this is how I got it. My host installed everything.

Jeff Bailey

Ahh, that is why we don't support auto installers (they cause problems like this).
You should perform a upgrade as outlined in the docs to make sure everything else will work correctly.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14

... or if you can you should upgrade to 1.5.8 as support for 1.4.x will stop soon.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any
http://forum.coppermine-gallery.net/index.php/topic,66659.0.html

Quote from: Jeff Bailey on September 09, 2010, 03:30:00 AM
please resolve your thread as outlined here => http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford