I have tried to install ZenPhoto 1.5 on WAMP 3.1.0 64 bit but nothing seems to happen when going to zp-core/setup.php or zenphoto/ in the virtual host. The zenphoto folder is in the www folder & the virtual host has been created & DNS reset. Can anyone help?
I am somewhat familiar with WAMP and have multiple programs like WordPress, Osclass, etc running with no issues.
I haven’t tried WAMP, but I did run into an issue recently trying to run Zenphoto on MAMP-
https://github.com/zenphoto/zenphoto/issues/1143
The answer is that Zenphoto will not run on newer versions unless you are using Apache on port 80. Hope that helps.
The WAMP version I originally tried uses: Listen 0.0.0.0:80
Listen [::0]:80. In addition, i installed the 32 bit version 2.4 WAMP & had the same issue, which also listens on port 80.
To test if WAMP issue, I tried to install WP & had no issue.
Apparently, the server & Zen cannot communicate.
Can anyone please help
Has anyone else tried to install on WAMP with the same issue?
Thank you
I retried again this AM on WAMP 2.4 & reviewed the Apache error log:
[Sun Jul 08 09:57:50.875388 2018] [:error] [pid 8404:tid 1920] PHP Notice: Use of undefined constant SERVERPATH - assumed 'SERVERPATH' in C:\wamp\www\zenfolder\zp-core\reconfigure.php on line 72, referer: http://localhost/
There are over 80 lines in the error log on this one attempt - above is the first.
I can forward more...
That undefined constant is indeed a bug in 1.5. But that should actually not be a "show stopper". For now you can manually fix that by adding 'gallery'=> array('define'=>'_GALLERY_INDEX_', 'rewrite'=>'_PAGE_/gallery') to the $conf['special_pages'] = array(…) define in your config file (you can also copy the whole define from the template within zp-core). Or you delete the config file and let setup re-generate a new one (you will need you mysql credentials.)
Are there any older clean versions of ZenPhoto without issues on WAMP? The main main reason for the WAMP install is building a theme.
You can try 1.4.14 but we don't recommend using old and now unsupported versions. We need to find out what the issue on your end is. We really didn't change anything specific as far as I recall all the changes.
As stated above, the error log has over 80 error lines, I only posted the first error above.
If there are more and other errors post them as well (one example of a kind in case there are duplictates should be enough)
I know how to check file permission with filezilla, how do you check with WAMP since the files are on the computer?
Basicall the same way, you access the file system via your FTP program directly. That is at least what I do using Transmit on Mac.
Or more inconvenient via PHP itself: http://php.net/manual/en/function.fileperms.php
Will review the link you posted
Here is today's try error log - there were many repeats, but these cover it pretty well: -the original post was too long times edited out
[Mon Jul 09 17:45:16.479273 2018] [:error] [pid 7816:tid 1908] [client ::1:60750] PHP Notice: Use of undefined constant SERVERPATH - assumed 'SERVERPATH' in C:\wamp\www\zenfolder\zp-core\reconfigure.php on line 72, referer: http://localhost/
[Mon Jul 09 17:45:16.479273 2018] [:error] [pid 7816:tid 1908] [client ::1:60750 ] PHP Stack trace:, referer: http://localhost/
Guys, I have had the same problem yesterday evening, it was really an unsolvable puzzle driving me mad. An attempt to install a clean installation of Zp1.5 in WAMP3.1.4 failed whatever I tried. I ended up in sacrificing my other local sites and reinstalling wamp, but nothing helped.
This morning I have found a workaround -- install an older version of Zp (I've used 1.4.14) and upgrade it to 1.5. Then everything works flawlessly.