• Hey there…

    As administrator, I have to login to check the content, etc on the website. But when the maintenance switch is “ON”, the media files are missing. And console log show us this message:

    Failed to load resource: the server responded with a status of 503 (Service Unavailable)

    Could be possible to fix this?

    Best,

    E

    https://wordpress.org/plugins/maintenance-switch/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fugu Design

    (@fugudesign)

    Hi Elie,

    Thank you for your feedback.
    Could you give me more info about the media file please?
    Is it just an upload folder file, a plugin or theme file (css, js…)?

    Thanks.

    Best regards

    Thread Starter Elie Herrera

    (@3lie)

    Hey Fugu! Thanks for the follow.

    When I say media file, I’m talking about a featured image or post content image; uploaded via normal method on post editor.

    It appears on the website if we turn maintenance switch off. But while is on, the images appear broken on the posts.

    Hope that helps.

    E

    Plugin Author Fugu Design

    (@fugudesign)

    Hi Elie,

    I don’t think the issue comes from the Maintenance Swtich plugin.
    From my WordPress installation I tested to access a media from library from a private navigation tab of my browser and I can access it.

    I suggest you to deactivate the Maintenance Switch plugin, then put WP in native maintenance mode.
    To do this, simply create a .maintenance file to the root folder of your WordPress with this content <?php $upgrading = time(); ?>, your WP is now in maintenance mode. Can you access your media?

    If the bug persist, that means the issue does not come from the Maintenance Switch plugin and I suggest you look at the side of the .htaccess.

    Please keep me in touch about this.

    Best regards

    Thread Starter Elie Herrera

    (@3lie)

    Hey there!

    I haven’t tried that yet. But I will soon. So, I let you know what happens.

    E

    Plugin Author Fugu Design

    (@fugudesign)

    Hi Elie,

    Have you tried the suggestion?
    is the Maintenance Switch plugin at the origin of your issue ?

    Thanks.
    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Images won't load when plugin is active’ is closed to new replies.