![]() |
|
Problem running a "new" gallery on XAMPP - 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: Problem running a "new" gallery on XAMPP (/thread-10198.html) |
Problem running a "new" gallery on XAMPP - Michel Gagnon - 2012-07-15 Hello, I'm trying to run Zenphoto locally so I'll be able to finetune my theme. Online, I successfully run: Locally, I try to run the same version of Zenphoto, on XAMP with the latest XAMP (1.8.0) which has: I'm trying with Any "Windows specialist" that might have clues to make it work? I remember I ran it on a local server a long time ago, but I don't remember what settings I used, or if something significant changed in Zenphoto. Other interesting notes:
A description of this "new feature" of MySQL is found here: Question: Is the bug I have simply related to the change in MySQL engine, or do I need to change my configuration parameters or use an older version of XAMPP or...? Thanks Problem running a "new" gallery on XAMPP - fretzl - 2012-07-15 Currently there is a ticket for something similar on a Windows IIS server. Problem running a "new" gallery on XAMPP - acrylian - 2012-07-15 I sadly cannot help since I am on Mac using MAMP. There the db user /password is always "root" and cannot even be changed (I never tried since its locally). Sbillard is on Windows as well but I think he uses WAMP. Problem running a "new" gallery on XAMPP - sbillard - 2012-07-15 I do indeed use WAMP, not XAMP. I think I tried XAMP one time but it did not seem to have any particular benefits. There should be an apache log and/or a PHP log that you can look for reported errors. I too get those "old table" errors, but nowhere do I see the tables mentioned. I suspect this is a bug in MySQL. Problem running a "new" gallery on XAMPP - Michel Gagnon - 2012-07-16 Thanks to the three of you. I tried WAMP to see if there are any differences. Once I configured it successfully, I got to the same problem: system stalls at "About to create tables"... I also got the same behaviour with both servers, so my comments down here equally apply to both XAMPP and WAMP. I then tried Fretzl's solution and it works, both on WAMP and on XAMPP. Still wondering what happens, I decided to dig into "security-logger.php" to see where is the problem. Turns out that setup works to a point if I comment out line 33 of the "security-logger.php" file: So maybe something could be done there and it would solve the Windows IIs problem Fretzl was talking about. A second interesting problem is that once the setup is complete, I get the warning: Process seems to stall at line 2368 of setup.php at: ` Two other bugs: One is a bit more stressful: only one theme is loaded. The Setup log tells me that the theme default options for all of them have been set, but the "Themes" administrative tab shows only the FIRST theme (default). If I remove it, then it becomes Effervescence plus and so on... So there must be an improperly initialized variable... either in Zenphoto or on my server. A final problem is that mod_rewrite doesn't seem to work properly. With mod_rewrite ON, I can visit only the main page, but not subalbums and images. For instance, from http://mg.localhost/photos/, when I click on the first album, it says:
P.S. One advantage I find with XAMPP over WAMP is that it is also available in a portable version, so I can develop the same installation – with databases – on different machines if necessary. Problem running a "new" gallery on XAMPP - sbillard - 2012-07-16 What version of Windows are you running? Problem running a "new" gallery on XAMPP - Michel Gagnon - 2012-07-16 At home, XP – SP3 Problem running a "new" gallery on XAMPP - sbillard - 2012-07-16 Thanks, this is probably the same issue we are seeing in fretzl's ticket. Maybe you can join up with that http://www.zenphoto.org/trac/ticket/2204 Problem running a "new" gallery on XAMPP - Michel Gagnon - 2012-07-17 I did so a few seconds ago. Thanks. Problem running a "new" gallery on XAMPP - Doctor Kru - 2012-07-20 Exactly the same symptoms on Denwer running WinXP SP3 Problem running a "new" gallery on XAMPP - Michel Gagnon - 2012-07-21 Read the ticket above. Short answer. Especially if it's for development at home (i.e. not a public interface where security could be an issue), download the nightly development version here: I'm not sure of yesterday's version, but tonight's version (2012-07-20-development) DOES work on XAMPP and WAMP and therefore should work on Denwer (from what I read – no experience with it). Anyway, tell us how it works! |