Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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: h2

    The 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: h2

    File has permission set to 644

    • This topic was modified 4 years, 9 months ago by MattRied.
    #1189152

    Hey 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,
    Rikard

    #1189230

    Hello, below the javascrip sourcecode (Jameda badge):

    <script src=”https://cdn1.jameda-elements.de/widgets/siegel/81251368_1/241129/&#8221; 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,
    Matthias

    #1189337

    Hi 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,
    Rikard

    #1189827

    Hi 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,
    Matthias

    #1190146

    Hi Matthias,

    It’s the Wordfence blocking the request.

    Best regards,
    Victoria

    #1190250

    Hi 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,
    Matthias

    #1190349

    Hi 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,
    Rikard

    #1200825

    Hello 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.
    #1201360

    Hi 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.