akirafreak / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

Foldernames with special German characters could not be opened #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a folder with characters like ä, ö, ü in its name
2. Try to browse this folder

What is the expected output? What do you see instead?
Pictures within this folder should be displayed. Error message: Folder doesn't 
exist

What version of PHPPI are you using? On what operating system?
1.2.0

Original issue reported on code.google.com by achim.gy...@googlemail.com on 7 Apr 2013 at 8:45

GoogleCodeExporter commented 8 years ago
This should work if you enable the "Cyrillic support" setting.

Original comment by gorounreal on 7 Apr 2013 at 9:37

GoogleCodeExporter commented 8 years ago
"Cyrillic support" is enabled, but it doesn't work however.

Original comment by achim.gy...@googlemail.com on 8 Apr 2013 at 6:06

GoogleCodeExporter commented 8 years ago
Is this install currently online so I can have a look and see if there's 
anything obvious in the outputted source code? Otherwise if you could enable 
all debug options and paste them here or email me the output at 
contact@pixelizm.com.

Original comment by gorounreal on 8 Apr 2013 at 7:23

GoogleCodeExporter commented 8 years ago
I'm confused. When I opened the gallery today, I could see the foldernames with 
ä, ö, ü correctly and it was possible to open one of them. But after going 
back to the previous page the folgernames where displayed incorrenctly again. 
Within the phppi/cache directory the foldernames were created correctly. I 
deleted the cache.xml (the foldernames in this file are listed incorrectly) and 
opened the directory again within the gallery. Result: Foldernames are correct, 
change into one possible, pictures displayed, but after going back same 
procedure -> incorrect foldernames. But I got a message, after deleting the 
cache.xml and opening the main folder:
Warning: SimpleXMLElement::asXML(): invalid character value in 
/daten/intranet/bildergalerie/phppi/includes/classes/phppi.php on line 457
Btw, gallery is not online. Debug output will be sent by mail

Original comment by achim.gy...@googlemail.com on 9 Apr 2013 at 8:09

GoogleCodeExporter commented 8 years ago
Further information: After disabeling "File Cache" it seems to work fine. But 
this could only be a workaround.

Original comment by achim.gy...@googlemail.com on 9 Apr 2013 at 8:27

GoogleCodeExporter commented 8 years ago
Interesting, if it didn't stop working again i'd say it was just a caching 
issue. But possibly it's not caching correctly with those characters, it might 
be breaking the xml file. Can you post one of the folder names that don't work 
so I can try on my install?

Thanks for the debug output as well.

Original comment by gorounreal on 9 Apr 2013 at 9:45