It's no more possible to upload files to the gallery It's no more possible to upload files to the gallery
 

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

It's no more possible to upload files to the gallery

Started by wuschel_lux, April 03, 2007, 08:52:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wuschel_lux

Hi all,

I have a big problem uploading files to my gallery.
The gallery worked perfect for about 2 month ... since today, I made no changes on it, I cant upload anymore, neither with http Upload nor wir XP-Publish.

I can select the file to upload a .jpg (about 803KB) to the galley. Selct upload and after a few minutes I get always an Error page:

Fehler: Verbindung unterbrochen
Die Verbindung zum Server wurde zurückgesetzt, während die Seite geladen wurde.

    *   Die Website könnte vorübergehend nicht erreichbar sein, versuchen Sie es bitte später nochmals.

    *   Wenn Sie auch keine andere Website aufrufen können, überprüfen Sie bitte die Netzwerk-/Internetverbindung.

    *   Wenn Ihr Computer oder Netzwerk von einer Firewall oder einem Proxy geschützt wird, stellen Sie bitte sicher,
      dass Firefox auf das Internet zugreifen darf.


Sorry but for this german text but my system is installed in german.

The gallery could be found under: www.volleyball.lu
Test username test password 1234 (this account has also uploadrights)

Could you please help me.
Thanks a lot in advance

wuschel_lux

Here also my text for the debugging mode:
USER:
------------------
Array
(
    [ID] => bc2108429925f5c39295354ac98419b5
    [am] => 1
    [lang] => german
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 23
    [user_name] => test
    [groups] => Array
        (
            [0] => 5
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 1
    [group_name] => Fotograf
    [upload_form_config] => 1
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 5
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0s)
    [1] => select * from cpg1410_plugins order by priority asc; (0s)
    [2] => delete from `web858u1`.cpg1410_sessions where time<1175579875 and remember=0; (0s)
    [3] => delete from `web858u1`.cpg1410_sessions where time<1174373875; (0s)
    [4] => select user_id from `web858u1`.cpg1410_sessions where session_id=md5("757268e175eb8aa93ccdadd17ba255b0d1dca9d158e08a390852a2da1914aaad"); (0s)
    [5] => select user_id as id, user_password as password from `web858u1`.cpg1410_users where user_id=23 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `web858u1`.cpg1410_users AS u INNER JOIN `web858u1`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='23' (0s)
    [7] => SELECT user_group_list FROM `web858u1`.cpg1410_users AS u WHERE user_id='23' 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 cpg1410_usergroups WHERE group_id in (5) (0s)
    [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 5 (0s)
    [10] => update `web858u1`.cpg1410_sessions set time='1175583475' where session_id=md5('757268e175eb8aa93ccdadd17ba255b0d1dca9d158e08a390852a2da1914aaad'); (0s)
    [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 23 (0.001s)
    [12] => SELECT * FROM cpg1410_shop_config ORDER BY 'priority' (0s)
    [13] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
    [14] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('23', 'test', '194.154.195.6', NOW()) (0s)
    [15] => SELECT count(*) FROM  cpg1410_pms WHERE owner=23 (0s)
    [16] => SELECT count(*) FROM  cpg1410_pms WHERE owner=23 AND showed='0' (0s)
    [17] => SELECT count(*) FROM  cpg1410_buddy WHERE user_id=23 (0s)
    [18] => SELECT count(*) FROM  cpg1410_buddy_req WHERE buddy_to=23 (0s)
    [19] => DELETE FROM cpg1410_banned WHERE expiry < '2007-04-03 07:57:55' (0s)
    [20] => SELECT * FROM cpg1410_banned WHERE (ip_addr='194.154.195.6' OR ip_addr='194.154.195.6' OR user_id=23) AND brute_force=0 (0s)
    [21] => SELECT aid FROM cpg1410_albums WHERE visibility != '0' AND visibility !='10023' AND visibility NOT IN (5) (0s)
    [22] => SELECT a.aid FROM cpg1410_albums as a INNER JOIN cpg1410_buddy AS b on a.category=b.buddy_id + 10000 WHERE b.user_id = 23 AND a.visibility = '-1' AND buddy_ok = 'YES' OR category = 10023 (0s)
    [23] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (5)) ORDER BY title (0.001s)
    [24] => SELECT aid, title FROM cpg1410_albums WHERE category='10023' ORDER BY title (0.001s)
    [25] => DELETE FROM cpg1410_temp_data WHERE timestamp < 1175579875 (0.032s)
)

==========================
GET :
------------------
Array
(
)

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

==========================
Page generated in 0.474 seconds - 26 queries in 0.035 seconds - Album set : AND aid NOT IN (12) ; Meta set: ;

Sami

Do exactly as Upload troubleshooting docs said
‍I don't answer to PM with support question
Please post your issue to related board

wuschel_lux

Thanks, I followed now the instructions ... but the same error, here an other debug text

USER:
------------------
Array
(
    [ID] => afb4e191144f99ce0e13cd4c2749afbd
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 468
            [1] => 469
            [2] => 470
            [3] => 471
            [4] => 543
        )

    [lap] => 1
    [search] => Array
        (
            [search] => flvb-team
            [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] => 2
    [user_name] => Francis Manderscheid
    [groups] => Array
        (
            [0] => 1
            [1] => 5
        )

    [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] => 0
    [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
(
    [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0s)
    [1] => select * from cpg1410_plugins order by priority asc; (0s)
    [2] => delete from `web858u1`.cpg1410_sessions where time<1175581434 and remember=0; (0s)
    [3] => delete from `web858u1`.cpg1410_sessions where time<1174375434; (0s)
    [4] => select user_id from `web858u1`.cpg1410_sessions where session_id=md5("62397d14120840bfdec9569777eee58847109b3d719735376829513891006840"); (0s)
    [5] => select user_id as id, user_password as password from `web858u1`.cpg1410_users where user_id=2 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `web858u1`.cpg1410_users AS u INNER JOIN `web858u1`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
    [7] => SELECT user_group_list FROM `web858u1`.cpg1410_users AS u WHERE user_id='2' 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 cpg1410_usergroups WHERE group_id in (1,5) (0s)
    [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
    [10] => update `web858u1`.cpg1410_sessions set time='1175585034' where session_id=md5('62397d14120840bfdec9569777eee58847109b3d719735376829513891006840'); (0s)
    [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 2 (0.001s)
    [12] => SELECT * FROM cpg1410_shop_config ORDER BY 'priority' (0s)
    [13] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
    [14] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('2', 'Francis Manderscheid', '194.154.195.6', NOW()) (0s)
    [15] => SELECT count(*) FROM  cpg1410_pms WHERE owner=2 (0s)
    [16] => SELECT count(*) FROM  cpg1410_pms WHERE owner=2 AND showed='0' (0s)
    [17] => SELECT count(*) FROM  cpg1410_buddy WHERE user_id=2 (0s)
    [18] => SELECT count(*) FROM  cpg1410_buddy_req WHERE buddy_to=2 (0s)
    [19] => DELETE FROM cpg1410_banned WHERE expiry < '2007-04-03 08:23:54' (0s)
    [20] => SELECT * FROM cpg1410_banned WHERE (ip_addr='194.154.195.6' OR ip_addr='194.154.195.6' OR user_id=2) AND brute_force=0 (0s)
    [21] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 ORDER BY title (0.185s)
    [22] => SELECT aid, title FROM cpg1410_albums WHERE category='10002' ORDER BY title (0.003s)
    [23] => DELETE FROM cpg1410_temp_data WHERE timestamp < 1175581435 (0.011s)
    [24] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0.001s)
    [25] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='34' AND cat.cid=alb.category (0.001s)
    [26] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='38' AND cat.cid=alb.category (0.001s)
    [27] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0.001s)
    [28] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='28' AND cat.cid=alb.category (0s)
    [29] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='19' AND cat.cid=alb.category (0s)
    [30] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
    [31] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='25' AND cat.cid=alb.category (0s)
    [32] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
    [33] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
    [34] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='35' AND cat.cid=alb.category (0s)
    [35] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
    [36] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
    [37] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='36' AND cat.cid=alb.category (0s)
    [38] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='37' AND cat.cid=alb.category (0s)
    [39] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='24' AND cat.cid=alb.category (0s)
    [40] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
    [41] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
    [42] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
    [43] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0s)
    [44] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='23' AND cat.cid=alb.category (0s)
    [45] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
    [46] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
    [47] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='33' AND cat.cid=alb.category (0s)
    [48] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
    [49] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
    [50] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
    [51] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='26' AND cat.cid=alb.category (0s)
    [52] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='29' AND cat.cid=alb.category (0s)
    [53] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='40' AND cat.cid=alb.category (0s)
    [54] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='39' AND cat.cid=alb.category (0s)
    [55] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
    [56] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
    [57] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='46' AND cat.cid=alb.category (0s)
    [58] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='41' AND cat.cid=alb.category (0s)
    [59] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='42' AND cat.cid=alb.category (0s)
    [60] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='43' AND cat.cid=alb.category (0s)
    [61] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='44' AND cat.cid=alb.category (0s)
    [62] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='45' AND cat.cid=alb.category (0s)
    [63] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
    [64] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
)

==========================
GET :
------------------
Array
(
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.6 - OK
------------------
mySQL version: 5.0.32-Dotdeb_1.dotdeb.1-log
------------------
Coppermine version: 1.4.10 modpack v1(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.32
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 | /home/www/empty/ | /home/www/empty/
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /home/www/empty/ | /home/www/empty/
sql.safe_mode | Off | Off
disable_functions | passthru,proc_close,proc_open,popen,shell_exec,system | passthru,proc_close,proc_open,popen,shell_exec,system
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | /home/www/web858/web858u1:/home/www/other/errors | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/queuemail web858 500 3600 | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 128M | 128M
post_max_size | 128M | 128M
==========================
Page generated in 0.34 seconds - 65 queries in 0.204 seconds - Album set : ; Meta set: ;

Joachim Müller

No, you have not followed the instructions:
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!
Re-read them extra carefully. Do not clutter this forum with unrequested debug_output!

Error message is
QuoteCritical error
Failed to create directory albums/userpics/10023 !

File: /home/www/web858/web858u1/html/fotogallery/db_input.php - Line: 367
Make sure to have applied permissions as suggested in the permissions section of the docs. Read up safe mode issues there as well.

wuschel_lux

Hi GauGau,

I'm sorry for "spamming" the forum with the debug logs.

I also checked the the permissions to the mentioned folders, They were all set to 755 and worked for a long time without problem. I changed now like described in the doc to 777.

For the moment it works again.

Thanks for the help and also for this great and fantastic gallery.

Regards

wuschel_lux

Hmmm, I will get crazy ... I changed now to not display the debug modus to everyone and change the parameter that users are allowed to upload max 3 files and the problem is still the same ...
what I do not understand is that the gallery and upload worked perfekt for a long time and from one day to the other, without making changes, the upload fails.
What can I do more to solve this problem?

I hope someon can help me.

Thanks in advance

wuschel_lux

Hi all,

yesterday I had posted an upload problem http://forum.coppermine-gallery.net/index.php?topic=42786 (marked solved)

Now it's possible to upload small pics about 100kB. But larger files abou 500kB, I works only some times :( and I saw in my FTP programm that they were stored under .../albums/userpics/ and not like usally under .../albums/userpics/100002 for example.

This is a big problem for me, than all the finals are over and the fotographer wanted to upload they photos ...

I hope sameone can help me

Joachim Müller

Quote from: wuschel_lux on April 04, 2007, 04:54:19 PM
what I do not understand is that the gallery and upload worked perfekt for a long time and from one day to the other, without making changes, the upload fails.
Your webhost probably changed something on the webserver setup.

Quote from: wuschel_lux on April 04, 2007, 04:54:19 PM
What can I do more to solve this problem?
Re-apply the permissions, then go to coppermine's config and change "Files and thumbnails advanced settings" > "Default mode for directories" and "Default mode for files" accordingly.

Joachim Müller

Read the sticky thread "Trouble-shooting the upload process." on this board to find out about server-sided restrictions.

wuschel_lux

Now I hope I have all checked and here is the result:

PHP values checked:

DirectiveLocal ValueMaster Value
max_input_time6060
upload_max_filesize128M128M
post_max_size128M128M
memory_limit96M96M
file_uploadsOnOn
upload_tmp_dir/home/www/web858/web858u1/.tmp/no value
allow_url_fopenOffOff
max_execution_time6060

CHMOD checked:

albums777
userpics777
edit777
1000X755*

* It is no more possible to set to 777 with FTP. Is 755 also sufficient?

CPG Config checked:

The album directoryalbums/
The directory for user filesuserpics/
The prefix for intermediate picturesnormal_
The prefix for thumbnailsthumb_
Default mode for directories0777
Default mode for files0644

I am waiting for an answer of my hoster if he has done some modifications on server side.

I tested to upload a file to the gallery, and it was written under userpics/ and not the user specific folder.

Joachim Müller

Quote from: wuschel_lux on April 05, 2007, 08:15:27 AM
I tested to upload a file to the gallery, and it was written under userpics/ and not the user specific folder.
Then you must have enabled silly_safe_mode. Turn it off if you don't need it.

wuschel_lux

Quote from: GauGau on April 05, 2007, 08:19:03 AM
Then you must have enabled silly_safe_mode. Turn it off if you don't need it.
Thanks a lot GauGau. You are right I tested this by reading the forum and docs. I turned of and the distribution to the corresponding folders works fine again.

But the initial upload problem exist's anyway, that I can not more multiple larger files without error.

Are the server parameter OK?


wuschel_lux

Quote from: GauGau on April 04, 2007, 07:59:25 PM
Re-apply the permissions, then go to coppermine's config and change "Files and thumbnails advanced settings" > "Default mode for directories" and "Default mode for files" accordingly.

This might be confusing, but I stared a new threat because this one was already mared as solved.
The server param are here http://forum.coppermine-gallery.net/index.php?topic=42830.0

Sorry for that

Joachim Müller

Quote from: wuschel_lux on April 05, 2007, 08:35:19 AM
Are the server parameter OK?
I have no idea. Use trial and error to find out if you don't have access to your server logs. You are having issues with webserver setup, not with coppermine, I can't advice.

Quote from: wuschel_lux on April 05, 2007, 08:38:46 AM
This might be confusing, but I stared a new threat because this one was already mared as solved.
The server param are here http://forum.coppermine-gallery.net/index.php?topic=42830.0

Sorry for that
I merged the two threads. If a thread get's marked as solved, you're not suppossed to reply to it. BUT: if the issue you initially reported returns, then you're welcome to continue posting to the thread that is marked as solved. That's why we don't lock threads once they are solved (unless people abuse the ability to reply to solved threads).

Anyway, let's continue with this unified thread now ;)

wuschel_lux

Meanwhile I have a reply from my hoster ...

They have not changed anything to the server. So I stand again at the beginning.
For the moment it's possible to upload files >1,5MB to the gallery (limit in config is 2048)

A guy from the hoster will have also a look to this issue and will try to find a solution.