Hello! I’ve been a big fan of your products for years. I’ve been having issues with getting the newest version: (v2022)
On install, when I first open PHPMaker, Im getting an 'Exception EFOpenError in module PHPMaker.exe. Cannot open file C:\Program Files (x86)\PHPMaker 2022\APPDATA\node_modules@phpmaker\php2022\ew.scss". The system cannot find the path specified.
If I cancel this, I can load a DB, and do an export, but I get a lot of missing files, related to $basepath. I’m using MAMP, should the basepath be my full dev URL? E.g. https://url:8888/?
You use the latest version (v2022.1 as of today, NOT v2022.0) and click Tools → Update Template to update to the latest template.
Open your project, go to the Theme tab, make sure the HTML preview is shown properly. If not, select a new theme.
You have selected the correct Template in the Generate tab, it should be:
C:\Users<user>\AppData\Roaming\PHPMaker2022\node_modules@phpmaker\php2022
(NOT C:\Program Files (x86)\PHPMaker 2022\appdata\node_modules@phpmaker\php2022)
Generate ALL files again.
If problem occurs, always describe in detail, and post the EXACT error message so other users can find hints.
The full error message is as follows when looking at the theme selection page:Exception EF open in module PHPMaker.exe at 000907D4. Cannot open file “c:\users{username}\AppData\roaming\PHPMaker2022\themes\preview\temp\ew.css”. The system cannot find the file specified.I can confirm that I am on version 2022.1.
If there is no ew.css, that means the ew.css for preview cannot be compiled. This implies that there are some errors in the scss variables or css styles. As mentioned, re-select a theme to update to theme settings. If you have added our own CSS in the User tab, you better remove them first (you might have old CSS setting which cannot be compiled), or you may test with a new project. Check the files under C:\users{username}\AppData\roaming\PHPMaker2022\themes\preview\temp, see if there is any error message in any file.
I have the same problem in PHPMaker 2022.2.
Exception EFOpenError in module PHPMaker.exe at 00091264 Cannot open file C:\Users\Admin Istrator\AppData\Roaming\PHPMaker\themes\preview\temp\ew.cssIt happens both on new or upgraded projects. ew.css is not generated in temp folder.
I can normally generate files and run Project, but under HTML tab cannot see compiled file.There is only projects.json file in temp folder.
“…Cannot open file C:\Users\Admin Istrator\AppData\Roaming\PHPMaker\themes\preview\temp\ew.css” is thrown.
If the Window user name is like “Admin Istrator” (with space) as you said above, you may try to test with another Windows user with name not containing space.
If the Window user name is like “Admin Istrator” (with space) as you said above, you may try to test with another Windows user with name not containing space.
This is the solution to the problem. I have changed the folder name (quite messy in Win 10), but working now!
Thanks a lot!