Browsing the compiled project and checking the console log of the browser, I noticed the error “Failed to load resource: the server responded with a status of 404 (Not Found) overlayscrollbars.min.css:1”.
Checking the “css” folder I saw that the file is present but it is named in camel-case mode “OverlayScrollbars.min.css”, this generates the error.The problem is solved by renaming the file but this forces me to do it every time I compile the project.Do you have alternative solutions?
The overlayscrollbars.min.css in the template is in lowercase, you should delete the old file in your project file and generate again.
Sorry but I didn’t understand.I checked the source file in the directory “C:\Users[username]\AppData\Roaming\phpmaker2023\node_modules@phpmaker\php2023\css” and it’s called “OverlayScrollbars.min.css” and it matches the file I can find in the directory of output.
I think I need to force a template update but I don’t know how to do it. Obviously I used the Tools->Update Template option, but the result doesn’t change: the called file is always the wrong one, that is “overlayscrollbars.min.css”.
- Make sure you use the latest version of v2023 (v2023.13 as of today),
- Delete C:\Users[username]\AppData\Roaming\phpmaker2023\node_modules and C:\Users[username]\AppData\Roaming\phpmaker2023\package-lock.json
- Click Tools → Update Template to update to latest template,
- Delete all files (especially the “css” folder) in your project file and generate all files again.
arbei wrote:
- Make sure you use the latest version of v2023 (v2023.13 as of today),
- Delete C:\Users[username]\AppData\Roaming\phpmaker2023\node_modules and
C:\Users[username]\AppData\Roaming\phpmaker2023\package-lock.json- Click Tools → Update Template to update to latest template,
- Delete all files (especially the “css” folder) in your project file and
generate all files again.
Thank you! This procedure solved the problem.