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: Picture file could not be placed  (Read 6037 times)

0 Members and 1 Guest are viewing this topic.

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Picture file could not be placed
« on: September 18, 2007, 09:20:56 pm »

Hi all,

just got coppermine loaded up and all seemed to be working. Got some pics uploaded and everything.

Then all of a sudden i get Picture Could Not Be Placed error.

I have been through all the help sections to no avail

Here is the debug info

Code: [Select]
USER:
------------------
Array
(
    [ID] => cd807398cf2904f77b0f66df1dea3e65
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 17
            [1] => 16
        )

)

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

    [disk_max] => 9999
    [disk_min] => 9999
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrator
    [upload_form_config] => 3
    [group_quota] => 9999
    [can_see_all_albums] => 1
    [group_id] => 101
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1412_filetypes; (0.002s)
    [1] => select * from cpg1412_plugins order by priority asc; (0.101s)
    [2] => SELECT * FROM cpg1412_bridge (0.002s)
    [3] => 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 cpg1412_usergroups WHERE group_id in (101,110) (0.002s)
    [4] => SELECT group_name FROM  cpg1412_usergroups WHERE group_id= 101 (0.003s)
    [5] => SELECT user_favpics FROM cpg1412_favpics WHERE user_id = 1 (0.001s)
    [6] => DELETE FROM cpg1412_banned WHERE expiry < '2007-09-18 19:18:37' (0.001s)
    [7] => SELECT * FROM cpg1412_banned WHERE (ip_addr='82.6.2.31' OR ip_addr='82.6.2.31' OR user_id=1) AND brute_force=0 (0.001s)
    [8] => SELECT aid, title FROM cpg1412_albums WHERE category < 10000 ORDER BY title (0.001s)
    [9] => SELECT aid, title FROM cpg1412_albums WHERE category='10001' ORDER BY title (0.001s)
    [10] => SELECT encoded_string FROM cpg1412_temp_data WHERE unique_ID = '7e94a152' (0.001s)
    [11] => UPDATE cpg1412_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '7e94a152' (0.001s)
    [12] => SELECT category FROM cpg1412_albums WHERE aid='3' (0.001s)
    [13] => DELETE FROM cpg1412_temp_data WHERE unique_ID = '7e94a152' (0.002s)
    [14] => SELECT COUNT(*) FROM cpg1412_pictures WHERE approved = 'NO' (0.001s)
)

==========================
GET :
------------------
Array
(
    [y] =>
    [upload_php] =>
)

==========================
POST :
------------------
Array
(
    [album] => 3
    [title] =>
    [caption] =>
    [keywords] =>
    [control] => phase_2
    [unique_ID] => 7e94a152
    [debugtext] => USER:
------------------
Array
(
    [ID] => cd807398cf2904f77b0f66df1dea3e65
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 17
            [1] => 16
        )

)

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

    [disk_max] => 9999
    [disk_min] => 9999
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrator
    [upload_form_config] => 3
    [group_quota] => 9999
    [can_see_all_albums] => 1
    [group_id] => 101
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1412_filetypes; (0.008s)
    [1] => select * from cpg1412_plugins order by priority asc; (0.004s)
    [2] => SELECT * FROM cpg1412_bridge (0.009s)
    [3] => 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 cpg1412_usergroups WHERE group_id in (101,110) (0.001s)
    [4] => SELECT group_name FROM  cpg1412_usergroups WHERE group_id= 101 (0.001s)
    [5] => SELECT user_favpics FROM cpg1412_favpics WHERE user_id = 1 (0.003s)
    [6] => DELETE FROM cpg1412_banned WHERE expiry < '2007-09-18 19:18:31' (0.003s)
    [7] => SELECT * FROM cpg1412_banned WHERE (ip_addr='82.6.2.31' OR ip_addr='82.6.2.31' OR user_id=1) AND brute_force=0 (0.001s)
    [8] => SELECT aid, title FROM cpg1412_albums WHERE category < 10000 ORDER BY title (0.001s)
    [9] => SELECT aid, title FROM cpg1412_albums WHERE category='10001' ORDER BY title (0.002s)
    [10] => SELECT encoded_string FROM cpg1412_temp_data WHERE unique_ID = '7e94a152' (0.002s)
    [11] => UPDATE cpg1412_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxNjoiR3JvdXBfU2hvdF8yLkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfY2NmYjY2NDYuSlBHIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld182ZDdmZmE0Yy5KUEciO319' WHERE unique_ID = '7e94a152' (0.001s)
    [12] => SELECT COUNT(*) FROM cpg1412_pictures WHERE approved = 'NO' (0.002s)
    [13] => SELECT cat.name FROM cpg1412_categories cat, cpg1412_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0.001s)
    [14] => SELECT cat.name FROM cpg1412_categories cat, cpg1412_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0.001s)
)

==========================
GET :
------------------
Array
(
    [y] =>
    [upload_php] =>
)

==========================
POST :
------------------
Array
(
    [unique_ID] => 7e94a152
    [control] => phase_2
    [debugtext] => USER:
------------------
Array
(
    [ID] => cd807398cf2904f77b0f66df1dea3e65
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 17
            [1] => 16
        )

)

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

    [disk_max] => 9999
    [disk_min] => 9999
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrator
    [upload_form_config] => 3
    [group_quota] => 9999
    [can_see_all_albums] => 1
    [group_id] => 101
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1412_filetypes; (0.004s)
    [1] => select * from cpg1412_plugins order by priority asc; (0.002s)
    [2] => SELECT * FROM cpg1412_bridge (0.008s)
    [3] => 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 cpg1412_usergroups WHERE group_id in (101,110) (0.002s)
    [4] => SELECT group_name FROM  cpg1412_usergroups WHERE group_id= 101 (0.001s)
    [5] => SELECT user_favpics FROM cpg1412_favpics WHERE user_id = 1 (0.315s)
    [6] => DELETE FROM cpg1412_banned WHERE expiry < '2007-09-18 19:18:28' (0.001s)
    [7] => SELECT * FROM cpg1412_banned WHERE (ip_addr='82.6.2.31' OR ip_addr='82.6.2.31' OR user_id=1) AND brute_force=0 (0.018s)
    [8] => SELECT aid, title FROM cpg1412_albums WHERE category < 10000 ORDER BY title (0.005s)
    [9] => SELECT aid, title FROM cpg1412_albums WHERE category='10001' ORDER BY title (0.007s)
    [10] => SELECT COUNT(*) FROM cpg1412_pictures WHERE approved = 'NO' (0.006s)
    [11] => SELECT unique_ID FROM cpg1412_temp_data (0.002s)
    [12] => INSERT INTO cpg1412_temp_data VALUES ('7e94a152', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxNjoiR3JvdXBfU2hvdF8yLkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfY2NmYjY2NDYuSlBHIjt9fQ==', '1190143108') (0.001s)
)

==========================
GET :
------------------
Array
(
    [y] =>
    [upload_php] =>
)

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
            [2] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 5.0.27
------------------
Coppermine version: 1.4.12(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 1
Active Links 2
Client API version 3.23.49
==========================
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 | 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 | me@localhost.com | me@localhost.com
sendmail_path | no value | no value
SMTP | 213.171.216.21 | 213.171.216.21
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.703 seconds - 13 queries in 0.372 seconds - Album set : ; Meta set: ;
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 5.0.27
------------------
Coppermine version: 1.4.12(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.2.3
Linked Version 1.2.3
==========================
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 | me@localhost.com | me@localhost.com
sendmail_path | no value | no value
SMTP | 213.171.216.21 | 213.171.216.21
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.433 seconds - 15 queries in 0.04 seconds - Album set : ; Meta set: ;
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 5.0.27
------------------
Coppermine version: 1.4.12(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 1
Active Links 2
Client API version 3.23.49
==========================
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 | 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 | me@localhost.com | me@localhost.com
sendmail_path | no value | no value
SMTP | 213.171.216.21 | 213.171.216.21
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.388 seconds - 15 queries in 0.121 seconds - Album set : ; Meta set: ;

I have set up a test account at

username: mondy
Pass: torchwood

url: www.ecossecalibra.com/eccgallery

Please help
« Last Edit: September 18, 2007, 11:31:41 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #1 on: September 18, 2007, 09:44:26 pm »

Set it to single file upload mode please.
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #2 on: September 18, 2007, 10:06:47 pm »

done.....i think.....
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #3 on: September 18, 2007, 10:30:10 pm »

Test account no longer works since you unbridged.
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #4 on: September 18, 2007, 10:49:53 pm »

aaarrrgggghhhhh,

ok i'm on it
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #5 on: September 18, 2007, 10:52:58 pm »

Ok, Done....i hope

sorry guys.....
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #6 on: September 18, 2007, 10:54:22 pm »

Nope. I see 3 URI upload boxes. Set them to 0.
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #7 on: September 18, 2007, 10:57:39 pm »

Done
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #8 on: September 18, 2007, 10:59:26 pm »

Switch 'resize method' in config to GD2.
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #9 on: September 18, 2007, 11:08:26 pm »

Couldn't find that option in config but changed auto resize to yes everyone
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #10 on: September 18, 2007, 11:14:55 pm »

Do you think it is worth me starting again from fresh and see if this sorts the problem. I havn't put it live to my forum yet so nothing lost that way
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #11 on: September 18, 2007, 11:15:17 pm »

Files and thumbnails advanced settings -> Method for resizing images
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #12 on: September 18, 2007, 11:16:58 pm »

Aha....result......cheers mate much appreciated....
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #13 on: September 18, 2007, 11:20:24 pm »

oh hold on.

as admin i'm getting to upload pics but as regular member it's not letting me......
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #14 on: September 18, 2007, 11:30:04 pm »

Nope just me being daft again. if the pic has been resized it will upload ok.
Logged

Ecossecalibra

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • Why...Why...Why
    • EcosseCalibra.com
Re: Picture file could not be placed
« Reply #15 on: September 19, 2007, 12:15:13 am »

Thanks dude.

Signin this off.....
Logged

Nibbler

  • Guest
Re: Picture file could not be placed
« Reply #16 on: September 19, 2007, 12:17:34 am »

Marked as solved, thanks for resolving the thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.