Hi All,Just a quick question to see if anyone else has had problems running up demo2023.My environment is Ubuntu 22.04, Apache2, MySQL.Just upgraded PHPMaker from 2022. Downloaded demo2023 and followed setup.txt instructions.
The .htaccess redirects seem to work with no problems and I can see the start page is set to “home” in the generation, just no routing.The actual error message is 404 Not Found - Route ‘home’ not found.Any ideas appreciated?Regards
Steve.
Got there in the end.For anyone’s future reference for the demo site on an Apache/LAMP running on Ubuntu 22.04. (PHPMaker 2023)Follow the setup instructions. Make sure DB is all set up correctly including the 2 DB’s.
As Arbei said, make sure your .htaccess and Apache site config is correct as per instructions.
I had problems with the source. Seemed to be missing some stuff but I hadn’t made any changes. Turned out it was getting trimmed/changed when connecting to the new database and synchronizing.
Anything not associated with the DB was getting trimmed on the sync/connect like home.php. Came down to not authenticating properly with MySQL for 1 or both DB’s.
Edit the XML project file and change the DB password. I use XmlPad to edit the source. (Look for “Database/DBPwd”)
Also, change the linked table password. Do this at the same time otherwise it will cause you some problems which are not immediately apparent. (Look for “LinkDatabase/DBPwd”)
(This won’t be a problem if your test DB has no password as “” is the default)
Open the source file in PHPMaker and change (or disable) the API keys otherwise the generation will fail.
Set the API key for GoogleMaps in table locations>ID. (Customer View Tag)
Set the API key for MapBox in table locations2>ID. (Customer View Tag)
Set the API key for MapBox in table locations3>ID. (Customer View Tag)