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: [Trouble] The previous file could not be placed. ?????????  (Read 3965 times)

0 Members and 1 Guest are viewing this topic.

wbc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
[Trouble] The previous file could not be placed. ?????????
« on: December 13, 2004, 08:37:09 am »

successfully upload a file.  then give me following message !!!

"The previous file could not be placed.

You have successfully placed all the files. "

it is uploaded , but I can't see it !!!


both successfully uploaded, but
>>>> for wmv files ok!
>>>> for jpg not ok!>>>>>"The previous file could not be placed.

You have successfully placed all the files. "
« Last Edit: December 13, 2004, 08:53:15 am by wbc »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #1 on: December 13, 2004, 09:02:31 am »

enable debug mode in coppermine config (ath the very bottom of the screen). Then go to "groups" and set method for file uploads to "SIngle file uploads only". Try uploading the file once more - you should get an error message that tells you what actually went wrong. If you don't understand the error message you will get, post it here.

Joachim

P.S. One question mark is enough...
Logged

wbc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #2 on: December 13, 2004, 09:19:39 am »

still in same troble
mpg  file ok!
jpg  file  not ok!
by Image Magic

USER:
------------------
Array
(
    [ID] => 55a7b6907f07f4fd8275565d98c9d52c
    [am] => 1
    [liv] => Array
        (
           
  • => 1
  • [1] => 2
                [2] => 4
                [3] => 3
            )

       
[lang] => chinese_big5
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => sysop
    [user_password] => ********
    [user_lastvisit] => 2004-12-13 16:10:27
    [user_regdate] => 2004-12-13 16:09:27
    [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] => 1
    [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
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => 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) = '73850afb68a28c03ef4d2e426634e041'
        [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 < 1102925833
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='163.13.1.194' OR ip_addr='163.13.112.100' OR user_id=1
        [6] => SELECT category FROM cpg132_albums WHERE aid='1'
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[album] => 1
    [title] =>
    [caption] =>
    [keywords] =>
    [control] => phase_2
    [unique_ID] => 88fc4457
)

==========================
VERSION INFO :
------------------
PHP version: 4.2.1 - OK
------------------
mySQL version: 3.23.51-nt
------------------
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 | 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 | 1 | 1
include_path | .;c:\php4\pear | .;c:\php4\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | swbchen@mail.tku.edu.tw | swbchen@mail.tku.edu.tw
sendmail_path | no value | no value
SMTP | localhost | localhost |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 3600 | 3600 |  |
upload_max_filesize | 1000M | 1000M
post_max_size | 1000M | 1000M
==========================
Page generated in 0.63 seconds - 7 queries in 0.006
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #3 on: December 13, 2004, 09:27:41 am »

I didn't ask you to post the debug output; I was asking for actual error messages. Post a link and test user account (non-admin) if you're not capable of doing as suggested.

Joachim
Logged

wbc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #4 on: December 13, 2004, 09:37:59 am »

here is :

http://ucc.serveftp.com/cpg/index.php

user:   aaaa
pass:  1234
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #5 on: December 14, 2004, 06:43:04 am »

make sure you have CHMODed the albums directory as suggested in the docs. Do as I said and enable debug_mode for everyone and set "Single file uploads only" in "groups", I can't help you if you don't do what I suggest.

Joachim
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #6 on: December 14, 2004, 06:46:52 am »

Are you running this on your home computer and using serveftp.com to redirect requests to your home computer?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

wbc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #7 on: December 15, 2004, 10:41:54 am »

yes !
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: [Trouble] The previous file could not be placed. ?????????
« Reply #8 on: December 15, 2004, 12:50:13 pm »

Have you properly configured your server, and properly configure all the files and directories per the installation instructions?

It is not recommended to run your own server from your home computer.  Professionals with years of experience have trouble running a production server - home servers tend to be wide open and vulnerable to attacks.  Operate at your own risk.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.