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: Onmogelijk te plaatsen  (Read 5472 times)

0 Members and 1 Guest are viewing this topic.

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Onmogelijk te plaatsen
« on: February 13, 2007, 11:48:38 am »

Hello,

My gallery has been working fine, until about a week or 2 ago.
When I upload a picture, it says:
"Foutboodschap, onmogelijk te plaatsen."
(Error, can't upload)

I've read the sticky thread and it said you have to check the permissions.
They're all set 777, so that can't be the problem.
Does anyone know what I should do to fix this?
Thanks!

Suzy
Logged

Nibbler

  • Guest
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #2 on: February 13, 2007, 03:19:28 pm »

Ok, I've done that. Now it says
"Impossible to move () to albums/userpics/10001/"

Read another topic about this and they were told to check the permissions again.
I've done that aswell, but the permissions are fine.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #3 on: February 13, 2007, 06:54:52 pm »

Ok, I've done that.
No, you haven't. The stuff you failed to read is the important bit highlighted in red. Re-read the section Nibbler refered to and do exactly as suggested.
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #4 on: February 13, 2007, 09:33:26 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #5 on: February 14, 2007, 07:46:46 am »

Actual link to gallery is http://www.brigitteheitzer.nl/cpg148/, not http://www.brigitteheitzer.nl/ - don't make us search around.

You're using cpg1.4.8 - it's mandatory to upgrade to the most recent stable version (currently cpg1.4.10).

The test user account doesn't work - review the details you posted.
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #6 on: February 14, 2007, 04:35:54 pm »

test01
testing
That should work.

"When asking for support on the coppermine forum, post a link to your site."

And I'll upgrade to the most recent version, maybe that will help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #7 on: February 15, 2007, 07:33:15 am »

And I'll upgrade to the most recent version, maybe that will help.
Do so, then reply to this thread, saying that you have done so. There's no use looking into this for an outdated version.
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #8 on: February 28, 2007, 03:14:25 pm »

Ok I hopefully upgraded the gallery. Tried to upload a picture, but it said that there's no file to upload:

Er is geen bestand geupload !
Indien je echt een bestand geselecteerd hebt om te uploaden, controleer of de server bestands-upload toestaat...
Bestand: /usr/home/c3698mxx/domains/brigitteheitzer.nl/public_html/cpg148/db_input.php - Regel: 311



Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #9 on: February 28, 2007, 06:37:54 pm »

Test user account you posted above doesn't work for me, please check. Actual gallery URL is http://www.brigitteheitzer.nl/cpg148/
Post error messages in English (by temporarily accessing your page using the link http://www.brigitteheitzer.nl/cpg148/?lang=english and http://www.brigitteheitzer.nl/cpg148/?lang=xxx to switch back to your language), not all supporters speak Dutch.
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #10 on: March 01, 2007, 11:45:54 am »

No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /usr/home/c3698mxx/domains/brigitteheitzer.nl/public_html/cpg148/db_input.php - Line: 311

And the test user account:
tes001
testing
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #11 on: March 01, 2007, 04:22:46 pm »

check that the server allows file uploads...
Does the server allow uploads? Take a look at PHPINFO.
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #12 on: March 01, 2007, 06:59:57 pm »

Where can I find PHPINFO?
Logged

Nibbler

  • Guest
Re: Onmogelijk te plaatsen
« Reply #13 on: March 01, 2007, 07:44:54 pm »

Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #14 on: March 02, 2007, 12:50:26 pm »

As far as I know, I think it does allow uploads. At least it says Uploads ... On
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #15 on: March 04, 2007, 03:01:53 pm »

Apparently I'm supposed to show you this:





USER:
------------------
Array
(
    [ID] => 882fa940076e65ecc427abe78c284c5f
    [am] => 1
    [lang] => dutch
    [liv] => Array
        (
           
  • => 15
  • [1] => 17
                [2] => 139
                [3] => 267
                [4] => 266
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0s)
  • [1] => select * from cpg148_plugins order by priority asc; (0s)
        [2] => delete from `c3698mxx_coppermine`.cpg148_sessions where time<1173013256 and remember=0; (0s)
        [3] => delete from `c3698mxx_coppermine`.cpg148_sessions where time<1171807256; (0s)
        [4] => select user_id from `c3698mxx_coppermine`.cpg148_sessions where session_id=md5("5bf6e442a7b33bf0ccd5292ff5edd34a141777da18f4c9574ce7c48127bbdfe6"); (0s)
        [5] => select user_id as id, user_password as password from `c3698mxx_coppermine`.cpg148_users where user_id=0 (0s)
        [6] => 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 cpg148_usergroups WHERE group_id in (3) (0s)
        [7] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 3 (0s)
        [8] => update `c3698mxx_coppermine`.cpg148_sessions set time='1173016856' where session_id=md5('5bf6e442a7b33bf0ccd5292ff5edd34a141777da18f4c9574ce7c48127bbdfe6'); (0s)
        [9] => DELETE FROM cpg148_banned WHERE expiry < '2007-03-04 14:00:57' (0.006s)
        [10] => SELECT * FROM cpg148_banned WHERE (ip_addr='62.163.147.126' OR ip_addr='62.163.147.126' OR user_id=0) AND brute_force=0 (0.01s)
        [11] => SELECT aid FROM cpg148_albums (0.009s)
        [12] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = ''  ORDER BY name (0.006s)
        [13] => SELECT aid FROM cpg148_albums WHERE category = 3 (0.004s)
        [14] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0.01s)
        [15] => SELECT count(*) FROM cpg148_albums as a WHERE category = '3' (0.007s)
        [16] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg148_albums as a LEFT JOIN cpg148_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,11 (0.01s)
        [17] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg148_albums AS a  LEFT JOIN cpg148_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (6, 3, 10, 5, 1, 8, 2, 4, 7, 11, 14)GROUP BY a.aid (0.01s)
        [18] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='196' (0.01s)
        [19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='271' (0.01s)
        [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='141' (0.01s)
        [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='20' (0.01s)
        [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='265' (0.01s)
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='264' (0.01s)
        [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='248' (0.01s)
        [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='200' (0.01s)
        [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='88' (0.009s)
        [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='237' (0s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='267' (0s)
        [29] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '3'  ORDER BY name (0s)
        [30] => SELECT aid FROM cpg148_albums as a WHERE category>=10000 (0s)
        [31] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [32] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '1'  ORDER BY name (0s)
        [33] => SELECT aid FROM cpg148_albums as a WHERE category = '0' (0s)
        [34] => SELECT count(*) FROM cpg148_albums as a WHERE 1 (0s)
        [35] => SELECT count(*) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
        [36] => SELECT count(*) FROM cpg148_comments as c LEFT JOIN cpg148_pictures as p ON c.pid=p.pid LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [37] => SELECT count(*) FROM cpg148_categories WHERE 1 (0s)
        [38] => SELECT sum(hits) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
        [39] => SELECT count(*) FROM cpg148_albums as a WHERE category = '0' (0s)
        [40] => SELECT COUNT(*) from cpg148_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,10,11,12,13,14,15)  (0.001s)
        [41] => SELECT * FROM cpg148_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,10,11,12,13,14,15)  ORDER BY RAND() LIMIT 8 (0.006s)
        [42] => SELECT COUNT(*) from cpg148_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,10,11,12,13,14,15)  (0s)
        [43] => SELECT * FROM cpg148_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,10,11,12,13,14,15)  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    Page generated in 0.881 seconds - 44 queries in 0.171 seconds - Album set : ; Meta set: AND aid IN (1,2,3,4,5,6,7,8,10,11,12,13,14,15) ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Onmogelijk te plaatsen
« Reply #16 on: March 05, 2007, 07:39:16 am »

No, you're not. Troubleshooting section clearly says not to post debug_output unless a supporter explicitely requests it.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Onmogelijk te plaatsen
« Reply #17 on: March 05, 2007, 02:15:37 pm »

It might just have something to do with silly safe mode being enabled.
In the docs at 2.4 it is mentioned as following:

Quote
2.4 Safe mode issues

A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.

If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :

    * With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
    * Do the same for the "albums" and "userpics" directories.
    * Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"

Try these steps to see if you can get it to work.

Hein
Logged

SuzyBrigitteHeitzerSite

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Onmogelijk te plaatsen
« Reply #18 on: March 05, 2007, 03:53:57 pm »

Ok, I'll try that now. Thanks, Hein  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.