• Resolved vselep

    (@vselep)


    I upgraded to php 5.3 and now my sliders work from the front end of the site but the admin page is getting an error:
    “Error fetching list of slideshows: Internal Server Error (500)”
    So I can’t see or edit my metasliders. This is similar to a problem identified by singingcyclist at
    https://wordpress.org/support/topic/metaslider-problems-with-wordpress-5-3/page/2/

    I have my wordpress one level below the original, in a directory called “wordpress” (I think for the same reason singingcyclist did – I originally had a hand-coded site and then created a wordpress site below it.
    However, both my wordpress URL and my site URL are both pointing to http://www.tcaikido.com. So I don’t have the subdomain entered there at all… which seems to be what fixed it for singingcyclist.

    I tried updating the “site URL” and that did nothing. (luckily the site still works) I don’t know if that is the same as the “home” url.
    There is an .htaccess file that redirects people to the the wordpress directory. I don’t understand exactly what it is doing, someone from the hosting company did it to help me out.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www.)?tcaikido.com$
    RewriteCond %{REQUEST_URI} !^/wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /wordpress/$1
    RewriteCond %{HTTP_HOST} ^(www.)?tcaikido.com$
    RewriteRule ^(/)?$ wordpress/index.php [L]

    It sounds like the “home” is something else than
    WordPress Address (URL)
    or
    Site Address (URL)
    both of which are on Settings | General.
    Is this something directly in the database or am I missing something?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @vselep

    Does it work if you set your “home url” to where WP is installed?

    The WP rest_url() function uses get_home_url() so it’s important that is set up correctly.

    WordPress was initially a blogging platform so “home” in this context is where the WP files live.

    Thread Starter vselep

    (@vselep)

    Which one exactly is home url and where is it set?
    WordPress Address (URL)
    or
    Site Address (URL)
    or something else in the database?

    Thanks

    Hi @vselep

    It should be set in Settings -> General. If you can’t set it there, however, you will need to set it on the database.

    Thread Starter vselep

    (@vselep)

    In the admin settings page, I changed WordPress Address (URL) and
    Site Address (URL) to tcaikido/wordpress, but then it messes up my URL. Now my URL doesn’t say tcaikido.com, all pages have tcaikido.com/wordpress.

    I have determined that to run the site, Site URL, which is apparently equivalent to “home” in the database table has to be tcaikido.com/wordpress to make the metaslider admin page work, but then my regular site has /wordpress on all URLs, which is not what I want. (the other, WordPress Address (URL) can be either, so I’m not sure what that really does).

    So if I want to run the metaslider admin page, I apparently have to change the Site URL (==home) to tcaikidoi.com/wordpress and then when I’m done editing, change it back to tcaikido.com without the /wordpress sub-directory on it so the site url will look right to end users.

    This isn’t how it used to work, so it must be something that happened with WordPress 5.3. Will this get fixed or do I have to find another plugin to do the image display functionality. I really liked Metaslider, so I’d hate to have to go research another plugin.

    Thanks for your help…at least I’m sort of running again…

    • This reply was modified 4 years, 4 months ago by vselep.

    Hi @vselep

    The Site Address (URL) is not the home url. The Site Address (URL) is the “siteurl” and needs to point to your public website.

    In contrast the WordPress Address (URL) is the “homeurl” and needs to point to your WordPress files.

    Will this get fixed or do I have to find another plugin to do the image display functionality.

    Unfortunately there is nothing to fix in MetaSlider as it’s your site configuration that is improperly configured, and breaking REST on your site (which is required by WordPress to function properly).

    The next release we make, however, will attempt to look for misconfigured sites and try to recover. I don’t know if it will work for your situation without trying it. Also, it’s not a long term fix.

    I suggest you post on more general WordPress support forums asking for advice on how to properly configure the settings. Let me know if you have any more questions.

    Thread Starter vselep

    (@vselep)

    I would like to point out that my site is NOT configured incorrectly. It worked fine before this last wordpress update, and if I configure it so that Metaslider is happy, the site URL is crap. But that’s just my own opinion.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Metaslider problems with WordPress 5.3 in a subdirectory’ is closed to new replies.