-
AuthorPosts
-
January 23, 2020 at 9:42 am #1177470
Hello.
We migrated a site to a new environment from stagging. Followed our regular procedures and noticed the hamburger menu doesn’t work on mobile.
When I check console there’s a whole bunch of “Failed to load resource: the server responded with a status of 500 (), and there’s a lot of .min.js:1 resources.The site works on the dev server so I re-moved it and still don’t work. At the moment the Fontello ain’t working but I have updated the .htaccess so they should work. That didn’t solve the js resource issues earlier though.
Any input on this?
January 23, 2020 at 10:05 am #1177491Think I am getting somewhere closer.
When I look at the resource source, it seems like it takes the new domain name into the URL, connecting to One.com, our stagging enviroment, where it can’t find the resource.
Maybe the coworker who uploaded the database screwed up.
January 23, 2020 at 10:26 am #1177509I can’t seem to find anything wrong in the database. Any specific place I should look?
January 23, 2020 at 11:17 am #1177533Have checked every table.
<script type=”text/javascript” src=”https://usercontent.one/wp/WEBSITENAME/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/numbers/numbers.js?ver=5.3.2″></script>
Why does it go to Usercontent.one to get Enfold files?
January 23, 2020 at 11:39 am #1177557This is a child theme. Is it getting these URL’s from the parent theme? Possible to change that?
January 23, 2020 at 11:48 am #1177563Looks like it’s only templatebuilder and shortcodes from parent Enfold theme. Why it goes to old URL I don’t know. Any code I can change to make it pick up these scripts from the server everything is on now?
January 23, 2020 at 12:04 pm #1177566I have read your documentation on child theme and have copied the files into the child folder without any luck.
Since I don’t get any respond I will forward the site to the developer domain until this problem is solved. We can’t use child anymore until we have a solution for the parent theme.
January 23, 2020 at 10:46 pm #1177927Hi,
Can you provide us with FTP details?
Best regards,
BasilisJanuary 27, 2020 at 10:04 am #1178622Sending private
January 29, 2020 at 5:20 am #1179273Hi,
I checked your site and the mobile menu seem to work fine now on both Android and PC.
Please elaborate on the issue you are currently facing now and share the staging site wordpress admin details so we can take a close look at the backend.
Best regards,
VinayJanuary 29, 2020 at 12:11 pm #1179371The real website is not showing, it’s our staging site at our staging environment/server, because the mobile menu does not work if it’s not on our staging server. When we migrate to a new server it tries to load resources from our staging server through the parent theme. It tries to load resources with the new domain name to the old server, so it doesn’t get the resources. The FTP login is to the not-staging environment so you hopefully can help me identify the issue.
We are redirecting the domain to our staging site because the website is supposed to be launched. We can’t remove the redirect, so wp-admin does not work. Customer is starting to get angry, I reported the problem a week ago and seems like no one even looked at it yet. To be fair my boss and the designers wants to go away from Enfold at this point as there is a lot of issues with fontello cors, http media upload error, this child issue, etc. and we have close to 100 sites with enfold, but I’m trying to hold back because the support have been good in the past.
- This reply was modified 4 years, 9 months ago by tekniskakari.
January 30, 2020 at 5:04 pm #1180010Hi,
We would like to apologize for the delay.
When we migrate to a new server it tries to load resources from our staging server through the parent theme.
Looks like the URLs in the database still points to the development site instead of the URL of the domain where you deployed or transferred it. Having access to the file server might not help in this case. Have you tried using the WP Migrate DB plugin to properly transfer the site? You can also do a search and replace directly in the database to adjust the old URL and replace it with the current one.
// https://wordpress.org/plugins/better-search-replace/
// https://wordpress.org/plugins/search-and-replace/If you want to do it manually, follow this:
// https://kinsta.com/knowledgebase/wordpress-search-and-replace/
If you need help, please post login details in the private field so that we can access the dashboard.
Best regards,
IsmaelFebruary 5, 2020 at 10:18 am #1181676Are you able to point out where in the database this URL is stored? I updated the site and home URL and that is all I normally update. I’d like to know where this is stored for future problems :)
February 7, 2020 at 9:57 pm #1182423Hi,
THis should be handled from your hositng provided please. THey will be easier to short it out
Best regards,
BasilisFebruary 10, 2020 at 11:04 am #1182985Our host cannot tell us where Enfolds parent theme is loading resources from when site URL is changed and updated in the database. Thought that was something Enfold support must help us with.
February 11, 2020 at 1:53 pm #1183466Hi,
Have you tried doing the search and replace method? All you need to do is search for the old URLs and replace it with the new one. You can use the plugin or do an SQL query manually. Please check the articles above.
Truth to be told, this is not an issue with the theme. As you have mentioned yourself, someone in your team failed to migrate or transfer the site correctly.
Maybe the coworker who uploaded the database screwed up.
Best regards,
IsmaelMarch 2, 2020 at 2:40 pm #1189442I have tried search and replace. It is not in the database. I have searched the entire database manually and created a new one aswell.
The problem is happening on several sites now.
It is loading resources, like fontello, etc. from double domain names. It is loading from “https://old-domain-name.com/wp/new-domain.name.com/wp-content/etcIf I remove ” old-domain-name/ ” from the URL, then I get the resource.
The database is not containing the old-domain-name. I have searched it though Visual Code etc. This must be somewhere from the parent theme..?
Am I doing something wrong or missing something? I move site from FTP, I move the database, I update the site/home URL in the options-table, I update the wp-config file with the new database. Everything works except some resources that seems to be related to the theme/Enfold.
March 3, 2020 at 10:10 am #1189646Hello. It is very urgent to come up with a solution as to why the website does not work after we move it from one domain to another. Have tried to move over via a couple of plugins and by adding the page via ftp and changing the files so that it takes the correct database further.
If this may have something to do with the use of one Child-Theme, other suggestions on how this can be solved are tips received with thanks.
Attaches a link to the folder with screenshots, then of how the page looks before it is moved and how it has been looking after it has been moved.
March 4, 2020 at 8:58 am #1189954Hi,
This must be somewhere from the parent theme..?
It is definitely an issue with the database because that is where all the entries (options, images, posts, pages etc) come from. The theme just displays whatever the database contains.
We tried to login to the database using the info above, but it doesn’t work. Please post the login info for WP, FTP and the database so that we can check everything.
Best regards,
IsmaelMarch 4, 2020 at 11:20 am #1189993Ok. I have searched the database but guess I’m not applying the correct terms then. I have edited each individual tables code with corresponding host and prefix.
I’ll send you logins in private. A solution for this (and for future sites) is urgent and HIGHLY appreciated.
Please note that the sites URL gets redirected due to these issues, so /wp-admin/ doesn’t work. Let me know if you need us to remove the forwarding.Also, I ordered new database password so wp-config doesn’t contain the correct one, as of now.
- This reply was modified 4 years, 8 months ago by tekniskakari.
March 5, 2020 at 8:52 am #1190327Hi,
We can’t access the database using the URL above. It’s not loading properly.
Do you still have the original or development version of the site? You can just delete the current database in the live domain and import the development version of the database. But this time, try use a tool like WP Migrate DB to properly transfer the database from staging to production.
Best regards,
IsmaelMarch 5, 2020 at 3:16 pm #1190454What do you mean its not loading properly. Check your firewall maybe. Are you using standard 3306 SQL ports? This is not using phpMyAdmin. It’s MariaDB v. 10.3 and I can access it with both Workbench and Beaver. Just tested it.
We are not gonna rely and gamble our entire business on some plugin. If we don’t get that plugin working one day then our business is not working either. We are not sure if the staging-server-provider One.com are installing something (they can’t answer on it) or if it is through Enfold, but we now have 2 sites that are not working and we’re getting in trouble for that, so we need to either get a fix or stop using both One and Enfold to be sure that we eliminate this from happening again. We are moving away from One.com and seems we can’t get a fix from Enfold either because we have sent DB login multiple times and have had this thread going on for a long time.
- This reply was modified 4 years, 8 months ago by tekniskakari.
March 5, 2020 at 4:16 pm #1190481We migrated another site and the advanced layout builder is totally gone. We have added the theme token and it says version 6.2.4 and that it is up to date. Says that on a lot of sites. Maybe our support is expired or not but it should not be lying to us. When we go on Themeforest we can see that 6.2.4 is outdated and that 6.7.3 is released. We update the theme and get critical error. We run backup from before update and site is still down, WordPress sends us email saying something is wrong with the theme Enfold. I guess you can understand that we can’t work with this and have things like this. When we need support we don’t get support. You take forever to respond and when you do respond there just isn’t any help. Probably because it is hard to solve and you rather close other cases. It is not our uploaded or created resources the sites are trying to load, it is related to WordPress through Enfold in some way or another.
March 6, 2020 at 9:00 am #1190784Hi,
We are not gonna rely and gamble our entire business on some plugin. If we don’t get that plugin working one day then our business is not working either.
All it does is find and replace data (e.g the site URL) within the database and export the SQL file. You will then have to manually import the file to the new database. Please check the video in the page below.
1.) Find and replace the data you want directly within the WP Migrate DB interface.
2.) Export the SQL.
3.) Import into your new database using a tool such as phpMyAdminSet the production site to maintenance mode and create a backup or a restore point. After that, go to the staging site and install the WP Migrate DB plugin, do the find and replace and export the SQL file, which now hopefully, contains the correct URL. As instructed in the video, you will have to manually import the database file to the production site using phpmyadmin. If all went well, you should be able to access the wp-admin and from there, go to the Enfold > Performance panel and disable the File Compression settings. You should also disable the plugins temporarily, specially those that are related to cache and script compression.
We update the theme and get critical error.
What are the errors? Can you disable the redirect temporarily so that we can check the issue in the actual site?
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.