![]() |
|
Upgrade to 1.1.5 problems - 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: Upgrade to 1.1.5 problems (/thread-2538.html) |
Upgrade to 1.1.5 problems - ming21 - 2008-03-26 Last night I upgraded to 1.1.5 and now I am experiencing several issues. First, when I log in to the admin account I am immediately presented with an error. I suspect the upgrade process modified my tables somehow and now I am getting this error: Zenphoto Error Second, while my photo albums appear in the albums list, when I click on an album I get a error message stating the page does not exist or that the URL is incorrect. It worked fine before the upgrade so I can only suspect that this has somehow also been modified. Finally, and this is a little thing, the version info is no longer displayed at the bottom of the admin screen. Maybe just an oversight for this version. If anyone can offer assistance, I will greatly appreciate it. Thanks P.S. I think that an excellent addition to the ZP features would be an auto installation and upgrade script. Upgrade to 1.1.5 problems - sbillard - 2008-03-27 Are you running a custom theme? Have you got any custom PHP code? THe We have considered the installation script. However, there would need to be multiple scripts for the different servers, etc. Is it really so bad to upload the zenphoto files? Upgrade to 1.1.5 problems - ming21 - 2008-03-27 Thank you for the info. I am not running a custom theme. I uploaded the upgrade again and this time it appears to be working. Perhaps a file did not upload properly the first time. One issue I have noticed is the Theme Options Tab in the Admin section does not work. The theme I am using (Effervescence) states that some options can be changed through this tab. When this tab is selected the tab gets a black bar, but the screen remains as the previous tab. Regarding the installation script. I can understand not wanting to tackle it. Indeed it is easy to upload files, however, the objective is not to "upload files" but to successfully upgrade ZP. I find the Upgrade Instructions rather inadequate. Here are the Upgrade instructions from the ZP site: Upgrading
Here is my response:
These questions or issues are not unreasonable and they are relatively easy to anticipate. The issue is not the ease with which one can upload files, but the difficulty with upgrading software successfully when the instructions are not clear. If you are going to ask people to perform actions that are not necessarily intuitive (and I don't mean to the programmer), then you need to provide them with adequate information to complete the task successfully. I like ZP very much. It is reliable and relatively easy to use. As for it being "a simpler web photo gallery," better upgrade instructions would certainly help ensure so and free you from having to answer upgrade issues from users like me. Upgrade to 1.1.5 problems - sbillard - 2008-03-28
As with any endevor, please try not to read in to the instructions more than were written. Upgrade to 1.1.5 problems - ming21 - 2008-03-28 "2. Step 2 is there to prevent the problem you had in the first place. Also probably the problem with the tabs." I did follow step two, and experienced those problems. So obviously, problems can still occur. The tabs issue still exists. "3. If you followed step 2 you won't have any files to override in those folders. There are no album files in the release distribution, so nothing will be overridden. Nothing told you to remove your album folder. The reason the album folder is not mentioned is that you have nothing to do for it. Don't do something not requested. The themes distributed with zenphoto will be overridden. You are not asked to remove the themes folder since you may have more thems there. Again, don't remove anything you are not asked to remove. All you were asked to remove was the folder zen and/or zp-core." Yes, there is an album directory in the 1.1.5 distribution. Go to the ZP site and download it. When you unzip, there is a directory called "albums". If you upload all files then you will overwrite any files/directories that have the same name unless you take precautions not to. Since you do not instruct us to remove the album folder or back it up, all data in that folder will be overwritten. Same applies to themes. If I had not done something you did not request, then I would have been required to completely upload and rebuild my photos albums and themes. "4. Your point is?" The point is you refer people to actions that you later do not include. The instructions are not congruent. When you do this it gives the impression that you have forgotten something. When that happens it creates doubt. Is it that hard to understand? "As with any endevor, please try not to read in to the instructions more than were written." As with any endeavor, listening to customers input and taking it seriously can provide valuable insight regarding your product. Did you actually investigate my comments or merely respond off the cuff? Don't be too dismissive. I have been a technical writer and help systems designer for 15 years and, although you may not like my comments, you would do well to heed them. Upgrade to 1.1.5 problems - acrylian - 2008-03-28 Please, no need to feel offended here, we do listen to our users. As a technical writer you should know that developers take often things for granted and forget that others don't do. But it sounds like computer basics to me that you should not overwrite folders you uploaded important data to...:-)) Anyway, to defend sbillards intention he simply thought these folders were not in the package, since they actually should not be. They should be created by setup during the install if not already existing. You are indeed right that they are in the 1.1.5 package, so that's our fault (or more exactly probably that of the automatic script that generates the package from svn.). Sorry about the confusion. Upgrade to 1.1.5 problems - ming21 - 2008-03-28 It seems to me that you understand the issue. Thanks! Can you offer any assistance regarding the Theme Options Tab not working properly? I have updated the software twice and still get the problem. I switched between themes with no luck. Could it be a browser issue? Upgrade to 1.1.5 problems - acrylian - 2008-03-28 I doubt that it's a browser issues. Are theme files really complete? There must be a file named theme-options.php within every theme folder. Upgrade to 1.1.5 problems - ming21 - 2008-03-28 There is a file named "themeoptions.php" (no dash) in each theme folder. These are the themes that came in the upgrade. I have made no modifications. Upgrade to 1.1.5 problems - acrylian - 2008-03-28 Sorry, yes, without dash. I just did a quick forum search, could you please read here if anything maybe applies to your situation? http://www.zenphoto.org/support/topic.php?id=2058&replies=15#post-12109 Upgrade to 1.1.5 problems - ming21 - 2008-03-29 I looked at this post once before. The theme css files are in the styles folder, so I don't think the css files for the options are missing. I know next to nothing about php, so I have no idea how to implement these patches. I did find the glob function in three of the php files: admin-functions, functions, and class-album. I inserted the the patch in the admin-functions file but it either didn't do anything and caused a blank page in the admin section. It just seems odd that all the other tabs function properly. I'll check to see if my host service allows the glob function. Upgrade to 1.1.5 problems - sbillard - 2008-03-29 The BTW, I know that the folders are in the distsribution. But of course, I also know that they are empty so cannot overwrite anything. Upgrade to 1.1.5 problems - ming21 - 2008-03-29 I am having problems with the admin theme option tab. After comparing all the files I have installed with the files in the 1.1.5 download, I can confirm that all the js files are there. I thought maybe one could be corrupted so I uploaded them again with no luck. I have tried several browsers with no change. Upgrade to 1.1.5 problems - acrylian - 2008-03-29 [i]BTW, I know that the folders are in the distsribution. But of course, I also know that they are empty so cannot overwrite anything.[/i] ming21: I wish I would have any other idea except than making a real clean install, meaning deleting everything from files to db tables... sbillard, not being a server expert, could this maybe be related anyhow to safe mode? (helpless guess) Upgrade to 1.1.5 problems - sbillard - 2008-03-29 No, when you copy an empty folder it overrides nothing. All that it will do is create the folder if it does not already exist, which is why they are in the package. Upgrade to 1.1.5 problems - ming21 - 2008-03-31 I tried a clean install, without deleting the db tables, and it did not work. After I diid that I received a reply from my host service and upon looking at the php.ini I found the following related to the glob function:
It appears that they have disabled the glob_function. I suppose I can enable it by changing the "OFF" to "ON"? If so, this brings up the security issues they are referring to. I can use PHP 5, however, I do not know if this will have any effect on other applications I use that require php. What do you advise? Upgrade to 1.1.5 problems - sbillard - 2008-03-31 The "security" problems are both overstated and under protected. You can either enable the glob function or if you prefer, you can modify zenphoto to not use it. See http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/#14 Upgrade to 1.1.5 problems - ming21 - 2008-04-01 I tried both suggestions and neither worked. I then decided to wipe everything, including the db as acrylian suggested, and reinstall ZP (1.1.5 [1219]). That worked. So without knowing more, it appears the db tables were the sticking point. One thing I did loose were the descriptions and comments for the photos. Can you tell me what file(s) this data is stored in? I have a backup of the data and, if you don't think it will create any problems, I hope I can install these backup files and get the data back without having to manually input it again. Thanks for your help with this. Sorry it took so long to figure out. Upgrade to 1.1.5 problems - sbillard - 2008-04-01 The information is stored in the "albums" and "images" database tables. These may not be the exact names since you might have prefixed them with something such as "zp_". |