"No new file was found" but image in folder "No new file was found" but image in folder
 

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

"No new file was found" but image in folder

Started by rockhopper, March 05, 2007, 03:21:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockhopper

I think I have an interesting one.  Not sure what the deal is.

Going through the batch upload process.  (which worked perfectly a couple weeks ago) I get a

No new file was found 

error message.

On the previous screen when choosing the directory, I can see the picture listed in the directory folder though.

[edit GauGau] Replaced hotlinked image with attachment [/edit]

Here is the link to the picture in question. There certainly is something there.

http://www.funonthefox.com/gallery/albums/test/abc.jpg


If I load the same image to an album that previously existed, it is found fine and uploaded.  After doing a search and seeing what other people have done.  I thought it might be album/picture name.  I have tried several combinations and the dumbed down ones you see is as basic as I could get.

The strange thing is the same image works when uploaded from previous album folder names, but it doesn't recognize any new album folder?

Any suggestions short of reinstalling would be appreciated, reinstall is about where I am now. 


btw- here is the debug mode on the error screen:

USER:
------------------
Array
(
    [ID] => 30f94f304c19d3db10093eeccb6d8c00
    [am] => 1
    [liv] => Array
        (
            [0] => 4019
            [1] => 4025
            [2] => 4022
            [3] => 4026
        )

    [lap] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 7
    [user_name] => *************
    [groups] => Array
        (
            [0] => 102
            [1] => 765
            [2] => 773
            [3] => 824
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [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] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 102
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg11d_filetypes; (0.001s)
    [1] => select * from cpg11d_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg11d_bridge (0s)
    [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `funonthe`.phpbb_users AS u, `funonthe`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '343c944bc6d114bb8f3be9a99f812211' AND u.user_id > 0 (0.001s)
    [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `funonthe`.phpbb_users AS u, `funonthe`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='7' (0.001s)
    [5] => SELECT ug.group_id+100 AS group_id FROM `funonthe`.phpbb_users AS u, `funonthe`.phpbb_user_group AS ug, `funonthe`.phpbb_groups as g WHERE u.user_id=ug.user_id AND u.user_id='7' AND g.group_id = ug.group_id AND  group_single_user = 0 (0.001s)
    [6] => 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 cpg11d_usergroups WHERE group_id in (102,765,773,824) (0.001s)
    [7] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 102 (0s)
    [8] => SELECT user_favpics FROM cpg11d_favpics WHERE user_id = 7 (0s)
    [9] => DELETE FROM cpg11d_banned WHERE expiry < '2007-03-04 21:16:14' (0s)
    [10] => SELECT * FROM cpg11d_banned WHERE (ip_addr='67.184.170.103' OR ip_addr='67.184.170.103' OR user_id=7) AND brute_force=0 (0s)
    [11] => SELECT aid, title FROM cpg11d_albums WHERE 1 (0.001s)
    [12] => SELECT COUNT(*) FROM cpg11d_pictures WHERE approved = 'NO' (0s)
    [13] => SELECT filepath, filename FROM cpg11d_pictures WHERE filepath LIKE 'test%' (0.008s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 5.0.19-standard
------------------
Coppermine version: 1.4.4(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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 4.1.20
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
Compiled Version 1.2.1.2
Linked Version 1.2.1.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 | ftp_connect, ftp_close, ftp_ssl_connect, ftp_login, socket_accept, socket_bind, socket_listen | ftp_connect, ftp_close, ftp_ssl_connect, ftp_login, socket_accept, socket_bind, socket_listen
file_uploads | On | On
include_path | .:/usr/share/pear | .:/usr/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i -froot@funonthefox.com | /usr/sbin/sendmail -t -i -froot@funonthefox.com
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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.076 seconds - 14 queries in 0.014 seconds - Album set : ; Meta set: ;


Thanks for looking

Nibbler

First of all update your gallery, you are 6 releases behind.

rockhopper

Quote from: Nibbler on March 05, 2007, 07:56:38 PM
First of all update your gallery, you are 6 releases behind.

I finally got around to taking care of this.  I have now upgraded my board to the most current version (4.10) and I am still having the same issues.

On the "please select a directory" I can see my images listed.  Once I select the "ok" box. I get "no new files found".  It works if I load the files into a folder that previously existed, but not with any new folders.

Any suggestions on how to solve this would be appreciated.


Joachim Müller


rockhopper

Quote from: GauGau on April 04, 2007, 08:05:32 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

sorry about that, I have gone through the necessary steps.

The test user account is:

username: test
password: test


I first thought it was a permissions issue and opened up all the folders.  I am still having the same issues.

I have been messing around with things and I think i have made it worse.  Previously I could not see new folders on the batch upload screen, but could see previous folders.  Now I cannot see any folders and get a no new folders in /albums message.


When I go to upload a picture through http manually.  I get this error:

Quote
The selected album/file does not exist !

File: /vservers/funonthe/htdocs/gallery/include/functions.inc.php - Line: 1315

but then I go to the gallery, and the picture is present there.





rockhopper

I did post a deep link to a photo on the board, but not a direct link to the board.

here is were it is located:

http://www.funonthefox.com/gallery/index.php


rockhopper

ok after an hour and half chatting with hostmysite (which are great) . 

It turns out I had an inconsistancy with my owner/group ids between the folders within the gallery.  Not sure how that happened, and not sure how coppermine defines the owner it is looking for when viewing such files. 

I looked in the config.inc.php and several otehr places but couldn't find an owner/group  defined so I am guessing it pulls it from the server.  I also did some searchs in the support forum but was unable to find how one would change the owner inside of coppermine. Anyone know this one?  Is it pulled from the server info?

It appears so far once everything was synced back up, it is now working.



Joachim Müller

Ownership in this case is not related to coppermine at all, but on file system level. Your webhost probably had to CHOWN for you. As suggested, this is not related to coppermine, but only a webhosting issue. Coppermine doesn't touch ownership of files and folders.

Are your issues solved then?

rockhopper

Quote from: GauGau on April 06, 2007, 11:58:55 AM
Are your issues solved then?

Yes the Gallery is working correctly.

I had 2 different owners and 2 different groups running around. 

When I would do a version check, through coppermine, the newer owner was the one that was not showing up for my "album" folder.  I could see the folder there with ftp, but according to version check it wasn't present.

It is solved, just trying to put some documentation on it out there in case someone comes across a similar issue.

paul__cz

Quote from: rockhopper on April 07, 2007, 01:10:21 AM
Yes the Gallery is working correctly.

I had 2 different owners and 2 different groups running around. 

When I would do a version check, through coppermine, the newer owner was the one that was not showing up for my "album" folder.  I could see the folder there with ftp, but according to version check it wasn't present.

It is solved, just trying to put some documentation on it out there in case someone comes across a similar issue.

Hi, I have this error massage "No new file was found" too. How I  fix this. I thing my webhosts change owner. Help upgrade coppermine? I have 1.4.19 verison. Have you some documentation?

Many thansk!
Paul.cz

Joachim Müller

Quote from: paul__cz on May 02, 2009, 12:52:38 PM
Hi, I have this error massage "No new file was found" too. How I  fix this.
Start a thread of your own instead of hijacking someone else's thread. Locking.

Quote from: paul__cz on May 02, 2009, 12:52:38 PMHelp upgrade coppermine? I have 1.4.19 verison. Have you some documentation?
Yes, it comes with the download inside the folder named "docs" and is available online as well: just click on the link at the top of this screen that is labelled "documentation", scroll downwards there untill you find the chapter "upgrading" in the table of contents and read that section. Laziness is not being tolerated.