[Solved:] Den föregående filen kunde inte placeras [Solved:] Den föregående filen kunde inte placeras
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved:] Den föregående filen kunde inte placeras

Started by micke1101, June 29, 2009, 03:37:25 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

micke1101

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:
QuoteDen föregående filen kunde inte placeras.

Alla filer har nu placerats.

Here is debug

QuoteUSER:
------------------
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: ;

Joachim Müller

Quote from: micke1101 on June 29, 2009, 03:37:25 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.

Quote from: micke1101 on June 29, 2009, 03:37:25 PMFirst 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"

Quote from: micke1101 on June 29, 2009, 03:37:25 PMHere is debug
Nobody asked for it.

micke1101

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.)

Joachim Müller

Quote from: micke1101 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...
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.

Quote from: micke1101 on June 29, 2009, 09:16:55 PMIt 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.

Quote from: micke1101 on June 29, 2009, 09:16:55 PM
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.


micke1101

Quote from: Joachim Müller on June 29, 2009, 09:59:20 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

Quote from: Joachim Müller on June 29, 2009, 09:59:20 PM
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.)

Quote from: Joachim Müller on June 29, 2009, 09:59:20 PM
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.

Fabricio Ferrero

Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)


Joachim Müller

When trying to upload I get
QuoteThe 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.

micke1101

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

Joachim Müller

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.

micke1101

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

chmod: 777

Fabricio Ferrero

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:


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

Catching up! :)

micke1101


Fabricio Ferrero

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.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

micke1101


Fabricio Ferrero

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

Catching up! :)

Joachim Müller

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.