No new file was found No new file was 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

No new file was found

Started by javelinworld, June 14, 2006, 09:09:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

javelinworld

When I try to bacth add files it is said that I have "no new files" whereas there are 4 files !!

With debug mode I can read :
Notices
/searchnew.php
Warning line 226: is_dir() [function.is-dir]: Unable to access this file
Warning line 231: is_file() [function.is-file]: Unable to access this file


Debug info
USER:
------------------
Array
(
    [ID] => b8def440362065f6e257f9b3f1d802c7
    [am] => 1
    [lang] => english_gb
)

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

    [disk_max] => 10000
    [disk_min] => 10000
    [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] => 10000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.001s)
    [1] => select * from cpg133_plugins order by priority asc; (0.001s)
    [2] => delete from `javelinworld3`.cpg133_sessions where time<1150308428 and remember=0; (0s)
    [3] => delete from `javelinworld3`.cpg133_sessions where time<1149102428; (0s)
    [4] => select user_id from `javelinworld3`.cpg133_sessions where session_id=md5("88ab5f5a6b2f060677653df5f24f613c59941c0892f1b6981363e1b77cdb6187"); (0.001s)
    [5] => select user_id as id, user_password as password from `javelinworld3`.cpg133_users where user_id=1 (0.001s)
    [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 `javelinworld3`.cpg133_users AS u INNER JOIN `javelinworld3`.cpg133_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `javelinworld3`.cpg133_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg133_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1 (0s)
    [10] => update `javelinworld3`.cpg133_sessions set time='1150312028' where session_id=md5('88ab5f5a6b2f060677653df5f24f613c59941c0892f1b6981363e1b77cdb6187'); (0s)
    [11] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg133_banned WHERE expiry < '2006-06-14 19:07:08' (0.001s)
    [13] => SELECT * FROM cpg133_banned WHERE (ip_addr='83.199.92.151' OR ip_addr='83.199.92.151' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg133_albums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0.001s)
    [16] => SELECT filepath, filename FROM cpg133_pictures WHERE filepath LIKE '2006_oslo%' (0.001s)
)

==========================
GET :
------------------
Array
(
    [startdir] => 2006_oslo
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.3-dev - OK
------------------
mySQL version: 5.0.22-nightly-20060515-debug
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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 1
Client API version 5.0.23-nightly-20060529
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/mysql/include/mysql
MYSQL_LIBS -L/usr/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | On | On
disable_functions | no value | no value
file_uploads | On | On
include_path | /mnt/117/sdb/3/4/javelinworld3/include:.:/usr/php4/lib/php | .:/usr/php4/lib/php/
open_basedir | /mnt/117/sdb/3/4/javelinworld3 | 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 | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 0.089 seconds - 17 queries in 0.013 seconds - Album set : ; Meta set: ;

Please help  :'(

edit (by Paver): Put debug_info into a code block, for readability.

Paver

Please do *not* provide debug_info unless requested by a supporter.  And when you do, put it into a code block, so it's easier to read your thread.

Check your permissions on those files.  is_dir() and is_file() will fail if they are not given permission on those files.  You usually need 755 for directories, but sometimes 777 is necessary, and 644 for files, sometimes 666.

kegobeer

javelin, you have another thread where this is being discussed.  Please don't start two threads for identical problems.  Locking this thread.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots