forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: avekamil on February 21, 2007, 07:41:00 pm
-
Hello
I have just instaled CPG 1.4.10
When i try upload a picture from my hard disk - i have message : 0 uploads were successful.
When I upload picture by URL - it's working
Debug Info
USER:
------------------
Array
(
[ID] => 19aa5c5e704a1690b08706fd634ce334
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => avekamil
[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] => 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
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg135_filetypes; (0s)
[1] => select * from cpg135_plugins order by priority asc; (0s)
[2] => delete from `michalin2`.cpg135_sessions where time<1172079434 and remember=0; (0s)
[3] => delete from `michalin2`.cpg135_sessions where time<1170873434; (0s)
[4] => select user_id from `michalin2`.cpg135_sessions where session_id=md5("5b5798ec09254c32aa8a7c44f081c94776725061cc83d1e3759ab33d4edae41f"); (0s)
[5] => select user_id as id, user_password as password from `michalin2`.cpg135_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 `michalin2`.cpg135_users AS u INNER JOIN `michalin2`.cpg135_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `michalin2`.cpg135_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 cpg135_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg135_usergroups WHERE group_id= 1 (0s)
[10] => update `michalin2`.cpg135_sessions set time='1172083034' where session_id=md5('5b5798ec09254c32aa8a7c44f081c94776725061cc83d1e3759ab33d4edae41f'); (0s)
[11] => SELECT user_favpics FROM cpg135_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg135_banned WHERE expiry < '2007-02-21 18:37:14' (0s)
[13] => SELECT * FROM cpg135_banned WHERE (ip_addr='83.31.133.33' OR ip_addr='83.31.133.33' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg135_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg135_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT COUNT(*) FROM cpg135_pictures WHERE approved = 'NO' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.5 - OK
------------------
mySQL version: 5.0.33
------------------
Coppermine version: 1.4.10(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.33
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /usr/run/mysql
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/:/usr/php/pear | .:/:/usr/php/pear
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 | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.031 seconds - 17 queries in 0 seconds - Album set : ; Meta set: ;
can anyone help me ?
-
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
-
SORRY :/
SITE URL:
http://galeriaotwock2.galeriaotwock.waw.pl/
USER NAME: TEST
PASSWORD: test123
Now can anyone help me?
Sory for my english :(
-
You posted an admin account, which is a very bad thing on a public forum, as it might be used for all kinds of malevolent schemes. I created another user named "gaugau" and used it to remove admin privileges from the test user account. You can savely delete the account I created. It's important to change your admin password and check if the account you posted has been used to apply a sinister scheme.
The actual error message I got isNo file was uploaded !
If you have really selected a file to upload, check that the server allows file uploads...
Does your server allow uploads? According to your debug_output, file_uploads are on and safe_mode is off. Did you apply permissions as suggested in the docs? Are there any hardening patches in place (maybe applied by your webhost)?
-
Hi\
I try change chmod to 777 for all files. But site just says: 0 uploads were successful.
I have instaled CPG135 on this same server and averything work just fine. But when i want update or install new verison CPG (1410) in root folder i get error mesage.
I try install/upgrade gallery in diferent folder than root ( gallery/ or xxx/ ) and everything wok fine. But i want to CPG work in root folder not in subfolder
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.galeriaotwock.waw.pl%2Fshare%2Fproblem.jpg&hash=b46097fedc17668b7ce00aa1c4842a54072507d3)
Link to working CPG135: http://www.galeriaotwock.waw.pl/ Login: test Password: testing
Link to working CPG1410 but in galeria/ folder : http://www.galeriaotwock.waw.pl/galeria/ Login: test Password: testing
i'm stuck
I apologize for my poor english
-
cpg1.3.x goes completely unsupported except questions on upgrading. Therefor, your cpg1.3.5 question will get ignored.
-
cpg1.3.x goes completely unsupported except questions on upgrading. Therefor, your cpg1.3.5 question will get ignored.
I know that. But I'm asking about CPG 1410 not about 135. I told about 135 becasuse i want to point, that server allows upload, only for that.
-
did you try searching with the search phrase "0 uploads were successful" ? Lots of threads dealing with your problem.
-
The link you posted above is down. What kind of help do you expect?