- Moderated by:
- Support Team
-
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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. -
- rank:
-
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. -
- rank:
-
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. -
- rank:
-
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 -
- rank:
-
Professional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 901
That's why I tried with small *.jpg files...
.
Good you found the answer.
- Igor
--
Have a nice day
zikulapro.be is currently running
Zikula 1.0.2
