Forum Activity

Forum feed

MediaShare - Error uploading pictures  Top

  • 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
  • Do you have write permission to the Mediashare folder?

    Permissions should be recursive.

    --
    David Pahl
    Zikula Support Team
  • 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.
  • "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.
  • 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.
  • It is probably some internal limit in PHP - try to allow PHP to use more memory (setting in php.ini).
  • 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
  • I got it fixed - the php.ini memory limit, that is

    Mickey
  • That's why I tried with small *.jpg files... icon_smile .
    Good you found the answer.

    - Igor

    --
    Have a nice day
    zikulapro.com is currently running
    Zikula 1.1.1

This list is based on the users active over the last 60 minutes.