![]() |
|
Create albums and uploading images fails. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Create albums and uploading images fails. (/thread-7549.html) |
Create albums and uploading images fails. - souni - 2010-08-31 Hi, I did 1.3.1.1 fresh install. When I go to admin page and try to create new album I get error: Notice: class-album detected an invalid folder name: %2Ftest. in /www/zenphoto/www-root/zp-core/class-album.php on line 68 Zenphoto encountered an error Zenphoto encountered an error Zenphoto encountered an error It seems that album part of url in browser seems wrong after pressing OK in album creation dialog: https://mydomain.com/zp-core/admin-edit.php?page=edit&album=%252Ftest After all album is created. When I try to upload multiple images I get also erro: p1010541.jpg (2.7MB) - IO Error But if I try single file upload it works. Create albums and uploading images fails. - acrylian - 2010-08-31
Create albums and uploading images fails. - souni - 2010-08-31 Album was named as Test. So there was no any special chars like backslash. It does that for every album name. On albums page name seems to be ok. Create albums and uploading images fails. - sbillard - 2010-08-31 This would appear to be a combination of a bug in the New Album handling and your file system not allowing the "%" character in a file name. Anyway, fix will be in the nightly build tonight--the %2f (slash) should not have been there! Create albums and uploading images fails. - souni - 2010-09-01 Taking the latest version from svn fixed the first issue with creating album. (Nightly build didn't have the fix yet) How ever the second problem with uploadin multiple images still remains. Thanks for so quick response. Create albums and uploading images fails. - souni - 2010-09-01 I don'w have any "%" characters in my album names. System is Debian Linux (Lenny). If I try to make folder from command lin for example "test%case" it works. So I think my file system accepts also "%" characters. Create albums and uploading images fails. - sbillard - 2010-09-01 There was something it was not accepting, but no matter, the % should not have been there in the first place. What upload method are you using? What is the server file upload size limit? Create albums and uploading images fails. - souni - 2010-09-01 I'm using the "multi file upload". Server file upload limit is set to 1000MB so it should not be that. The "http-browser single file upload" method works. Create albums and uploading images fails. - sbillard - 2010-09-01 Where does that error show up? Create albums and uploading images fails. - souni - 2010-09-01 There is a a screenshot at http://kuvat.souni.dy.fi/albums/test/error.png Create albums and uploading images fails. - sbillard - 2010-09-01 Those errors are comming from the uploadify flash code which is provided by a third party. Does the upload work if you do only one file? I am sorry, but I really do not know what might cause that. Perhaps this (or similar posts) can help: http://www.uploadify.com/forum/viewtopic.php?f=7&t=41 Create albums and uploading images fails. - souni - 2010-09-02 Flash unloader won't work even with one file. Thanks for the link, I try to investigate what seems to cause this problem. Create albums and uploading images fails. - souni - 2010-09-02 It seems that problem is somewhere in my admin https configuration. I have proxy that redirects admin http request to https. When I turned that off and tried with plain http it worked. Create albums and uploading images fails. - acrylian - 2010-09-02 Does the uploadify site say anything about issues with https? Maybe that is something for its developer to fix. Create albums and uploading images fails. - souni - 2010-09-02 I resolved problem with lazy way and made rules to keep upload page http and another pages https. I don't know how insecure it that but at least it works. I seems that it is some kind of feature of Flash and self signed certificates. http://www.uploadify.com/forum/viewtopic.php?f=3&t=44 Have somebody else got https and flash uploader work together? Create albums and uploading images fails. - souni - 2010-09-02 With Safari https and uploadify works! :o Create albums and uploading images fails. - kagutsuchi - 2010-09-02 A little bit of Googling reveals that an HTTP error usually preceeds the IO Error. I found this topic (http://uploadify.com/forum/viewtopic.php?f=5&t=12) that yields a code snippet to help reveal what the HTTP error actually is. If you try that, you should have a much better idea of what's going wrong. Create albums and uploading images fails. - souni - 2010-09-02 I tested the code and error message was: |