Can't upload any photo's Can't upload any photo's
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Can't upload any photo's

Started by Michel03, July 20, 2007, 09:37:16 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Michel03

Hello, first of all. Sorry for my english it's not the best in the world.. I'n from Holland.

I just installed coppermine photogallery an i mad a categorie, an album ans tryed to upload some .jpg photo's but I get this error:

Can't edit the files. (offcourse in dutch)

How can this be happend?

Thnx for now Michel

Michel03

upload by FTP and than by photogallery

Joachim Müller


Michel03

OK, I did everything as told and this is what came out.

USER:
------------------
Array
(
    [ID] => 53b1ed8f5d71e9793ed06856c48ef1eb
    [am] => 1
    [lang] => dutch
)

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

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0s)
    [1] => select * from cpg1411_plugins order by priority asc; (0.001s)
    [2] => delete from `id024_photo`.cpg1411_sessions where time<1185095310 and remember=0; (0.024s)
    [3] => delete from `id024_photo`.cpg1411_sessions where time<1183889310; (0.001s)
    [4] => select user_id from `id024_photo`.cpg1411_sessions where session_id=md5("15462550864f7948e8131a86e7c83fe25601deb44d80b01db070dbd6ccd559b5"); (0s)
    [5] => select user_id as id, user_password as password from `id024_photo`.cpg1411_users where user_id=1 (0s)
    [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 `id024_photo`.cpg1411_users AS u INNER JOIN `id024_photo`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `id024_photo`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [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 cpg1411_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0s)
    [10] => update `id024_photo`.cpg1411_sessions set time='1185098911' where session_id=md5('15462550864f7948e8131a86e7c83fe25601deb44d80b01db070dbd6ccd559b5'); (0.006s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-07-22 10:08:31' (0s)
    [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='86.80.50.87' OR ip_addr='86.80.50.87' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg1411_albums WHERE 1 (0s)
    [15] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 1
    [pics] => Array
        (
            [0] => i0000
            [1] => i0001
            [2] => i0002
            [3] => i0003
            [4] => i0004
            [5] => i0005
            [6] => i0006
            [7] => i0007
            [8] => i0008
            [9] => i0009
            [10] => i0010
            [11] => i0011
            [12] => i0012
            [13] => i0013
            [14] => i0014
            [15] => i0015
            [16] => i0016
            [17] => i0017
            [18] => i0018
            [19] => i0019
            [20] => i0020
            [21] => i0021
            [22] => i0022
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => My8xLmdpZg==
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => My8yLmdpZg==
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => My8zLmdpZg==
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => My9IUElNMDIyMC5naWY=
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => My9IUElNMDIyMS5naWY=
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => My9IUElNMDIyOC5naWY=
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => My9IUElNMDIyOS5naWY=
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => My9IUElNMDIzMC5naWY=
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => My9IUElNMDIzMy5naWY=
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => My9IUElNMDIzNC5naWY=
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => My9IUElNMDIzNS5naWY=
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => My9IUElNMDIzNi5naWY=
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => My9IUElNMDIzNy5naWY=
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => My9IUElNMDIzOS5naWY=
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => My9IUElNMDI0MC5naWY=
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => My9IUElNMDI0MS5naWY=
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => My9IUElNMDI0OC5naWY=
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => My9IUElNMDI0OS5naWY=
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => My9IUElNMDI1MC5naWY=
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => My9IUElNMDI1MS5naWY=
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => My9IUElNMDI1Mi5naWY=
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => My9IUElNMDI1My5naWY=
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => My9IUElNMDI1NC5naWY=
    [album_lb_id_i0023] => d0000
    [picfile_i0023] => My9UaHVtYnMuZGI=
    [insert] => Invoegen van geselecteerde bestanden
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.12-standard-log
------------------
Coppermine version: 1.4.12(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support:
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.12
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include
MYSQL_LIBS -L/usr/local/mysql/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 | /home/id024/:/tmp:/usr/local/lib/php/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i -f id024@michelmadness.com | /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 | 4M | 4M
post_max_size | 8M | 8M
==========================
Page generated in 1.676 seconds - 16 queries in 0.032 seconds - Album set : ; Meta set: ;

Joachim Müller

Quote from: Michel03 on July 22, 2007, 12:06:59 PM
OK, I did everything as told
Oh really? You did everything as suggested? That's funny - I had the impression that the upload troubleshooting section says quite the opposite of what you posted ::). Let me quote it for you here, highlighting the part that you obviously failed to read:
Quote4.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.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!

Michel03

I'm so sorry! :-[
I read it to fast...

the link is http://www.michelmadness.com/gal

Name: test_user
WW: test

I hope u can help me  :)

Nibbler

Allow uploads into the albums you want on the 'album properties' page.

Michel03

Quote from: Nibbler on July 22, 2007, 08:44:19 PM
Allow uploads into the albums you want on the 'album properties' page.

I can't find an "album properties" menu.

The only thing i can find is the properties for users and they allow everything.

Joachim Müller

That's amazing. You're the first user to report the properties button missing. Maybe you haven't looked carefully enough ::)? As suggested in the documentation (that you no doubt have read carefully, as board rules say that it is mandatory to have read them before being allowed to post here on this forum), you access the album properties by clicking "properties" next to the thumbnail that represents an album (surprisingly). Make sure that you are in admin mode (in fact, never leave admin mode unless you know what it does).

Joachim

Michel03

I read it, butt as told before, I'm Dutch and i'm not very good in english.

But thanks 2u I found it so I chanced it by all the albums.

Greetz Michel

Michel03

Quote from: Michel03 on July 23, 2007, 06:51:50 PM
I read it, butt as told before, I'm Dutch and i'm not very good in english.

But thanks 2u I found it so I chanced it by all the albums.

Greetz Michel

Hello, I saw that this topic is market as Solved.
Butt the upload still doens't work.

In my last reply I meant that I found that option and I changed it.
butt the problem is still not solved  :'(


Nibbler

You have an 'Impossible to move' error, so make sure the albums directory and all subdirectories are writable.