![]() |
|
subalbums and other pages broken - 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: subalbums and other pages broken (/thread-2192.html) |
subalbums and other pages broken - A - 2008-02-28 I installed zenphoto 1.1.4 using the highslide theme and experience problems in regards to the display of subalbums and images. It works fine with regular albums like this one: http://www.deceitful-tranquillity.de/gallery/work-in-progress/ When I tried the default theme pictures wouldn't be displayed at all. I'd be glad for some advise to solve that problem. subalbums and other pages broken - jsumners - 2008-02-28 Have you tried a different theme? The "highslide" theme doesn't seem to be an included theme, so it could be out-of-date. subalbums and other pages broken - A - 2008-02-28 It is the same problem with the default and other included themes. subalbums and other pages broken - jsumners - 2008-02-28 Looks like I missed the sentence where you answered that question in your original post. Have you modified the theme? Looking at the source for the "miscellaneous" album, you have this path structure: "/gallery/themes/highslide/styles/dark.css" This suggest you have installed Zenphoto into the "gallery" directory such that there is "gallery/themes", "gallery/zp-core", "gallery/albums", etc. But when I go into the "roses" sub-album, I find this path referenced: "/gallery/miscellaneous/themes/highslide/styles/dark.css" So either the theme has a bug that needs to be fixed by its maintainer, or you have modified it in some way that has broken it. In regard to the default theme, what errors do you get in your server log? It should show the pictures. subalbums and other pages broken - acrylian - 2008-02-28 I have no direct clue, but have you tried disabling mod_rewrite? subalbums and other pages broken - sbillard - 2008-02-28 At the end of your zp-config.php file you will find: // Path Overrides //////////////////////////////////////////////////////////////////////////////// // Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS, // like "file not found" or "not readable" errors. // These allow you to override Zenphoto's detection of the correct paths // on your server, which might work better on some setups. //////////////////////////////////////////////////////////////////////////////// // define('WEBPATH', '/zenphoto'); // define('SERVERPATH', '/full/server/path/to/zenphoto');` Try changeing thse to what your site requires. On some installations the zenphoto detection does not work correctly. In the first devine, subalbums and other pages broken - A - 2008-02-28 Thank you for your assistance. It seems to be working fine now. I changed in both devines "zenphoto" to "gallery" and since subalbums still weren't working after that, I also disabled mod_rewrite. Since then subalbums are working fine and pictures are displayed correct in default, highslide and smooth theme. Thank you very much! subalbums and other pages broken - MacAddict - 2008-03-09 I am also having these same problems with sub-albums where I get a "Not Found" error when trying to access them. The rewrite rules seem to work for top level stuff, but when I have a nested sub album, it breaks. http://gallery.macsplaceonline.com/home-renovation-projects/ subalbums and other pages broken - acrylian - 2008-03-09 This is indeed an older htaccess file which is not recommended. The htaccess file is named .htaccess and invisible on your computer since you apparently using a Mac..:-) It is visible in a FTP client like Transmit or Cyberduck. Or you just use one of the tools to make it visible, lot of them on www.macupdate.com. subalbums and other pages broken - MacAddict - 2008-03-09 Well.. that IS a problem on Mac, and I always just name the file ##.htaccess in order to view/edit it, but if I can't see it from unzipping the installer, then I can't very well FTP it for use. Is it possible someone give me a link to the most current htaccess file as copyable code, or provide it here? Or would that reveal too much to the kiddie scripters looking for the structure of zenPhoto? EDIT: whoops.. nevermind... found some tools for viewing hidden files... thanks for the link subalbums and other pages broken - acrylian - 2008-03-09 I am Mac user myself and I have no problem with unzipping and FTP, so I didn't exactly understand your problem. subalbums and other pages broken - MacAddict - 2008-03-10 the problem is that by default, OSX hides all files beginning with a ., so there was no visible .htaccess file in the installer. (I do use Cyberduck to FTP, but not for browsing locally... I drag and drop to cyberduck) Other open source apps, like Wordpress, write the htaccess file to the server once installed, not with the installer, which I can then download as @@.htaccess so that is shows up without having to tweak OSX into showing hidden files. I downloaded a tweak from the site you provided in order to view, modify and upload the .htaccess file provided with the install, but the sub-album is still broken. It "loses" reference to the CSS file, the images as well as the links for some reason. http://gallery.macsplaceonline.com/home-renovation-projects/ subalbums and other pages broken - acrylian - 2008-03-10 Yes, I know that the files are invisible on OS X. I never liked Cyberduck, so I use Transmit that lets you browse the files. As for the missing CSS, I guess you probably have a problem with the subdomain you are using. Please take a look here if that helps: subalbums and other pages broken - MacAddict - 2008-03-10 It's not just the CSS... even the breadcrumbs at the top have incorrect links, which leads me to believe that it's something with the mod_rewrite in the .htaccess not accounting for nested sub-albums, considering that the package works fine with mod_rewrite disabled. And after looking at the articles you posted about subdomains, I do not believe this is my problem, as this site is not just redirect with a subdirectory inside macsplaceonline.com. (i.e. macsplaceonline.com/gallery) It is basically it's own account, with it's own directory below the root. (just as macsplaceonline.com has) Again... it has something to do with the mod_rewrite rules in the .htaccess, as the package works fine without the mod_rewrite enabled. I will do some research and see what I can come up with. [b]EDIT:[/b] The problem was not in the .htaccess or the mod_rewrite, but in the config file. I uncommented out the 2 lines @ 53 & 54, and placed the proper paths into those lines, and now things seem to work fine as far as sub-albums + mod_rewrite. Now my problem is viewing the individual images inside any album with mod_rewrite enabled, where I now get: Zenphoto Error: the requested object was not found. Please go back and try again. With mod_rewrite disabled, things work just fine. So I guess I will search for this new error in the forums... subalbums and other pages broken - acrylian - 2008-03-10 Surely this is an problem of config and mod_rewrite. Mod_rewrite is notorious for that. And the next would have been indeed to suggest uncommenting that two lines. I sadly have no further idea. Please report if you solve anything or not. |