-
AuthorPosts
-
February 28, 2020 at 8:02 pm #1188895
Description:
Opening a page the avia editor does not load and only shows the spinning wheel. I may be caused by an 403 request to admin-ajax.php (according to sme hints in other topics of the forum)
Steps to repeat- Login
- Create a new page
- Insert a layout with a row of three one third blocks.
- Insert a codeblock in one of the layout blocks
- Insert javascript code
- Save
- Click on “all pages”, then try to open the newly created page
Comments
The network analysis shows a 403 status for the file admin-ajax.php:
HTTP/2 403 Forbidden
content-type: text/html; charset=UTF-8
date: Fri, 28 Feb 2020 17:57:11 GMT
server: Apache
x-powered-by: PHP/7.3.14
pragma: no-cache
cache-control: no-cache, must-revalidate, private
expires: Sat, 26 Jul 1997 05:00:00 GMT
x-frame-options: SAMEORIGIN
content-encoding: gzip
X-Firefox-Spdy: h2The network analysis shows a 200 status for the file admin-ajax.php as json request:
HTTP/2 200 OK
content-type: application/json; charset=UTF-8
date: Fri, 28 Feb 2020 17:57:11 GMT
server: Apache
x-powered-by: PHP/7.3.14
access-control-allow-origin: xxxxxxxxxx
access-control-allow-credentials: true
x-robots-tag: noindex
x-content-type-options: nosniff
expires: Wed, 11 Jan 1984 05:00:00 GMT
cache-control: no-cache, must-revalidate, max-age=0
x-frame-options: SAMEORIGIN
referrer-policy: strict-origin-when-cross-origin
x-frame-options: SAMEORIGIN
X-Firefox-Spdy: h2File has permission set to 644
- This topic was modified 4 years, 9 months ago by MattRied.
March 1, 2020 at 6:46 am #1189152Hey MattRied,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Also, please share the javascript code you are trying to add.
Best regards,
RikardMarch 1, 2020 at 5:55 pm #1189230Hello, below the javascrip sourcecode (Jameda badge):
<script src=”https://cdn1.jameda-elements.de/widgets/siegel/81251368_1/241129/” type=”text/javascript” async></script><div id=”jameda-widget-container241129″ style=”position:relative; width:272px; height:168px; margin:15px; background-image:url(https://cdn1.jameda-elements.de/premium/widgets/_images/top10-top20-bg.png); background-repeat:no-repeat; font-family:Arial, Helvetica, sans-serif; font-size:12px; line-height:15px;”><div style=”position:absolute; top:25px; left:108px; width:148px; height:58px; overflow:hidden; white-space:normal;”>Dr. med. Georg Schütze</div><div style=”position:absolute; top:98px; left:108px; width:152px; height:53px; overflow:hidden; color:#888; font-size:11px; line-height:13px;”>Innere- & Allgemeinmediziner<br>in Offenburg auf jameda</div></div>
Best Regards,
MatthiasMarch 2, 2020 at 5:45 am #1189337Hi Matthias,
Thanks for the login details and code snippet. The quotes in your code looks a bit strange, did you copy the code from a word document or similar?
Your quotes:
”
Regular quotes:
"
Could you try to manually replace all the quotes to see if that helps please?
Best regards,
RikardMarch 3, 2020 at 8:56 pm #1189827Hi Rikard,
unfortunately this doesnt’t change the behaviour. I played around a bit:
Div-tags work fine<div id="jameda-widget-container881404" style="position:relative; width:272px; height:168px; margin:15px;">
Already the entry of code like<script></script>
in a code block forces the behaviour.Best regards,
MatthiasMarch 4, 2020 at 6:37 pm #1190146Hi Matthias,
It’s the Wordfence blocking the request.
Best regards,
VictoriaMarch 4, 2020 at 10:37 pm #1190250Hi Victoria,
that approach helped. The editor is working again properly and shows the boxes.What I have to check is how the hosting at IONOS (former 1&1) is working. The plugin is not listed in my website’s plugin list and not included in the plugins folder however IONOS has a second wordpress folder branch (wp-admin, wp-content, wp-includes) and there includes a plugin folder (which contained the wordfence files).
Anyway, thanks for your help,
MatthiasMarch 5, 2020 at 9:57 am #1190349Hi Matthias,
Thanks for the update, I’m glad that Victoria could spot the problem for you. Please update us as to what the situation is with your hosting provider, it would be interesting to know.
Best regards,
RikardApril 4, 2020 at 6:24 pm #1200825Hello Rikard, here comes my reply to the hosting situation:
IONOS offers so called clickandbuild wordpress hosting. There you can decide whether to get a fully managed wordpress instance or a self managed where you can install plugins and themes and make updates on your own. Thats what I did for this project.
I assume that this decision results in a duplicate file structure in the webspace and application folders like (see below) I don’t understand that the wordpress installation utilizes a plugin from the folder on the higher level and not from the website name subfolders (note: not all folders are shown, just the relevant to get an idea of the structure)/
/clickandbuilds/
/clickandbuilds/[website-name]
/clickandbuilds/[website-name]/wp-content/
/clickandbuilds/[website-name]/wp-content/languages/
/clickandbuilds/[website-name]/wp-content/plugins/
/clickandbuilds/[website-name]/wp-content/plugins/…
/clickandbuilds/[website-name]/wp-content/…
/clickandbuilds/[website-name]/wp-admin/
/clickandbuilds/[website-name]/wp-includes/
/clickandbuilds/[website-name]/…
/wp-content/
/wp-content/plugins/
/wp-content/plugins/_wordfence -> folder was renamed to resolve the issue
/wp-admin/
/wp-includes/
/…
Best regards, Matthias- This reply was modified 4 years, 7 months ago by MattRied.
April 6, 2020 at 8:35 pm #1201360Hi MattRied,
Thank you for sharing! It can be very useful for other users.
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.