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
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
MediaShare - Error uploading pictures
-
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Do you have write permission to the Mediashare folder?
Permissions should be recursive.
--
David Pahl
Zikula Support Team -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 36
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: Softmore
- Registered: Jul 02, 2002
- Last visit: Oct 21, 2009
- Posts: 240
"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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 36
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: Softmore
- Registered: Jul 02, 2002
- Last visit: Oct 21, 2009
- Posts: 240
It is probably some internal limit in PHP - try to allow PHP to use more memory (setting in php.ini). -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 81
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
- Moderated by:
- Support
Users on-line
This list is based on users active over the last 60 minutes.
