Contact Form and folder based installation

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.
3/24/2011 3:37:01 PM
Gravatar
Total Posts 3

Contact Form and folder based installation

Hi,

SO: Windows 7
DB:  Sql Server 2008
Mojoportal version: 2.3.5.3???

1) My Mojoportal site is installed in folder based mode installation (http://localhost, http://localhost/folder1 etc..)
2) I've a Contact Form Module installed in http://localhost/folder1/ContactFormPage.aspx

The problem is the follow:

When i try to read a message or I try to delete a message, after the postback event I've problem with
Authentication and I need to login:

The problem is catch in .MessageListDialog.aspx

if (!UserCanEditModule(moduleId))
            {
                SiteUtils.RedirectToAccessDeniedPage();
                return;
        
    }

This is caused because the postback event redirect me in http://localhost/ContactFormPage.aspx

and not in http://localhost/folder1/ContactFormPage.aspx

This is a bug or my fault?

I'm Sorry for my English

Russo
 

3/25/2011 5:33:21 AM
Gravatar
Total Posts 18439

Re: Contact Form and folder based installation

I'm not able to reproduce this problem with the latest version of mojoPortal. I recommend upgrading to the latest version and see if the problem persists.

Best,

Joe

3/26/2011 7:48:33 PM
Gravatar
Total Posts 3

Re: Contact Form and folder based installation

Hi Joe, I've installed now the followed version: mojoportal-2-3-6-2-mssql-net35-deploymentfiles.
But I've not resolved this problem :(

I don't know...if I debug the code i see that the postback go  to the root site and not to the site in a folder.
If I'm to http://localhost/folder/contactFormPage.aspx and if I try to read a message, the postback event send me to the root site in http://localhost/contactFormPage.aspx.
Also the paginator of message don't work well...if I try to change page, the postback event send me to root site in http://localhost/contactFormPage.aspx. 
Is strangle  problem.

Could be a configuration problem?

Thx Joe

Russo

3/27/2011 8:11:35 AM
Gravatar
Total Posts 18439

Re: Contact Form and folder based installation

Are you saying mojoportal is installed in the folder corresponding to localhost or the folder corresponding to /folder/?

How are you able to debug the code if you really installed the mojoportal-2-3-6-2-mssql-deploymentfiles.zip package which has no C# source code?

 

3/27/2011 1:53:58 PM
Gravatar
Total Posts 3

Re: Contact Form and folder based installation

Hi Joe, I've installed mojoportal to localhost..and i've created a new site in http://localhost/folder1/...
And the contact form don't work in the new site, because the postback redirect me on the  http://localhost/contactformpage.aspx and not in the site when the contact form exists.
I've debugged with the version for developer that I use normally, the problem is equal, identical...it is best to debug the latest version? I think that the problem is the same Joe...
 

3/27/2011 5:33:15 PM
Gravatar
Total Posts 18439

Re: Contact Form and folder based installation

Are you sure that you have SP1 (service Pak 1) installed for .NET 3.5?

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