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
- Teb answered »MenuTree Mystery« 23:29h
- dks answered »include a file« 18:22h
- dks answered ».764 -> 1.1.1, Can't add new blocks« 17:33h
- craigh posted »PostCalendar 5.5.0RC1 needs testers and translators« 17:24h
- bartl answered »Upgrading 1.0.2 --> 1.1.1« 15:02h
- Charlie-otb answered »SafeHTML output filter and youtube« 10:02h
- dl7und answered »Adding an "About Us" page« 03:34h
Login
MediaShare - Error uploading pictures
-
- Rank: Softmore
- Registered: 17.12.07
- last visit: 24.02.08
- Posts: 67
-
- Rank: Team Member
- Registered: 08.12.03
- last visit: 29.06.09
- Posts: 3062
Do you have write permission to the Mediashare folder?
Permissions should be recursive.
--
David Pahl
Zikula Support Team -
- Rank: Softmore
- Registered: 17.12.07
- 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. -
- Rank: Helper
- Registered: 02.07.02
- last visit: 31.03.09
- Posts: 250
"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. -
- Rank: Softmore
- Registered: 17.12.07
- 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. -
- Rank: Helper
- Registered: 02.07.02
- last visit: 31.03.09
- Posts: 250
It is probably some internal limit in PHP - try to allow PHP to use more memory (setting in php.ini). -
- Rank: Helper
- Registered: 03.10.07
- 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 -
- Rank: Helper
- Registered: 03.10.07
- last visit: 26.07.08
- Posts: 101
-
- Rank: Professional
- Registered: 22.03.03
- last visit: 05.07.09
- Posts: 943
That's why I tried with small *.jpg files...
.
Good you found the answer.
- Igor
--
Have a nice day
zikulapro.com is currently running
Zikula 1.1.1
- Moderated by :
- Support
