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 webananda, February 04, 2005, 06:31:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

webananda

This is a great product!  Its obviously a labor of love and it shows!  Thank you for making it available!

I have installed 1.3.2 and everything is working fine except I am unable to Batch Add.

My server uses the current Zend Optimizer 2.5.7, safe mode is off, I have placed temp and tmp in my root folder, I have everything from public_html on down the tree set to 777 (750 just gives lots of errors).  I create my upload directory in albums, not userpics, I used Dreamweaver to FTP into that folder several avi and jpg files, movies and their thumbs.  Single upload mode works.  I am able to see the directory I created (upload_dir) when I select the Batch Add menu option.  But when ever I click on the directory, I only see a "No new file was found" message.

Here is my server info:

General server information
cPanel Build 9.9.9-RELEASE 121
Operating system Linux
Kernel version 2.6.10-1.9_FC2smp
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.8.3
Path to PERL /usr/bin/perl
Installed Perl Modules Click to View
PHP version 4.3.10
MySQL version 4.0.23-standard
Path to sendmail /usr/sbin/sendmail
cPanel Pro 1.0 (RC2) 


My debug output:

USER:
------------------
Array
(
    [ID] => 20cb8e0124a41742c7a600e3a6553746
    [am] => 1
    [liv] => Array
        (
           
  • => 1
                [1] => 2
                [2] => 6
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => admin
        [user_password] => ********
        [user_lastvisit] => 2005-02-03 23:06:13
        [user_regdate] => 2005-02-03 20:39:17
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [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] => 1
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '644150db6e4c120a12bc03089b923050'
        [2] => 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 cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1107494222
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='67.180.50.146' OR ip_addr='67.180.50.146' OR user_id=1
        [6] => SELECT filepath, filename FROM cpg132_pictures WHERE filepath LIKE 'upload_dir%'
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.23-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 1
    Active Links 2
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1.1
    Linked Version 1.2.1.1
    ==========================
    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 | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.038 seconds - 7 queries in 0.001 seconds - Album set :


    Please help.  I am stumped at this point.  I very much want to use Coppermine and I have almost 100 videos and thumbs to upload.

    Here is my site: my coppermine site

    Administrator login:
    user=xxxx
    password=xxxxx

    Thank you.

Tranz

Hello,

Please do not post admin level accounts in a public board. I have x'd the entries. I must say thank you for providing the details that we wish other users would provide without us asking them.

Please post non-admin test account login.

How big are the files you are trying to upload?

webananda

Thank you for such a quick reply!  I appologize for the admin account posting.  Its a test site, so I did not think.  Sorry.
Here is another login:
user=guest
password=guest

Please feel free to log in as admin if you need to.
The files I am trying to upload are between 2 and 3 Megabyte avi files.




webananda

If it is any help, I placed the following script into the directory : coppermine/albums/upload_dir, the one I'm having trouble with:
<?php 
if ($handle opendir('.')) {
while (
false !== ($file readdir($handle))) { 
if (
$file != "." && $file != "..") { 
echo 
"$file\n"

}
closedir($handle); 
}
?>

It worked fine.

webananda

I found a work around by commenting out some code in 'searchnew.php' on line 199:
           if (/*strncmp($file, $CONFIG['thumb_pfx'], strlen($CONFIG['thumb_pfx'])) != 0 &&*/
strncmp($file, $CONFIG['normal_pfx'], strlen($CONFIG['normal_pfx'])) != 0 && $file != 'index.html')


On the Admin Config page, I had opted to not have a prefix on my thumbnail pictures.  
Apparently, this code expects a prefix.  I'm not sure this is the right place to fix it, but it got me around my problem and I post here in case it can help others.

Now Batch Upload works fine.  I really love this software...best gallery package I've seen on the net.

Thanks.

Joachim Müller

@devs: we should add a check to the config page to verify that the thumbnail prefix is not empty!

Joachim