![]() |
|
Invalid album instantiation - 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: Invalid album instantiation (/thread-13617.html) |
Invalid album instantiation - wessjan - 2021-07-26 My debug log is running full with errors like this: Thanks Jan Invalid album instantiation - acrylian - 2021-07-26 So the albums actually do exists with those spaces? Then you should rename them to avoid hassle. Since the folder names like filenames also are used in the URL you should generally avoid spaces and special chars because they are looking bad being encoded and also may cause all sorts of issues. Spaces should be replaced by dashes. You can use the seo cleanup plugin to do so. Note: If the URLs are important for you regarding SEO you may need to add redirections using the redirector plugin for all albums as otherwise the URLs break. Please consider to upgrade to 1.5.9 ;-) Invalid album instantiation - sbillard - 2021-07-26 While the suggestion to rename the folder is valid for SEO reasons albums with spaces in the folder name should be working: https://sbillard.org/50th%20Anniversary%2C%20San%20Diego/ From the error message I would guess that the album link is being doubly URL encoded. The space is represented in the URL as %20, but that should have been converted to a space when by the server processing of the requested link. Invalid album instantiation - acrylian - 2021-07-27 It seems to be server/system dependent. On my localhost it does not work as well but it does on our own server, with encoded spaces and without :
Invalid album instantiation - wessjan - 2021-07-29 I've renamed the folders and adjusted the DB. The errors are gone. Thanks. Invalid album instantiation - acrylian - 2021-07-29 Great, save you from lot of unnecessary hassle even if it "should" work. |