I don't think my problem is a Zenphoto one but I'll ask here anyway.
I have installed WAMP64 and placed the zenphoto folders in the relevant folder. When I browse to the site the zenphoto setup routine runs as expected but even before I enter any db credentials that section of the setup page reports:
MySQLi reported: MySQLi not connected
My searching on this error has not yet found anything that helps me. Is there anyone here that can point me in the direction of a fix?
Thanks.
If you get such an error on the general systems check that generally means the MySQLi database handler on your local server is not properly setup or not loaded. Is PDO listed? If you can also use that.
Otherwise you could check the php.ini of the php version WAMP if it is maybe not actively loaded.
generally means the MySQLi database handler on your local server is not properly setup or not loaded
Thanks, yes, that's what I suspected, it's not a Zenphoto error, the problem is with my WAMP server. It's knowing which of the myriad of settings in WAMP that I need to poke that eludes me.
Selecting pdo in the dropdown on the Zenphoto setup page makes no difference, the error just changes to pdo_mysql not connected.
I'll leave this for now and come back to it another day.
I would assume that WAMP is setup with everynthing like MAMP which I use is. Place a file info.php with a php call for phpinfo(). Then access it via the local server path in the browser. It lists all php extensions. If neither mysqli nor pdo is listed it is simply not installed and/or active.
It seems odd to me (a complete novice) that the default installation of WAMP should not install / activate mysqli / pdo. They appear to be fairly fundamental components.
I must be making a mistake somewhere because having tried Wamp alternatives (Laragon and MAMP for Windows) I get the same 'MySQLi not connected' in every case. That's a big enough hint for me to realise this task is beyond my skill set so I'm not going to pursue this any further.
Don't give up too fast! One last thing to check I just though of: What ports have you set for MySQL on the WAMP settings (There is a MAMP for WIndows?). Did you enter the right one on the database form. MAMP for example sets different port also for the webserver. For the webserver we do expect the standard port 80 and for MySQL you can actually set it on setup but if you forgot so we assume the standard port 3306.
Wamp and Laragon both use the std ports, Apache on 80, MySQL on 3306. I did notice, and acted accordingly, that MAMP (yes, there is a Windows version) uses different ports.
Perhaps I am giving up too soon, but I know my limitations and, for now, I'm at that limit.
Thanks for your comments though.
It must be a minor detail somewhere. Actually these WAMP/MAMP packages are fairly complete (although we have our issues with MAMP every now and then as well). Sadly I don't know WAMP. Did you try to ask on a WAMP support channel? Maybe that is a know issue even?