Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Help?  (Read 7244 times)

0 Members and 1 Guest are viewing this topic.

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Help?
« on: March 06, 2006, 05:08:27 pm »

I installed this great program on my website but uploading is not working? don't know what the problem is. http://www.tommangnus.nl/familiemangnus/fotoboek
Logged

Nibbler

  • Guest
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #2 on: March 06, 2006, 05:22:16 pm »

yes i read that..
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Help?
« Reply #3 on: March 06, 2006, 05:23:11 pm »

Reread the part in red.
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #4 on: March 06, 2006, 05:29:35 pm »

Code: [Select]
USER:
------------------
Array
(
    [ID] => 40592bbea012d636ee5da0a0646d1e14
    [am] => 1
    [lang] => dutch
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Tom
    [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] => 3
    [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 cpg143_filetypes; (0.002s)
    [1] => select * from cpg143_plugins order by priority asc; (0.001s)
    [2] => delete from `tommangnus-nl`.cpg143_sessions where time<1141658880 and remember=0; (0.001s)
    [3] => delete from `tommangnus-nl`.cpg143_sessions where time<1140452880; (0.001s)
    [4] => select user_id from `tommangnus-nl`.cpg143_sessions where session_id=md5("90cb2258a7639dcf465fbf12c362b1678a78599f3e90dd773840421431b674f8"); (0.001s)
    [5] => select user_id as id, user_password as password from `tommangnus-nl`.cpg143_users where user_id=1 (0.001s)
    [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 `tommangnus-nl`.cpg143_users AS u INNER JOIN `tommangnus-nl`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `tommangnus-nl`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg143_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `tommangnus-nl`.cpg143_sessions set time='1141662480' where session_id=md5('90cb2258a7639dcf465fbf12c362b1678a78599f3e90dd773840421431b674f8'); (0.001s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-03-06 16:28:01' (0.001s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='83.85.210.108' OR ip_addr='83.85.210.108' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT cid, name, description, thumb FROM cpg143_categories WHERE parent = ''  ORDER BY pos (0.001s)
    [15] => SELECT aid FROM cpg143_albums as a WHERE category>=10000 (0.001s)
    [16] => SELECT count(*) FROM cpg143_pictures as p, cpg143_albums as a WHERE p.aid = a.aid AND category >= 10000 (0.001s)
    [17] => SELECT cid, name, description, thumb FROM cpg143_categories WHERE parent = '1'  ORDER BY pos (0.001s)
    [18] => SELECT aid FROM cpg143_albums as a WHERE category = '0' (0.001s)
    [19] => SELECT count(*) FROM cpg143_albums as a WHERE 1 (0.001s)
    [20] => SELECT count(*) FROM cpg143_pictures as p LEFT JOIN cpg143_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
    [21] => SELECT count(*) FROM cpg143_comments as c LEFT JOIN cpg143_pictures as p ON c.pid=p.pid LEFT JOIN cpg143_albums as a ON a.aid=p.aid WHERE 1 (0.002s)
    [22] => SELECT count(*) FROM cpg143_categories WHERE 1 (0.001s)
    [23] => SELECT sum(hits) FROM cpg143_pictures as p LEFT JOIN cpg143_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
    [24] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
    [25] => SELECT count(*) FROM cpg143_albums as a WHERE category = '0' (0.001s)
    [26] => SELECT a.aid, a.title, a.description, category, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg143_albums as a LEFT JOIN cpg143_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,1 (0.001s)
    [27] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg143_albums AS a  LEFT JOIN cpg143_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1)GROUP BY a.aid (0.001s)
    [28] => SELECT COUNT(*) from cpg143_pictures WHERE approved = 'YES'  (0.001s)
    [29] => SELECT * FROM cpg143_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.001s)
    [30] => SELECT COUNT(*) from cpg143_pictures WHERE approved = 'YES'  (0.001s)
    [31] => SELECT * FROM cpg143_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.0.12-nt
------------------
Coppermine version: 1.4.4(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 3.23.49
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .;c:\php4\pear | .;c:\php4\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | no value | no value
SMTP | 127.0.0.1 | 127.0.0.1
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.139 seconds - 32 queries in 0.034 seconds - Album set : ; Meta set: ;
Logged

Nibbler

  • Guest
Re: Help?
« Reply #5 on: March 06, 2006, 05:31:41 pm »

Do as suggested

Quote
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.
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #6 on: March 06, 2006, 05:42:50 pm »

Error message: The file you have uploaded is not a valid image !


Code: [Select]
USER:
------------------
Array
(
    [ID] => 40592bbea012d636ee5da0a0646d1e14
    [am] => 1
    [lang] => dutch
)

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

    [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] => 1
    [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 cpg143_filetypes; (0.001s)
    [1] => select * from cpg143_plugins order by priority asc; (0.001s)
    [2] => delete from `tommangnus-nl`.cpg143_sessions where time<1141659688 and remember=0; (0.001s)
    [3] => delete from `tommangnus-nl`.cpg143_sessions where time<1140453688; (0.001s)
    [4] => select user_id from `tommangnus-nl`.cpg143_sessions where session_id=md5("90cb2258a7639dcf465fbf12c362b1678a78599f3e90dd773840421431b674f8"); (0.001s)
    [5] => select user_id as id, user_password as password from `tommangnus-nl`.cpg143_users where user_id=1 (0.001s)
    [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 `tommangnus-nl`.cpg143_users AS u INNER JOIN `tommangnus-nl`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `tommangnus-nl`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg143_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `tommangnus-nl`.cpg143_sessions set time='1141663288' where session_id=md5('90cb2258a7639dcf465fbf12c362b1678a78599f3e90dd773840421431b674f8'); (0.001s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-03-06 16:41:28' (0.001s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='83.85.210.108' OR ip_addr='83.85.210.108' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT category FROM cpg143_albums WHERE aid='1' (0.001s)
    [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 1
    [MAX_FILE_SIZE] => 1048576
    [title] => sd
    [caption] => sdsd
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.0.12-nt
------------------
Coppermine version: 1.4.4(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 3.23.49
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .;c:\php4\pear | .;c:\php4\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | no value | no value
SMTP | 127.0.0.1 | 127.0.0.1
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.133 seconds - 16 queries in 0.016 seconds - Album set : ; Meta set: ;
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Help?
« Reply #7 on: March 06, 2006, 06:20:23 pm »

What you posted was debug output, which was NOT requested. Given the error message, try using another file.
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #8 on: March 06, 2006, 08:35:37 pm »

i did, can someone please try to upload with username and password: test  :-\
Logged

Nibbler

  • Guest
Re: Help?
« Reply #9 on: March 06, 2006, 08:39:33 pm »

If you won't do as suggested then we simply can't help you.
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #10 on: March 06, 2006, 08:44:08 pm »

If you won't do as suggested then we simply can't help you.

i try it before this post but it was still not working? sorry but i dont understand everything. I am Dutch and not very good in english.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help?
« Reply #11 on: March 06, 2006, 10:59:16 pm »

we don't speak dutch at all, so you'll have to try harder. What part of the sentences
Quote
Enable debug mode for everyone
and
Quote
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")
do you not understand? Maybe it'll help if you access your page in English: http://www.tommangnus.nl/familiemangnus/fotoboek/?lang=english
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #12 on: March 07, 2006, 03:01:29 pm »

well this is my error message:


The file you have uploaded is not a valid image !

File: D:\ensimdata\tommangnus-nl\Inetpub\wwwroot\familiemangnus\fotoboek\db_input.php - Line: 359
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #13 on: March 07, 2006, 06:43:26 pm »

 :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help?
« Reply #14 on: March 07, 2006, 06:58:31 pm »

Well, what file did you try with? Use a known-good one (take one from our demo) and try again.
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #15 on: March 07, 2006, 07:05:39 pm »

jpg, gif, png and more..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help?
« Reply #16 on: March 07, 2006, 07:16:30 pm »

OK, confirming that this happens with a known-good file as well. What have you set in coppermine's config for "Method for resizing pics"?
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #17 on: March 07, 2006, 07:40:46 pm »

OK, confirming that this happens with a known-good file as well. What have you set in coppermine's config for "Method for resizing pics"?

this? (http://www.tommangnus.nl/overig/coppermine.bmp)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Tom500

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Help?
« Reply #19 on: March 08, 2006, 04:45:43 pm »

GD 2.x
Logged
Pages: [1]   Go Up
 

Page created in 0.075 seconds with 21 queries.