Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
MediaShare - Error uploading pictures
  • Posted: 27.12.2007, 20:47
     
    rkilmabi
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    24.02.08
    Posts:
    67
    I am trying to upload pictures of size between 1mb to 1.5 mb. Setting in the Mediashare module is to allow for pictures of size 2 mb. When I try to upload, it gives me a page not found error (module=Mediashare&type=edit&func=addmedia&aid=3) and sometimes it gives me this error '
    '/modules/mediashare/pnsource_browser.php(76): Unknown authentication key: you cannot submit the same form twice'. Any tips on what is happening?

    Thanks
  • Posted: 27.12.2007, 21:38
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Do you have write permission to the Mediashare folder?

    Permissions should be recursive.

    --
    David Pahl
    Zikula Support Team
  • Posted: 27.12.2007, 22:25
     
    rkilmabi
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    24.02.08
    Posts:
    67
    yes...I also was able to upload the first picture of size around 400kb..got the error when I tried uploading a second one that was around 1.2 mb. Tried uploading another picture of around 700k and still get the same error.
  • Posted: 27.12.2007, 23:47
     
    JørnWildt
    rank:
    Helper Helper
    registered:
     July 2002
    Status:
    offline
    last visit:
    07.09.08
    Posts:
    245
    "Unknown authentication key" - maybe because you have two different windows open - when you submit one thing in the first window, you cannot submit afterwards in the other window. It's a problem with PN's anti-replay mechanism.
  • Posted: 28.12.2007, 00:39
     
    rkilmabi
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    24.02.08
    Posts:
    67
    I logged out, deleted all cookies etc and now when every I try uploading the picture, I am consistenly getting the HTTP 500 internal server error, with 'module=Mediashare&type=edit&func=addmedia&aid=3' displayed in the browswer address bar.

    As a test, I tried uploading another picture of around 400kb and it went through fine...is size the issue here? The pictures that are failing are between 1 to 1.5 mb and I have ensured that the settings in the Mediashare module allow upto 2mb of individual picture size.
  • Posted: 28.12.2007, 01:03
     
    JørnWildt
    rank:
    Helper Helper
    registered:
     July 2002
    Status:
    offline
    last visit:
    07.09.08
    Posts:
    245
    It is probably some internal limit in PHP - try to allow PHP to use more memory (setting in php.ini).
  • Posted: 06.01.2008, 07:00
     
    Melinda
    rank:
    Helper Helper
    registered:
     October 2007
    Status:
    offline
    last visit:
    26.07.08
    Posts:
    101
    How do I allow my PHP to use more memory? More exactly, what is the setting I need to use in the php.ini?
    Can I just add "memory=2mb"?
    I'm not great on programming, so please help!! :D

    Thanks,
    Mickey
  • Posted: 07.01.2008, 03:00
     
    Melinda
    rank:
    Helper Helper
    registered:
     October 2007
    Status:
    offline
    last visit:
    26.07.08
    Posts:
    101
    I got it fixed - the php.ini memory limit, that is

    Mickey
  • Posted: 07.01.2008, 04:53
     
    videokid
    rank:
    Professional Professional
    registered:
     March 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    901
    That's why I tried with small *.jpg files... icon_smile .
    Good you found the answer.

    - Igor

    --
    Have a nice day
    zikulapro.be is currently running
    Zikula 1.0.2

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula