few issues with moving into the hosted server

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/21/2010 8:39:27 AM
Gravatar
Total Posts 13

few issues with moving into the hosted server

Hi,


I have Mojoportal 2.3.3.6 on MS SQL. configuring on the local machine was great. i wanted to test it on the hosted server and did the following:

. copied all local packages on the remote server

. set the new db connection in the remote server

. run the mojo setup

. restore the local sql db into the remote db server

 

i am getting only the home page link and all the other pages are not in the menu. i checked the my_pages table in the remote and similar with the local.

i checked the Administration -> Add/Edit Pages which shows only Home, and all my other 12 are not displayed.

may someone help me understand and resolve this issue. thanks in advance for your assistance,

 

Fasil

2/21/2010 8:55:32 AM
Gravatar
Total Posts 18439

Re: few issues with moving into the hosted server

If you develop content on your local machine and then want to move the content to a different server, you need to use the same url structure on your local machine that you will have on the hosted machine.

What you don't want to do is develop content at http://localhost/mojoportal and then try too move it to a root site at http://somedomain.com. If you do this you create difficulty for yourself. You should create content for a root site using a root url on your local machine like directly at http://localhost/.

The problem is because relative urls are always relative to the root of the web site not the root of the virtual directory, so image urls will not be correct when you move it to production as image urls would start with /mojoportal/someimage.png

If you restored the db, you need to clear the sitemap cache by touch Web.config file, ie download it then upload it again or open it and type a space and save it. The menu is populated by the cached site map.

Hope it helps,

Joe

2/21/2010 9:03:51 AM
Gravatar
Total Posts 13

Re: few issues with moving into the hosted server

Hi Joe,

 

thanks. yes, it was the cache. i edited the webconfig and solved. regarding the url, it was relative path so no problem as such on pic and others.

 

regards,

Fasil

You must sign in to post in the forums. This thread is closed to new posts.