1. pat02
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 06 April 2021
  5.  Subscribe via email
Hello

If I edit a module in frontend and either click on save or on cancel button I get server error 403.

I'm logged in as Super User and all modules, menu items and articles are set to public.

Disabling SEF URL does not solve the problem.

It's a multi language site but I have set home menu item for each language and general Home for all languages. So I doubt multi language does cause the problem.

If I switch to Protostar template I don't get this 403 error.

Any idea why frontend editing is not working?

Thanks.

Patrick
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Patrick

May I suggest sending temporary administration access to your Joomla installation to [email protected] and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

Email is sent.

Thanks a lot.

Patrick
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Patrick

Have you since been able to resolve this issue? I have logged in to your frontend and edited and saved a module without any issue.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

No, the problem has not been resolved yet. But thanks to your test I noticed, if you visit the page for the very first time editing of the modules sometimes works!

But as soon as you change the language it does not work anymore, even if you switch back to the default language (French, /fr).

or it works the first time, and after logout and login again it's not working anymore.

Can you please recheck?

You will find the login link on bottom of the page called "Private".

Thanks a lot.

Patrick
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Patrick

I have been able to replicate this issue. I notice the issue is present with both the Layla template and the Protostar template which would indicate that the issue is unlikely to be template related. In fact, the error message appears to originate outside of Joomla. Have you any server-side security enabled that may cause this issue?

Ciaran
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

Thanks a lot for your investigations. Strange, I was not able to reproduce the problem with the Protostar template.

However, I never worked with that webhoster before. I'll try to find out if it's a security issue.

Patrick
Accepted Answer Pending Moderation
0
Votes
Undo
Here is what I have received from the webhoster support:

The 403 message is caused by too many error logs from an outdated template or module or special characters (maybe umlauts) in contents inside the module or theme.
Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52
error.log
[Wed Apr 14 11:28:22.407675 2021] [proxy_fcgi:error] [pid 5671:tid 139844193871616] [client 46.127.168.57:60412] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52PHP message: PHP Notice: Undefined variable: count in /var/www/virtual/[path]/templates/j51_layla/html/layouts/joomla/edit/frontediting_modules.php on line 52'

Patrick
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You can try renaming the frontediting_modules.php file to frontediting_modules_backup.php. This will mean that Joomla will ignore this override and use the default Joomla view instead. Does this resolve the issue for you?

Ciaran
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

That did not solve the problem.

Meanwhile I did investigate further. The problem is caused by the firewall of the webhost. If there are a certain number of PHP errors thrown in a certain (short) time it will block access. I never have heard of this before. The webhost now did change something on the webserver (they did not tell what they have done) and now the problem is solved.

Thanks a lot for your help and have a nice weekend!

Patrick
Accepted Answer Pending Moderation
0
Votes
Undo
Glad to hear you got it sorted. Still a mystery but at least you are back up and running :)

Thank you for the update.

Ciaran
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok