Admin Backend / Config / Settings runs into Server "Error 404 - File or directory not found."

23 views
Skip to first unread message

Marc Ackermann

unread,
Dec 1, 2020, 5:48:16 AM12/1/20
to Slatwall Commerce
I'm currently trying to solve a strange issue:
I made a new installation of slatwall under mura with the slatwall-mura plugin.
Slatwall is running fine and I can open the admin backend. All "config" menu options working fine.
But clicking on "Config" / "Settings" calling


returns in "Server Error - 404 - File or directory not found."
Lucee and also server reboot did not fix it.
Deinstallation of Slatwall and new install did not fix it.

Server is on
Operating System: Windows Server 2019
CFML Server: Lucee: 5.3.7.47
DB Dialect: MicrosoftSQLServer
Slatwall Version: 5.5.002

I don't have this problem on my local development machine where I made a few mura-slatwall installations.

Does someone run into the same problem before? 


Chris Kent

unread,
Dec 1, 2020, 6:29:48 AM12/1/20
to Slatwall Commerce
Hi Marc,

Good to hear it is all working locally. 

Is your local and remote server configured the sale, e.g. version of CF/Lucee, DB, webserver?

Can you confirm that the only Slatwall admin option that does not work is Config / Settings? All other options work correctly?

If not, then try adding index.cfm to eliminate any potential rewrite rule issues.e.g. https://www.skater-md.de/Slatwall/index.cfm/?slatAction=entity.settings

Else It might be indicating there is an error somewhere, create the following file \Slatwall\custom\config\configFramework.cfm if it does not exist and add the following, changing the email address to your own. This should allow a break and display more useful dump information.
<cfset variables.framework.hibachi.errorDisplayFlag = true />
<cfset variables.framework.hibachi.errorNotifyEmailAddresses = "adm...@mysite.com,adm...@mysite.com" />
Restart your Slatwall application ?reload=true

Regards,
Chris

Marc Ackermann

unread,
Dec 1, 2020, 7:33:02 AM12/1/20
to Slatwall Commerce
Hi Chris,

- Local dev server and production server have the same configuration
- All other admin options are working fine - This is what makes me wonder: whats the difference in calling this method
- adding index.cfm makes no difference - still 404
- I created the \Slatwall\custom\config\configFramework.cfm  but there are no dump information displayed, just the same 404

Can you tell me what files & methods been called when accessing ?slatAction=entity.settings

Chris Kent

unread,
Dec 1, 2020, 8:26:59 AM12/1/20
to Slatwall Commerce
I will see what I can do to help - Have not seen this issue before, so cannot direct you to the cause of the issue/solution, but I am sure we will get there, especially as this all works locally.

First, I should have got you to confirm the version of Slatwall run /Slatwall/?slatAction=main.about and copy-paste the details displayed.

Also, check to see if you have any JS issues visible in the browser console. The Slatwall admin is reliant on JS/Angular and JS issues can knockout required functionality..

Strange that it is just this admin option. But settings admin is a bit different to most of the other entity admins.

The settings admin is controlled through wwwroot\Slatwall\admin\views\entity\detailsetting.cfm There does not appear to be any recent changes to this file, but and error maybe within nested code.

Depending on your version this should be the same or similar to https://github.com/ten24/slatwall/blob/master/admin/views/entity/detailsetting.cfm

First step to try and locate the issue would be wrapping the main bulk of the code, line https://github.com/ten24/slatwall/blob/master/admin/views/entity/detailsetting.cfm#L62-L104 with a try/catch and dump any error.

Regards,
Chris.

Marc Ackermann

unread,
Dec 2, 2020, 6:58:01 AM12/2/20
to Slatwall Commerce
After editing of the view
\Slatwall\admin\views\entity\settings.cfm
the problem suddenly disappeared.

I think this might have been somehow a fw1 and/or Lucee caching issue. Or maybe a scope issue. If I remember corrrectly, I've had a smilar problem with fw1 a long time ago.

Will be very hard to reproduce. Since it is running now, I leave it at it is.

Chris Kent

unread,
Dec 2, 2020, 7:01:13 AM12/2/20
to Slatwall Commerce
Hi Marc,

Good to hear it is now working.

Regards,
Chris.

Reply all
Reply to author
Forward
0 new messages