Admin lay-out is not working correct
-
I just put my website live. Everything seems fine, only the admin backend and fronted of WordPress is all wrong. The normal icons aren’t working. I searched the internet for solutions, but nothing is working.
Please can someone help me out?
-
How did you make your site live?
When on the admin page, open your browser’s error console. Are any errors (especially any related to CSS) shown?
Please provide a link to a page on your site. Thanks.
I exported the .sql and replaced all the old URL’s to the new ones and after that I upload the .sql files to a new database.
I don’t know were you want me to get the browser’s error console?
URL website: http://www.we-link.nl
Looking at your home page, I see *lots* of errors that indicate that jQuery is not loading.
How did you “replace all the old URLs to the new ones” ?
jquery.js:3 Uncaught SyntaxError: Invalid or unexpected token jquery-migrate.min.js:2 Uncaught ReferenceError: jQuery is not defined at jquery-migrate.min.js:2 jquery.newstape.js:10 Uncaught ReferenceError: jQuery is not defined at jquery.newstape.js:10 foobox.free.min.js:10 Uncaught SyntaxError: missing ) after argument list scripts.js:497 Uncaught ReferenceError: jQuery is not defined at scripts.js:497 bootstrap.min.js:7 Uncaught SyntaxError: Invalid or unexpected token jquery.prettyPhoto.min.js:1 Uncaught ReferenceError: jQuery is not defined at jquery.prettyPhoto.min.js:1 core.min.js:11 Uncaught ReferenceError: jQuery is not defined at core.min.js:11 at core.min.js:11 datepicker.min.js:11 Uncaught ReferenceError: jQuery is not defined at datepicker.min.js:11 at datepicker.min.js:11 (index):393 Uncaught ReferenceError: jQuery is not defined at (index):393 fixed-sidebar.js:318 Uncaught ReferenceError: jQuery is not defined at fixed-sidebar.js:318 eventchamp.js:83 Uncaught SyntaxError: Invalid or unexpected token
I opened the old .sql file and search/replace all the URL to the new one.
That’s precisely the wrong way to do it. There’s a lot places where that data is serialized and a simple text search/replace breaks that.
Reimport your database from the original and use this tool to search and replace the URLs: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
I just reimported the database from the original and used the search and replace tool.
Stil having the same problem. Also looked at the browser’s error console (figured out were you found it), but the error’s still occur.I see a bunch of js.composer errors now. That’s from a commercial plugin, WP Bakery’s Visual Composer.
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.
See http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
Just enabled all plugin and change the theme to a default, stil having the same issue.
I just downloaded the ‘Health Check’, but I need to enable the plugins again, to run the check.
Did install the health check, but can’t find it in the admin panel. I must say it is also not easy to search in how it is currently looking.
It should be right under “dashboard”.
So I’m thinking maybe the thing to do is to start over. Use a plugin like “duplicator” to do all the heavy lifting.
You are right, it was under ‘dashboard’. Tomorrow Ik will try it with a duplicator. Hopefully I will get the test website up and running again.
Hereby some information from the health check plugin. The information below might be interesting for the fix
ABSPATH /home/welink/domains/we-link.nl/public_html/
WP_HOME Undefined
WP_SITEURL Undefined
WP_DEBUG Disabled
WP_MAX_MEMORY_LIMIT 256M
WP_DEBUG_DISPLAY Enabled
WP_DEBUG_LOG Disabled
SCRIPT_DEBUG Disabled
WP_CACHE Disabled
CONCATENATE_SCRIPTS Undefined
COMPRESS_SCRIPTS Undefined
COMPRESS_CSS Undefined
WP_LOCAL_DEV UndefinedSomehow I corrupted the test website while putting the website live. Also here the backend of WordPress isn’t working correct.
I finally resolved most of my problem. Completely reinstalled WordPress. Uploaded the theme and afterwards I uploaded the plugins all one by one.
Almost everything is ok. The wrong screen only appears if I visit the ‘Updates’. Does someone has an idea how to resolve also this last problem?
- The topic ‘Admin lay-out is not working correct’ is closed to new replies.