Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #595836

    Hi,

    I’m having an issue with my company’s website where I would try to insert and image to the page, it would open the media gallery, but will keep loading on and on and on without showing images. The same problem occurs when I’m going to the media gallery through the WordPress tabs on the side and switch from “List View” to “Grid View”.

    The problem started for the past couple of weeks and apparently its affecting more than inserting images and the media gallery as when I try to backup the site using different plugins, it will either keep scanning the site forever and not start the back up, or it would give me a message that there is an error.

    After spending hours of researching these issues online and made some experiments, I came to a conclusion that it might be something in the theme that is causing the issues, possibly a broken script maybe??

    I tried disabling all the plugins to make sure its not a plugin issue and the problem still occurred.
    I then changed to a different theme and the problem was solved.

    I tried other things that people recommended as a solution online such as increasing the memory on php.ini (which was 128 and I increased it to 256), changing the permissions on the Upload library, temporarily removing the .htaccess file and NONE of these solutions help.

    I need a solution desperately as if its not going to be resolved I may have to build the site from scratch again.

    I would like to note than other than these back-end issues, the site seem to run normally without any issues that would affect visitors experience.

    Thank you.

    #596567

    Hi EZ_28!

    Thanks for reaching out to us with this issue your having.

    Could you please provide a link to your website and temporary login information. You can send the details using the Private Content section in your reply. This will help us to have a closer look and investigate why this problem is occurring.

    Best regards,
    Jordan

    #596595

    Hi Jordan,

    Thank you for the response!

    I actually just got the issue resolved last night.
    Turns out there was a block of code I added to the functions.php file in the theme directory that intended to hide the buttons on the slider once the user is logged in and seem like it affected the media gallery to load when I was trying to insert images.
    I’m not sure why it affected that, but I will post the code and maybe you can tell me what I was doing wrong becuase the code seem to do what it was intended to do which was to hide buttons on the slider once a user is logged in.
    Maybe you can share with me a different way of doing that.
    The website is http://www.b4uriz.com
    The code that I added which caused the issue is:

    if (is_user_logged_in()){
        ?>
    <style type="text/css">a.ls-l{
        display: none !important;
    }</style>
    <?php
    }

    Thanks!

    #598071

    Hi!

    Your code seems fine.
    Have you figured it out already? If not, please create a temporary admin login and post it here privately. Also, please create a testing page.

    Best regards,
    Yigit

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