Some child site links - link back to the parent site when using folder mapping

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/11/2009 9:22:16 PM
Gravatar
Total Posts 29

Some child site links - link back to the parent site when using folder mapping

Hi Joe!

First off, let me say thank you and others who have developed this awesome framework.  I'm a .Net developer and I'm in the process of evaluating mojoPortal.  I will surely be donating some $ if I can get it working to fit my needs

Background Info:

  • Hosting @ DiscountASP.Net (Windows Servers)
  • MS SQL Server 2000
  • 2.3.1.0 MSSQL

I'm having some issues with link relativity in child sites.  First I setup my parent site and haven't had any issues with links.  Next I created some child sites for testing using the folder mapping setting (For example: http://myrootsite.com/childsite1/default.aspx)

Some of the links and even "save" button functions in my child sites take me back to my parent site but not all.

For example: (in childsite1)

The link in the header of the site to "Register" looks like this: http://myrootsite/childsite1/Secure/Register.aspx (perfect) but on the login page body, the extra "Register" link next to the Recover Password link looks like this: http://myrootsite/Secure/Register.aspx (referencing back to my Parent site).  The page source for this link looks like this: <a id="ctl00_mainContent_LoginCtrl_lnkRegisterExtraLink" href="../../Secure/Register.aspx">Register</a>  ( ../../Secure/Register.aspx - is taking me back to my parent site home page)

Another example: (in childsite1)

I've added a Web Store and added a new product.  The link to edit this product also does not have my "childsite1" mapping, it just links back to the parent site and obviously produces an error since this product doesn't exist on my parent site.  But the "New Product" link to add a new product does link to the correct "childsite1" and is ok.  When I add a new product and click "Save", the record saves in the database but it takes me back to my parent site/AccessDenied.aspx instead of returning me to the childsite1 product list.

I've noticed a number of these types of issues with folder mapping in the child sites when using certain features of mojoPortal.  Some of the links/save button navigation in the child sites work but some do not map to the child site folder correctly.  Is there a setting I'm missing in the web.config file?

I have been searching the forums/web for answers to these issues but I'm not having any luck.  Any help you can provide is greatly appreciated.

Thanks,

Mike

 

 

8/12/2009 6:29:20 AM
Gravatar
Total Posts 18439

Re: Some child site links - link back to the parent site when using folder mapping

Hi Mike,

These sound like bugs to me I will investigate today and see if I can re-produce and fix the ones you have mentioned. If you find any more please list them. Its possible that some of the webstore ones are fixed in the 2.3.1.3 version as I have some recollection of seeing those not long ago.

Thanks,

Joe

8/12/2009 8:00:50 AM
Gravatar
Total Posts 29

Re: Some child site links - link back to the parent site when using folder mapping

Thanks for the quick response Joe!

If you take a look at the issue today, here are some other places I've found the same or similar issue:

  • Web Store: Add or Edit a Product: "Save" button
  • Product and Offer Administration Pages: (breadcrumb link: Store > Store Manager )
  • The "Add to Cart" link works on the products list page, but when you are on the "Product Details..." page, the "Add To Cart" BUTTON actually navigates back to the parent site after it adds the item to your cart.
  • Basic Event Calendar: (click next or previous month links actually appends 2 child site dirs like this (http://myparentsite/childsite1/childsite1/events.aspx?visdate17=2009-09-01T00%3a00%3a00  and produces a page not found error)
  • Newsletter Administration: after adding newsletters, all the "edit" links are not relative to the child site (eg. http://myparentsite/eletter/LetterInfoEdit.aspx?l=60203497-5374-4870-b8d0-48488a3e0d40  (missing myparentsite/childsite1/eletter)
  • Survey feature: Add new question (choose a type - any) and click "Add New Question" button (navigates back to parent site)

Thanks again for looking into this.

8/12/2009 1:18:23 PM
Gravatar
Total Posts 18439

Re: Some child site links - link back to the parent site when using folder mapping

Hi Mike,

I've fixed these today. The calendar and couple of the web store ones were already fixed in the current release but many of them I was able to find and fix. So these issues will be fixed in the next release and the fixes will be available to developers in svn trunk by later tonight. 

Thanks for the bug report.

Best,

Joe

8/12/2009 1:33:59 PM
Gravatar
Total Posts 18439

Re: Some child site links - link back to the parent site when using folder mapping

Hey Mike,

Thanks for the beer! Much appreciated.

Cheers,

Joe 

8/12/2009 1:34:27 PM
Gravatar
Total Posts 29

Re: Some child site links - link back to the parent site when using folder mapping

Thanks so much Joe... I just bought you a beer!

Can you tell me what the best way is to install the app updates to my hosting server?  Obviously I have 2 options..

  1. Wait for the new release & download
  2. Get the source code tonight/tomorrow, compile and make a release build for my hosting server (DiscountASP).

I have not done an 'upgrade' of mojoPortal yet and the initial mojoPortal FTP process to my hosting servers took many, many hours to complete (thousands of files).  Is there a way faster way to install a new release of mojoPortal via FTP to my hosting server? (I suppose if I don't upload all of the graphics & image files that should save a lot of time?

Thanks again...

Mike

8/12/2009 1:49:02 PM
Gravatar
Total Posts 18439

Re: Some child site links - link back to the parent site when using folder mapping

Hi Mike,

If you get a local build from svn trunk working on your machine, you can produce a package the same way I do using the free UnleashIt tool

It does require ftping the files again. First produce a local package then you can prune out some files to reduce some of what gets uploaded. There is some info on our FAQ about things that can be left out. Like you can chop out some of the javascript and you can chop out setup files for databases you are not using. Just be very careful so you don't end up pruning out needed files that may have changed. There are new siteimages and message templates and help files so if you skip some of those folders you may miss new files.

Notes about upgrading are here. Its basically a matter of uploading the new files and then visiting the setup page again.

Best,

Joe

8/19/2009 9:26:06 PM
Gravatar
Total Posts 29

Re: Some child site links - link back to the parent site when using folder mapping

Joe,

Thanks for fixing the bugs I reported last week.  I downloaded and installed the latest source from the "Trunk".  All of your fixes appear to be working well!  I continued testing and evaluating the product since last week and have discovered a few more things related to the same parent/child site navigation issues.  All of these bugs occur when in a "Child" site using the "Folder Mapping" as described in my previous posts.

Let me know when you have a chance to make these fixes and I will download the current source and test again.  Thanks so much for your help on these issues.  I love this product and hope to use and promote it as soon as all of the parent/child link issues are worked out.

Latest Bugs:

When subscribing to a child site with "require email confirmation" turned on, the link sent in the confirmation email works but it's linked to go to the "Parent" site, not the child site.  This would be confusing to a user who subscribed to a site and the confirmation link takes them to a different site.

Survey Feature:
Add New Survey, Add New Page, Add/Edit (Question Count), Choose a type of question and click the button "Add New Question" (this is still linked to the parent site and will not let you add a question to the child site survey page). There may be other child/parent related issues with survey but this is as far as I could get since I can't add any questions.

Shared Files Feature:
Add a new folder, click "Rename" (the Update and Cancel buttons appear to be linked back to the parent site).
Add a new folder and click on the folder to view the contents (the "Up one level" button and the "Delete" button both appear to be linked back to the parent site).
Files added to the root of the shared files feature works ok but adding files to a folder or sub-folder do not work and are linked back to the parent site.

Download Terms Administration:
Click on the "Unlimited" term edit link. The "Save", "Delete", and "Cancel" buttons are all linked to the parent site, not the child site they are on. This also applies to "adding" a new download term.

Discount Administration:
Add a new discount. This seems to be working ok. But then click the link to "Edit" the newly added discount and it takes you back to the parent site. Make sure the "Save" and "Delete" buttons work on the edit page as well.

Thanks again,

Mike

8/20/2009 6:38:24 AM
Gravatar
Total Posts 18439

Re: Some child site links - link back to the parent site when using folder mapping

Hi Mike,

Thanks for the follow up testing. I will fix these today. Getting very close to a new release so please let me know any others you find so I can get them fixed before the release.

Best,

Joe 

8/20/2009 12:34:41 PM
Gravatar
Total Posts 29

Re: Some child site links - link back to the parent site when using folder mapping

Joe,

Thanks!  I found another small thing today:

Blog Feature:
The calendar is enabled on the right, click a day (link) on the calendar, then click a different date... it appears to be linked back to the parent site. I'm not sure what clicking on a date is supposed to do exactly (show entries for that day?)

8/20/2009 12:43:21 PM
Gravatar
Total Posts 29

Re: Some child site links - link back to the parent site when using folder mapping

Joe,

Sorry, I just discovered that the feeds section does not appear to be working now either.  I thought this was working in the past but since the last round of bug fixes, something must have happened.

Add a Feeds Feature, add new feed and click Save.  I've tried several feeds that were working in the past but are not working now.  Clicking on a page that contains the feeds feature (after trying to add a feed) produces an error.

 

Thanks,

Mike

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