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: [Solved:] Den föregående filen kunde inte placeras  (Read 8563 times)

0 Members and 1 Guest are viewing this topic.

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved:] Den föregående filen kunde inte placeras
« on: June 29, 2009, 03:37:25 pm »

Hi
First of is it possible to make so not only admins can make albums?
First i upload the image it says it succesed then it asks me for title and album and all that when ive filled everything it gives me this:
Quote
Den föregående filen kunde inte placeras.

Alla filer har nu placerats.

Here is debug

Quote
USER:
------------------
Array
(
    [ID] => ef420758b9f01d97c2348ecf01b86085
    [am] => 1
    [lang] => swedish
    [theme] => classic
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => Micael
    [groups] => Array
        (
           
  • => 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] => 5
    [num_URI_upload] => 3
    [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
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
  • [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `micke11_copp2`.cpg_sessions where time<1246278628 and remember=0; (0s)
        [3] => delete from `micke11_copp2`.cpg_sessions where time<1245072628; (0s)
        [4] => select user_id from `micke11_copp2`.cpg_sessions where session_id = 'bc22ccb65e01144689f2f3646234604d' (0s)
        [5] => select user_id as id, user_password as password from `micke11_copp2`.cpg_users where user_id=2 (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 `micke11_copp2`.cpg_users AS u INNER JOIN `micke11_copp2`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
        [7] => SELECT user_group_list FROM `micke11_copp2`.cpg_users AS u WHERE user_id='2' 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 cpg_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [10] => update `micke11_copp2`.cpg_sessions set time='1246282228' where session_id = 'bc22ccb65e01144689f2f3646234604d' (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 2 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2009-06-29 13:30:28' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='85.224.109.109' OR ip_addr='85.224.109.109' OR user_id=2) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0s)
        [15] => SELECT aid, title FROM cpg_albums WHERE category='10002' ORDER BY title (0s)
        [16] => SELECT encoded_string FROM cpg_temp_data WHERE unique_ID = '74c78313' (0s)
        [17] => UPDATE cpg_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '74c78313' (0s)
        [18] => SELECT category FROM cpg_albums WHERE aid='1' (0s)
        [19] => DELETE FROM cpg_temp_data WHERE unique_ID = '74c78313' (0s)
        [20] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[album] => 1
    [title] => test
    [caption] => test
    [keywords] => test
    [control] => phase_2
    [unique_ID] => 74c78313
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.9 - OK
------------------
mySQL version: 5.0.67-community
------------------
Coppermine version: 1.4.20(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 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
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
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
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
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 | show_source, system, passthru, exec, shell_exec, popen, proc_open, allow_url_fopen | show_source, system, passthru, exec, shell_exec, popen, proc_open, allow_url_fopen
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | /home2/micke11:/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 | 128M | 128M
post_max_size | 128M | 128M
==========================
Page generated in 0.125 seconds - 21 queries in 0 seconds - Album set : ; Meta set: ;
« Last Edit: June 30, 2009, 11:27:44 pm by Fabricio Ferrero »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Den föregående filen kunde inte placeras
« Reply #1 on: June 29, 2009, 06:09:28 pm »

First of is it possible to make so not only admins can make albums?
No. Thanks for being the 10,000th person to ask the same silly question over instead of reading the docs or searching the forum first.

First i upload the image it says it succesed then it asks me for title and album and all that when ive filled everything it gives me this:
Do exactly as suggested in the docs, section "asking for support on upload issues"

Here is debug
Nobody asked for it.
Logged

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #2 on: June 29, 2009, 09:16:55 pm »

ok, then maybe if its so many that have asked for it why dont make it cause its obviouse that people wants it then...
________________________________________________________________________________________________________________
site: http://clan-saf.com/gotland2/
user: test
pass: test
________________________________________________________________________________________________________________
It stands on the site: (Om du vill ha hjälp på Coppermines supportforum, kopiera den här debuginformationen och klista in den i ditt inlägg, tillsammans med eventuellt felmeddelande du får (om något). Var noga med att ersätta känslig information (t.ex. lösenord) med *** innan du postar inlägget.
Obs: detta är endast för information och betyder inte nödvändigtvis att det är något fel på ditt galleri.)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Den föregående filen kunde inte placeras
« Reply #3 on: June 29, 2009, 09:59:20 pm »

ok, then maybe if its so many that have asked for it why dont make it cause its obviouse that people wants it then...
Already has been accomplished for cpg1.5.x. However, that discussion doesn't belong into this thread. I suggest keeping a level head. After all, it's you who wants free support, not vice versa.

It stands on the site: (Om du vill ha hjälp på Coppermines supportforum, kopiera den här debuginformationen och klista in den i ditt inlägg, tillsammans med eventuellt felmeddelande du får (om något). Var noga med att ersätta känslig information (t.ex. lösenord) med *** innan du postar inlägget.
Obs: detta är endast för information och betyder inte nödvändigtvis att det är något fel på ditt galleri.)
Yeah sure, whatever. I don't care for some Swedish text on your page. I have no idea what it means. And I'm not ready to argue with you about text that I haven't come up with. When you registered on this forum you agreed to respect board rules and to read the docs before asking questions. Obviously, you haven't, so stop the lame excuses.

site: http://clan-saf.com/gotland2/
Upgrade!

You haven't done as suggested in the docs - the number of file and URI upload fields is not set up correctly. I'm not going to repeat this: RTFM. Don't bother to return before having finished your homework.

Logged

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #4 on: June 29, 2009, 10:17:11 pm »

Already has been accomplished for cpg1.5.x. However, that discussion doesn't belong into this thread. I suggest keeping a level head. After all, it's you who wants free support, not vice versa.
Ok, couldnt you just have said that would have been faster

Yeah sure, whatever. I don't care for some Swedish text on your page. I have no idea what it means. And I'm not ready to argue with you about text that I haven't come up with. When you registered on this forum you agreed to respect board rules and to read the docs before asking questions. Obviously, you haven't, so stop the lame excuses.
It should be the same in every languse or does it have different meaning in the other languses.

Quote
(If you want help on the Coppermine support forum, copy this debuginformationen and paste it into your post, along with any error message you receive (if any). Be sure to replace sensitive information (eg passwords) with ** * before you post the post.
Note: this is for information only and does not necessarily mean that there is something wrong with your gallery.)

You haven't done as suggested in the docs - the number of file and URI upload fields is not set up correctly. I'm not going to repeat this: RTFM. Don't bother to return before having finished your homework.
set.
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Den föregående filen kunde inte placeras
« Reply #7 on: June 30, 2009, 10:55:40 am »

When trying to upload I get
Quote
The file 'albums/userpics/flower.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.
Please post details on the image library you have configured coppermine to use: make sure that you actually have that library available on your server (check phpinfo). Additionally, make sure that you have applied permissions on the albums folder as per docs.
Logged

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #8 on: June 30, 2009, 12:26:21 pm »

Do you think you can fix it if you get ftp and admin?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Den föregående filen kunde inte placeras
« Reply #9 on: June 30, 2009, 06:36:20 pm »

Probably yes, but I haven't asked for that yet. I believe in teaching you how to help yourself. I'm not going to make your homework. So, please answer my question.
Logged

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #10 on: June 30, 2009, 06:47:43 pm »

Is it this one?
LD_LIBRARY_PATH    /usr/local/apache/lib:

chmod: 777
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Den föregående filen kunde inte placeras
« Reply #11 on: June 30, 2009, 07:43:16 pm »

No.

1 - Go to the Config Panel and check "Files and thumbnails advanced settings --> Method for resizing images". What image library does it says there that you're using?

2 - Point your browser to http:///www.your-site.ltd/coppermine-folder/phpinfo.php

Search the "gd" info.
And check the values of this 2 parameters:

Code: [Select]
GD Support
GD Version
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #12 on: June 30, 2009, 08:22:29 pm »

Image magick
enabled
(2.0.34 compatible)
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Den föregående filen kunde inte placeras
« Reply #13 on: June 30, 2009, 11:05:20 pm »

Go to the Config Panel, "Files and thumbnails advanced settings --> Method for resizing images" and change the resize method to GD2, then go to the bottom of the page and click on Save. Then, try again.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

micke1101

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Den föregående filen kunde inte placeras
« Reply #14 on: June 30, 2009, 11:24:40 pm »

Thank you it seems to work now
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Den föregående filen kunde inte placeras
« Reply #15 on: June 30, 2009, 11:27:32 pm »

You're welcome. Thanks for coming back and solve the problem.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved:] Den föregående filen kunde inte placeras
« Reply #16 on: June 30, 2009, 11:36:58 pm »

For the benefit of others with similar issues: the problem comes from blindly entering ImageMagick into Coppermine's installer without knowing what that does. If you have no idea what ImageMagick is, don't specify ImageMagick, but GD2. Only a small minority of servers actually has got ImageMagick available. Most servers have GD2. Don't make the ImageMagick path up.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.