forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: honesttussey on July 21, 2006, 05:57:14 am

Title: Only files with the following extensions are accepted
Post by: honesttussey on July 21, 2006, 05:57:14 am
Only files with the following extensions are accepted :

jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx... (loads of differnt formats ommited)

I get that error message with a folder full of jpeg. I've tried renaming them foobar.jpg, foobar.JPG

I've done everything in the troubleshooting section.

I'm not the only one suffering from this too.
http://forum.coppermine-gallery.net/index.php?topic=32947.0
Title: Re: Only files with the following extensions are accepted
Post by: Joachim Müller on July 21, 2006, 06:39:37 am
I've done everything in the troubleshooting section.
No, you haven't:
Quote
4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.
Title: Re: Only files with the following extensions are accepted
Post by: honesttussey on July 25, 2006, 04:08:58 am
Okay single file upload works. Batch still doesn't not. You can login to my cpg @

http://tussey.dreamhosters.com/cpg/cpg148/

l/p = test/test

Batch File add still throws the error. Here is the additional debug info
File: /home/.hercat/tussey/tussey.dreamhosters.com/cpg/cpg148/searchnew.php - Line: 245

It's weird because batch add worked for the first two albums then it died.  ???


USER:
------------------
Array
(
    [ID] => 86d94807ac8c3e3ab63501f5b6c42687
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [sort] => da
)

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

    [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
(
    [pos] => -77
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 5.0.18-standard-log
------------------
Coppermine version: 1.4.8(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 1
Client API version 5.0.16
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
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
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/local/lib/php | .:/usr/local/lib/php
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  | /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 | 7M | 7M
post_max_size | 8M | 8M
==========================
Page generated in 0.206 seconds - 26 queries in 0.071 seconds - Album set : ; Meta set: ;
Title: Re: Only files with the following extensions are accepted
Post by: Joachim Müller on July 25, 2006, 06:47:00 am
You keep disrespecting what the upload troubleshooting section says:
Quote
Do not post debug_output unless requested.
I'm out of this thread.
Title: Re: Only files with the following extensions are accepted
Post by: honesttussey on July 25, 2006, 10:05:20 pm
You keep disrespecting what the upload troubleshooting section says:I'm out of this thread.

That's cool. I'm outta this php software. Delete.