forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Gracious on January 19, 2008, 10:48:31 pm

Title: New User Can't upload pics to my site
Post by: Gracious on January 19, 2008, 10:48:31 pm
It all is so complicated!  I've been trying to upload pics to my site for the last few hours. 
I read this "FIRST AND FOREMOST: CHECK YOUR PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES.  ALL SHOULD BE 777 OR 755." I don't know how to find "/ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES" but somewhere I did see the parameters are 777.

Can someone help me please?  I am so pressed for time and just want a simple gallery to display my pics.

Thanks!



USER:
------------------
Array
(
    [ID] => 8f451cc920477f0c539cc8777dbb9f51
    [am] => 1
    [lang] => english
    [search] => Array
        (
            [search] => /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

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

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

==========================
Queries:
------------------
Array
(
    [album] => 2
    [MAX_FILE_SIZE] => 1048576
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.1.22-standard-log
------------------
Coppermine version: 1.4.12(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 4.1.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -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 | 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 | symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd | symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd
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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.11 seconds - 16 queries in 0.002 seconds - Album set : ; Meta set: ;
Title: Re: New User Can't upload pics to my site
Post by: Gracious on January 19, 2008, 11:07:06 pm
This is the error message I'm getting in reference to my last post.


The file 'albums/userpics/DSCN4679copy480~3.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/grayced/public_html/db_input.php - Line: 402
Title: Re: New User Can't upload pics to my site
Post by: Joachim Müller on January 20, 2008, 10:01:19 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support