Can't Upload images Can't Upload images
 

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 images

Started by annasweb, August 28, 2007, 12:28:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

annasweb

Hello,

I am new to coppermine and just installed it last night.  Everytime I try to upload an image I get a "page cannot be displayed"  the page in the url is the db_input.php.  I don't get any error messages on the browser but did get the debug info below in my coppermine admin.



USER:
------------------
Array
(
    [ID] => 278f119de900155f323dd2c329e221fb
    [am] => 1
    [lang] => english
)

===========







===============



How would I fix this?

Thanks,
Anna


annasweb

I have already done this.  To the best of my knowledge I have set the config file the way the link says it should be.  I have setup a testing account that isn't in the admin group.  Where do we go from here.

Thanks,
Anna

Nibbler

You need to tell us the details of the test account and where your gallery is.

annasweb

The userid is "testing"  the password is "password.

The gallery is in the folder "coppermine"

I hope this is what you need.  I appreciate the help.

Thanks,
Anna

Joachim Müller

Quote from: annasweb on September 05, 2007, 03:34:34 AM
The gallery is in the folder "coppermine"
That's great. Now if we had a link to your site we could go there and see for ourselves. Guessing doesn't help much in this case... ::)

annasweb

I am so sorry.  I thought I gave the site already in the previous posts.  the address is:

http://www.chaselakepowell.com/coppermine/admin.php

Thanks,
Anna

Nibbler


annasweb

#8
I don't understand why it works for you and not me.  I just went in and tried to upload a picture and got an error that said the page can't be found and the following debug info:

USER:
------------------
Array
(
    [ID] => f1723ab0c360178738c54f4e40b7a7ec
    [am] => 1
    [lang] => english
)

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

    [disk_max] => 2048
    [disk_min] => 2048
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 1
    [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] => 2048
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0.001s)
    [1] => select * from cpg1411_plugins order by priority asc; (0s)
    [2] => delete from `cpimages`.cpg1411_sessions where time<1189618056 and remember=0; (0.001s)
    [3] => delete from `cpimages`.cpg1411_sessions where time<1188412056; (0s)
    [4] => select user_id from `cpimages`.cpg1411_sessions where session_id=md5("eb75bb913bdafe1ef2f1145c8a634f05ece13d6987c26fd0c7fe5e1c16b9c391"); (0s)
    [5] => select user_id as id, user_password as password from `cpimages`.cpg1411_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 `cpimages`.cpg1411_users AS u INNER JOIN `cpimages`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `cpimages`.cpg1411_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 cpg1411_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0s)
    [10] => update `cpimages`.cpg1411_sessions set time='1189621656' where session_id=md5('eb75bb913bdafe1ef2f1145c8a634f05ece13d6987c26fd0c7fe5e1c16b9c391'); (0.001s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-09-12 11:27:36' (0.001s)
    [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='24.199.24.194' OR ip_addr='24.199.24.194' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.001s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 3.23.56
------------------
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 3.23.54
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.1.3
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 | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 25M | 25M
post_max_size | 8M | 8M
==========================
Page generated in 0.144 seconds - 15 queries in 0.01 seconds - Album set : ; Meta set: ;



Why am I getting this debug info if it works properly?

Anna

Nibbler

QuoteIf you're going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. Note: This is for information only and does not mean there is an error with your gallery.

Joachim Müller

From the upload troubleshooting section of the docs:
QuoteWhen 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.

annasweb

OK . . .OK!  I get it.  So Sorry! 

I just thought it would help since you said it works for you and it doesn't work for me.  I did create a test user and gave the details for login.  Maybe I picked the wrong gallery to use.  If you can't help me just say so and I will move on.

Thanks

Joachim Müller

Attach the file you tried to upload to your next posting here (using "additional options" when composing your message).

annasweb

Thanks for your help.  Here is the file.

Anna

Nibbler

File is too large. Resize before you upload.

annasweb

Thanks for the imput.  What is the maximum size that I can upload using Coppermine?

Anna

Nibbler

Depends on your server and hosting setup. Generally speaking, if the picture is larger than your screen it's too large.

annasweb

Thanks.

I cropped the picture and it uploaded fine.  Just one more question.

1.  Can I upload a complete directory of images at one time through the user admin or do I have to do it through FTP?


Thanks,
Anna

Sami

‍I don't answer to PM with support question
Please post your issue to related board

annasweb