Web Site not updating after updating values in database

Summary

I currently need to change info in the simple web site (tgimpex.kz), like telefon number, etc. I have got access to plesk server, which contains all the files as well as plesk database.

Step to reproduce

As you can see in the first screenshot I have changed the value but it still does not updated, as well as any other value in this table, i have checked the dependencies and in modx_site_content, it refers to the template which should actually get the data from the table i have in the screenshot.

Observed behavior

I assume that the error is actually because of modx. If I go to tgimpex.kz/manager I get the error “Site temporarily unavailable!”, which actually refers to modx problem, because in index.php in httpdocs/manager

/* include the modX class */
if (!(include_once MODX_CORE_PATH . 'model/modx/modx.class.php')) {
    include MODX_CORE_PATH . 'error/unavailable.include.php';
    die('Site temporarily unavailable!');
}

Expected behavior

How it should behave after following the steps above.

Environment

MODX version tagged when creating the issue, Apache or NGINX with version, MySQL version, browser, etc. Any relevant information.

@gabitii it doesn’t look as if any of the screenshots worked. The links appear to be 404ing.

It sounds like there may be other problems happening wiht the site if the Manager is not working.

On your changes: when you make changes in the database on a page that has been cached by MODXs built-in caching system, you will not see it until the cache is cleared. You can clear the cache from the filesystem by deleting the contents of core/cache/. The typical behaviour to manage MODX Resources (pages) is to edit them from inside the MODX Manager.

If the manager is not working, I’d investigate as to why. It’s possible that the core paths are missing or incorrect. This can sometimes happen when hosts move sites and paths change.

Looking up the error I’m seeing on the screenshots seems to indicate a Cloudflare error that’s often caused by JavaScript errors.

1 Like

Hi, yes, you are correct, the domain of the web site was changed and now i need to edit the info accordingly, I assume, that the paths of the modx config is incorrect, however I have no idea how to put them correctly, the site is done with plesk manager.

Also, I assume modx does not change the cache, cause whenever I delete contents of cache modx does not recreate the cache and the web site is just empty, the info from database is just not there.

@gabitii You will probably want to review this document about moving your site: Moving Your Site - Maintenance | MODX Documentation

This will tell you which files would need to be updated to handle the move—especially if server paths have changed.