GetSimple Support Forum

Full Version: Problems after moving to new server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am migrating a site to a new server. I installed GS 3.3.3 on the new site. It worked fine. I then restored an archive from the old server, which was running 3.2.1. Now, when go to the Pages tab, I see this:

[Image: capture.png]

I am a total noob with GS. I see there is a plug-in with i18n in the title. What is that? Is that causing the problem? There are several plugins related to i18n:

[Image: capture2.png]

Should I update the i18n to 3.2.8? What else?
Please advise.
Thanks.
It could be you didn't upload your I18N plugin language files to plugins/i18n_base/lang and plugins/i18n_navigation/lang
(2014-09-14, 17:11:04)Carlos Wrote: [ -> ]It could be you didn't upload your I18N plugin language files to plugins/i18n_base/lang and plugins/i18n_navigation/lang

Nope, they're there. I used the "Create archive" function on the GS menu, which zipped up the data, plugins, and theme directories, along with gsconfig.php.

It looks like the older version of i18n did not work with 3.3.3. I upgraded to i18n base & nav to 3.2.8, and it now seems to work fine. The multi-user plug-in needed an update, too.

What's left to do is to update the embedded URLs to be relative to the root folder. Why does GS use the absolute path? All the links and img tags point to the old website! What is the best way to correct this? Is there a php function that will make an URL relative to the root URL entered on the Settings page? We'll need to move the site again after it is working.
(2014-09-15, 06:48:03)kaborka Wrote: [ -> ]What's left to do is to update the embedded URLs to be relative to the root folder. Why does GS use the absolute path? All the links and img tags point to the old website! What is the best way to correct this? Is there a php function that will make an URL relative to the root URL entered on the Settings page? We'll need to move the site again after it is working.

GS uses absolute paths just like WordPress and many other CMSes.

Related discussion: http://get-simple.info/forums/showthread.php?tid=2816

Some plugins and scripts for migration:
http://get-simple.info/forums/showthread.php?tid=5061
http://get-simple.info/forums/showthread.php?tid=5082
http://get-simple.info/extend/plugin/abs...fixer/743/
http://get-simple.info/extend/plugin/ts-...lacer/799/
http://get-simple.info/extend/plugin/ts-...lacer/801/

(backup your site before using any of them!)
Carlos: I installed your Fix Site URL. This works well for embedded links, i.e., links within the page content and URLs in img tags. However, this site has a navigation sidebar on the right of each page. The links there all point to the old site. Also, I cannot find the place to edit this sidebar. It wasn't in the plain vanilla GS install from before I restored my friend's site backup. Is this sidebar generated by a plugin? I18N? How do I edit it to change the URLs?

Another thing I noticed that is different is the "Menu Manager" link is missing on the "Pages" tab of the Admin login. Any idea why?

Thanks.
(2014-09-21, 09:24:46)kaborka Wrote: [ -> ]Carlos: I installed your Fix Site URL. This works well for embedded links, i.e., links within the page content and URLs in img tags. However, this site has a navigation sidebar on the right of each page. The links there all point to the old site. Also, I cannot find the place to edit this sidebar. It wasn't in the plain vanilla GS install from before I restored my friend's site backup. Is this sidebar generated by a plugin? I18N? How do I edit it to change the URLs?

Maybe that navigation sidebar is hard-coded in your theme's template (or an included .inc.php file), or in a component that is called by that template (with get_navigation or get_i18n_navigation)

(2014-09-21, 09:24:46)kaborka Wrote: [ -> ]Another thing I noticed that is different is the "Menu Manager" link is missing on the "Pages" tab of the Admin login. Any idea why?

I suppose that it's that the I18N plugin hides the menu manager because it has its own menu management replacement.