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: Uploading troubles.  (Read 3981 times)

0 Members and 1 Guest are viewing this topic.

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Uploading troubles.
« on: December 27, 2006, 07:34:59 am »

Hey guys. I got my gallery up & running yesterday.

And i have uploaded some files & were uploaded succesfully but nxt time i uploaded images then it wasnt working. I tried a file i already uploaded & wont upload it. It came up the same thing as someone put up on here.

Message:

The previous file could not be placed.

You have successfully placed all the files.

Topic Link

http://forum.coppermine-gallery.net/index.php?topic=39405.0

-----------

And i followed the instructions an admin gave them & this is what it comes up with:

Critical Error

The file 'albums/userpics/10001/LL.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/chrisgol/public_html/Gallery/db_input.php - Line: 402

--------

Debug info

USER:
------------------
Array
(
    [ID] => 5eb0af91e323a3046794455d0fa4e039
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Admin
    [groups] => Array
        (
           
  • => 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
(
   
  • => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.001s)
  • [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `chrisgol_Gallery`.cpg1410_sessions where time<1167194157 and remember=0; (0s)
        [3] => delete from `chrisgol_Gallery`.cpg1410_sessions where time<1165988157; (0s)
        [4] => select user_id from `chrisgol_Gallery`.cpg1410_sessions where session_id=md5("b2556ab187972e1d695ce1a1f7d183f7327273810a98b2b8f679c55c0cd1f31c"); (0s)
        [5] => select user_id as id, user_password as password from `chrisgol_Gallery`.cpg1410_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 `chrisgol_Gallery`.cpg1410_users AS u INNER JOIN `chrisgol_Gallery`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `chrisgol_Gallery`.cpg1410_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 cpg1410_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `chrisgol_Gallery`.cpg1410_sessions set time='1167197757' where session_id=md5('b2556ab187972e1d695ce1a1f7d183f7327273810a98b2b8f679c55c0cd1f31c'); (0s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2006-12-27 05:35:57' (0.001s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='203.51.16.110' OR ip_addr='203.51.16.110' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg1410_albums WHERE aid='3' (0s)
        [15] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
    )

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.21-standard
------------------
Coppermine version: 1.4.10(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 4.1.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
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 | exec, passthru, proc_open, proc_close, shell_exec, system,mail | exec, passthru, proc_open, proc_close, shell_exec, system,mail
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | /home/chrisgol:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | 60 | 60
upload_max_filesize | 1M | 1M
post_max_size | 8M | 8M
==========================
Page generated in 0.115 seconds - 16 queries in 0.002 seconds - Album set : ; Meta set: ;
« Last Edit: December 28, 2006, 01:18:35 am by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading troubles.
« Reply #1 on: December 27, 2006, 07:51:23 am »

Re-read the thread you refer to. The thread starter asked the same incomplete question and was told what to do exactly. The very same thing applies to you: read the upload troubleshooting section and do as suggested there.
Logged

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading troubles.
« Reply #2 on: December 27, 2006, 08:21:51 am »

I have re:read this info about amillion times.
Logged

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading troubles.
« Reply #3 on: December 27, 2006, 08:24:53 am »

Wait there.
Logged

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading troubles.
« Reply #4 on: December 27, 2006, 08:37:33 am »

Sorry for the inconvenience:

User: test
p/w: 123

http://chris-ludacris-bridges.hostfreeweb.info/Gallery/index.php
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading troubles.
« Reply #5 on: December 27, 2006, 08:50:20 am »

The very same advice I have given on the other thread
Apparently you haven't set permissions as suggested in the docs - the script appears not to be able to write into the albums folder.
(Re-)apply permissions. Make sure that they propagate to all sub-folders.
applies to you as well.
Logged

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading troubles.
« Reply #6 on: December 27, 2006, 09:10:38 am »

But iv already chmod to 777.

And it was working when i uploaded the pics u see on there & then nxt time i went to upload it came up. Iv cheaked my folders & are set to what i was told to do!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading troubles.
« Reply #7 on: December 27, 2006, 10:25:45 am »

Don't check, but apply! Read the permissions section carefully - it's mandatory that you understand how permissions work. For your server setup, other permissions may be correct. Also make sure that the corresponding section in Coppermine's config is set up properly as well.
Logged

M e l . 8 6

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading troubles.
« Reply #8 on: December 28, 2006, 01:14:53 am »

YAY. I friggin fixed it.

Went through config. This is now officially solved & hope it never happens again.
Logged

user3657

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Uploading troubles.
« Reply #9 on: December 28, 2006, 10:11:48 pm »

what did u change?
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.