Member
Member
souni   2010-08-31, 13:11
#1

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
Error: The album named cannot be found.

Zenphoto encountered an error
Error: The album named cannot be found.

Zenphoto encountered an error
MySQL Query ( SELECT * FROM zp_images WHERE albumid= ) failed. MySQL returned the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

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.

Administrator
Administrator
acrylian   2010-08-31, 13:45
#2

%2F is the escaped string of backslash /. Actually the backslash is not part of the name of a top level album (it would be for a sublevel one as that alwas includes its parent(s)). How is the album actually named?

Member
Member
souni   2010-08-31, 14:42
#3

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.

Member
Member
sbillard   2010-08-31, 19:27
#4

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!

Member
Member
souni   2010-09-01, 04:46
#5

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.

Member
Member
souni   2010-09-01, 06:43
#6

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.

Member
Member
sbillard   2010-09-01, 17:42
#7

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?

Member
Member
souni   2010-09-01, 18:00
#8

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.

Member
Member
sbillard   2010-09-01, 18:08
#9

Where does that error show up?

Member
Member
souni   2010-09-01, 18:36
#10

There is a a screenshot at http://kuvat.souni.dy.fi/albums/test/error.png

Member
Member
sbillard   2010-09-01, 19:13
#11

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

Member
Member
souni   2010-09-02, 07:02
#12

Flash unloader won't work even with one file. Thanks for the link, I try to investigate what seems to cause this problem.

Member
Member
souni   2010-09-02, 08:47
#13

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.

Administrator
Administrator
acrylian   2010-09-02, 09:09
#14

Does the uploadify site say anything about issues with https? Maybe that is something for its developer to fix.

Member
Member
souni   2010-09-02, 18:15
#15

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?

Member
Member
souni   2010-09-02, 18:39
#16

With Safari https and uploadify works! :o

Member
Member
kagutsuchi   2010-09-02, 19:13
#17

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.

Member
Member
souni   2010-09-02, 20:17
#18

I tested the code and error message was:
error IO: Error #2038: File I/O Error. URL: https://kuvat.souni.dy.fi/zp-core/admin-uploadify/uploader.php

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.