Some Coppermine errors in Lycos Free AND NO UPLOAD. I´n not newie :) Some Coppermine errors in Lycos Free AND NO UPLOAD. I´n not newie :)
 

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

Some Coppermine errors in Lycos Free AND NO UPLOAD. I´n not newie :)

Started by Rishiuu, March 07, 2005, 02:26:36 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Rishiuu

Hello to everyone!

I have used Coppermine in my own Web with my own hosting, and I never have problems (except with the folder edit, delete and create :P ), but now that I have created a new free Web in Lycos, it dont work well. (Sorry for my english :) )

I read the post (http://forum.coppermine-gallery.net/index.php?topic=14463.0) but it doesn´t help me.

The problems are the following ones:

IN http://usuarios.lycos.es/wallpapersfamosos/Wallpapers_Famosos_Galeria/index.php

Notice: Undefined index: cat_thumb in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/themes/classic/theme.php on line 1046


IN http://usuarios.lycos.es/wallpapersfamosos/Wallpapers_Famosos_Galeria/config.php

Notice: Undefined index: offline in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/config.php on line 63


IN http://usuarios.lycos.es/wallpapersfamosos/Wallpapers_Famosos_Galeria/upload.php

Notice: Undefined offset: 2 in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 250

Notice: Undefined offset: 3 in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 256

Notice: Undefined offset: 4 in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 256


When I installed Coppermine, it had some errors but I can upload files. Now, i can´t.
The CHMOD is correct, but the difference with my other Web is de mod GID, in lycos put it.

DEBUG

USER:
------------------
Array
(
    [ID] => 1d168a7aa3840b5ec646877cfcf90255
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Administrador
    [user_password] => ********
    [user_lastvisit] => 2005-03-07 01:53:31
    [user_regdate] => 2005-03-06 17:47:30
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [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] => 10
    [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] => Administradores
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg132_filetypes;
    [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '471aa54f7f44b1bd264dfce86597e30a'
    [2] => 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 cpg132_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg132_banned WHERE expiry < 1110158620
    [5] => SELECT * FROM cpg132_banned WHERE ip_addr='84.120.194.72' OR ip_addr='84.120.194.72' OR user_id=1
    [6] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos
    [7] => SELECT aid FROM cpg132_albums WHERE category = 3
    [8] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 3
    [9] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '3'  ORDER BY pos
    [10] => SELECT aid FROM cpg132_albums WHERE category = 5
    [11] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 5
    [12] => SELECT aid FROM cpg132_albums WHERE category = 6
    [13] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 6
    [14] => SELECT aid FROM cpg132_albums WHERE category = 7
    [15] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 7
    [16] => SELECT aid FROM cpg132_albums WHERE category = 8
    [17] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 8
    [18] => SELECT aid FROM cpg132_albums WHERE category = 9
    [19] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 9
    [20] => SELECT aid FROM cpg132_albums WHERE category = 10
    [21] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 10
    [22] => SELECT aid FROM cpg132_albums WHERE category = 11
    [23] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 11
    [24] => SELECT aid FROM cpg132_albums WHERE category = 12
    [25] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 12
    [26] => SELECT aid FROM cpg132_albums WHERE category = 13
    [27] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 13
    [28] => SELECT aid FROM cpg132_albums WHERE category = 14
    [29] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 14
    [30] => SELECT aid FROM cpg132_albums WHERE category = 15
    [31] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 15
    [32] => SELECT aid FROM cpg132_albums WHERE category = 16
    [33] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 16
    [34] => SELECT aid FROM cpg132_albums WHERE category = 17
    [35] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 17
    [36] => SELECT aid FROM cpg132_albums WHERE category = 18
    [37] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 18
    [38] => SELECT aid FROM cpg132_albums WHERE category = 19
    [39] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 19
    [40] => SELECT aid FROM cpg132_albums WHERE category = 20
    [41] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 20
    [42] => SELECT aid FROM cpg132_albums WHERE category = 21
    [43] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 21
    [44] => SELECT aid FROM cpg132_albums WHERE category = 22
    [45] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 22
    [46] => SELECT aid FROM cpg132_albums WHERE category = 23
    [47] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 23
    [48] => SELECT aid FROM cpg132_albums WHERE category = 24
    [49] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 24
    [50] => SELECT aid FROM cpg132_albums WHERE category = 25
    [51] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 25
    [52] => SELECT aid FROM cpg132_albums WHERE category = 26
    [53] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 26
    [54] => SELECT aid FROM cpg132_albums WHERE category = 27
    [55] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 27
    [56] => SELECT aid FROM cpg132_albums WHERE category = 28
    [57] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 28
    [58] => SELECT aid FROM cpg132_albums WHERE category = 29
    [59] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 29
    [60] => SELECT aid FROM cpg132_albums WHERE category = 30
    [61] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 30
    [62] => SELECT aid FROM cpg132_albums WHERE category = 4
    [63] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 4
    [64] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '4'  ORDER BY pos
    [65] => SELECT aid FROM cpg132_albums WHERE category = 31
    [66] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 31
    [67] => SELECT aid FROM cpg132_albums WHERE category = 32
    [68] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 32
    [69] => SELECT aid FROM cpg132_albums WHERE category = 33
    [70] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 33
    [71] => SELECT aid FROM cpg132_albums WHERE category = 34
    [72] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 34
    [73] => SELECT aid FROM cpg132_albums WHERE category = 35
    [74] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 35
    [75] => SELECT aid FROM cpg132_albums WHERE category = 36
    [76] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 36
    [77] => SELECT aid FROM cpg132_albums WHERE category = 37
    [78] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 37
    [79] => SELECT aid FROM cpg132_albums WHERE category = 38
    [80] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 38
    [81] => SELECT aid FROM cpg132_albums WHERE category = 39
    [82] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 39
    [83] => SELECT aid FROM cpg132_albums WHERE category = 40
    [84] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 40
    [85] => SELECT aid FROM cpg132_albums WHERE category = 41
    [86] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 41
    [87] => SELECT aid FROM cpg132_albums WHERE category = 42
    [88] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 42
    [89] => SELECT aid FROM cpg132_albums WHERE category = 43
    [90] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 43
    [91] => SELECT aid FROM cpg132_albums WHERE category = 44
    [92] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 44
    [93] => SELECT aid FROM cpg132_albums WHERE category = 45
    [94] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 45
    [95] => SELECT aid FROM cpg132_albums WHERE category = 46
    [96] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 46
    [97] => SELECT aid FROM cpg132_albums WHERE category = 47
    [98] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 47
    [99] => SELECT aid FROM cpg132_albums WHERE category = 48
    [100] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 48
    [101] => SELECT aid FROM cpg132_albums WHERE category = 49
    [102] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 49
    [103] => SELECT aid FROM cpg132_albums WHERE category = 50
    [104] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 50
    [105] => SELECT aid FROM cpg132_albums WHERE category = 51
    [106] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 51
    [107] => SELECT aid FROM cpg132_albums WHERE category = 52
    [108] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 52
    [109] => SELECT aid FROM cpg132_albums WHERE category = 53
    [110] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 53
    [111] => SELECT aid FROM cpg132_albums WHERE category = 54
    [112] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 54
    [113] => SELECT aid FROM cpg132_albums WHERE category = 55
    [114] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 55
    [115] => SELECT aid FROM cpg132_albums WHERE category = 56
    [116] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 56
    [117] => SELECT aid FROM cpg132_albums as a WHERE category>=10000
    [118] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000
    [119] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '1'  ORDER BY pos
    [120] => SELECT aid FROM cpg132_albums as a WHERE category = '0'
    [121] => SELECT count(*) FROM cpg132_albums as a WHERE 1
    [122] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
    [123] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
    [124] => SELECT count(*) FROM cpg132_categories WHERE 1
    [125] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1
    [126] => SELECT count(*) FROM cpg132_albums as a WHERE category = '0'
    [127] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'
    [128] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
    [129] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'
    [130] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.18-standard
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
safe_mode_gid | Off | Off
safe_mode_include_dir | /data/apache/php/mmp_lib | /data/apache/php/mmp_lib
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
sql.safe_mode | Off | Off
disable_functions | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail
file_uploads | On | On
include_path | .:/data/apache/php/mmp_lib | .:/data/apache/php/mmp_lib
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail | /usr/sbin/sendmail
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | -1 | -1
upload_max_filesize | 200000 | 200000
post_max_size | 512000 | 512000
==========================
Page generated in 0.3 seconds - 131 queries in 0.066 seconds - Album set :

Joachim Müller

disable the display of notices in coppermine's config screen if notices don't mean anything to you - they're meant for debugging purposes for devs only, or for users who know their way around. Do you get any actual error messages? Posting a test user account (non-admin) might help.

Joachim

Rishiuu

User: Copper
Pass: 123456

I dissabled notices and debug mode.

When I try to upload a file (File Uploads) --> 0 uploads were successful
When I try to upload a file (URI/URL Uploads) --> 0 uploads were successful AND IN "HEADER"

Warning: getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 1615

Warning: fopen(): URL file-access is disabled in the server configuration in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 1628

Warning: fopen(http://forum.coppermine-gallery.net/avatars/Musicians/Nirvana.jpg): failed to open stream: no suitable wrapper could be found in /data/members/free/tripod/es/w/a/l/wallpapersfamosos/htdocs/Wallpapers_Famosos_Galeria/upload.php on line 1628



Have I done it well? :)

I say that when installing, photos gave to errors but it upload right. Then I compared with the Coppermine of my other Web, the CHMOD in lycos were 2***, in the other it haven´t the 2***, I changed it in lycos and I clear it in all folders, but when I have seen that it didn't upload right I returned to him to put 2***

Sorry for my english hehe I´m spanish



Joachim Müller

Quote from: Rishiuu on March 07, 2005, 12:17:54 PM
I dissabled notices and debug mode.
That's not what I asked you to do; I asked you to disable display of notices; debug_mode however should be left enabled for everyone. Go to "groups" as well and set the file upload method to "Single file uploads only" for all relevant groups. This will give you the most advanced error message.

Quote from: Rishiuu on March 07, 2005, 12:17:54 PMWarning: getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons
This message is usually not a show-stopper, to avoid it from appearing you should silence the output of the php command "chmod" that exists in upload.php (search the board for the error message you get to find out details). However, this probably isn't the initial problem.

Quote from: Rishiuu on March 07, 2005, 12:17:54 PM
Warning: fopen(): URL file-access is disabled in the server configuration
This only means you can't use uri/url uploads on your webserver - still nothing to worry about. Once you fixed the initial uploads issue, you should disable url/uri uploads in coppermine's "groups" page. For now, leave it as-is.

However, I'm not sure coppermine can be run on lycos webspace, it might not have the minimum requirements. I recommend you search the board for "lycos" and look up the webhosting threads on the "general discussion" board.

Joachim

Rishiuu

ohh!! sorry !! :(  I havent understand you

I read the lycos forums. Some users say that the version 1.3.1 works well in lycos. I will have to prove it if I dont solve it with which you say to me.

Thank you very much!! If I have a new problem, I ask here. :)