/setup/default.aspx stays empty

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.
8/2/2007 2:46:43 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Yes but that error is expected until a site is created. If the token error is no longer happening then its some progress.

If you nvaigate to siteroot/Setup/Default.aspx do you see any message or a link to create a site?

Joe

8/2/2007 2:52:29 PM
Gravatar
Total Posts 9

Re: /setup/default.aspx stays empty

No, the page stays empty.

is the code you are talking about:

sqlCommand.Append("ORDER BY SiteID ");
sqlCommand.Append(" 1 ;");

8/2/2007 2:53:59 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

What do you see if you navigate to siteroot/Setup/Upgrade.aspx?

8/2/2007 2:58:25 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Any other errors in the log?

8/2/2007 3:04:36 PM
Gravatar
Total Posts 9

Re: /setup/default.aspx stays empty

Upgrade.aspx redirects to Default.aspx.

No other messages

8/2/2007 3:15:16 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Set RedirectHomeFromSetupPagesWhenSystemIsUpToDate=false in web.config and see what Upgrade.aspx says. I suspect it will say your system is up to date. I cannot think why you don't see the link to create site data. On Setup/Default.aspx, view the source of the page (right click page and choose view source) Does the html look ok, do you see any errors or do you see a link that maybe isn't visible for some reason?

Are there any rows in MP_SITES?

Joe

8/2/2007 3:38:22 PM
Gravatar
Total Posts 9

Re: /setup/default.aspx stays empty

The content that belongs here is too complex to display securely.
8/2/2007 3:59:12 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Yes, that was the syntax error, the 1 shouldn't be there.

If there are no more errors in the log I'm kind of stumped.

All I can say is I'm working on an improved setup process which should be ready within the next few weeks, maybe it will go more smoothly.

You do have the Charset in the conenction string set to match the Charset of the db right?

Are you using the SYSDBA user in your connection string? If not try it and see if any difference.

You mentioned you have FB .net Provider: 2.0.1.0, is that installed in the GAC? mojoPortal includes its own version in the bin folder Firebird.Data.FirebirdClient.dll, I had to make a few small changes due to some bugs I ran into using it. If its installed in the GAC on your machine it may be using that version instead of the custom one in the bin folder. You might try removing it from the GAC.

Joe

8/2/2007 6:42:30 PM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Hi Bert,

Can you delete your Data/currentlog.config, then edit log4net.config and set loglevel to debug

Then try to run your site so it raises the errors and does whatever it does or doesn't do.

Then zip the currentlog.config file and send it to me at joe.audette [at] g mail dot com

This will hopefully give me more clues.

Thanks,

Joe

8/3/2007 9:13:57 AM
Gravatar
Total Posts 18409

Re: /setup/default.aspx stays empty

Hi Bert,

Nothing very helpful in your log. If it were not for the fact that it shows the version on the upgrade page I would suspect it is not connecting to the db but it must be to show the version.

In the connection string in your web.config you did not specify Charset. On my machine when I created the db using Flamerobin I specified the Charset as UTF8 and I specifed this in the connection string. I notice your connection string doesn't have the pooling, fetch size, conection timeout, Lifetime settings specified.

My Connection string is like this:

Data Source=localhost;Server Type=0;Port Number=3050;Database=C:\Users\JoeAudette\devprojects\mojoportal\mojoportal.fdb;Dialect=3;Charset=UTF8;Pooling=True;Min Pool Size=0;Max Pool Size=200;Connection Timeout=10;Connection Lifetime=60;Fetch Size=200;User Id=SYSDBA;Password=masterkey

Can you try putting these settings in your connection string?

What Charset is your db using? If not UTF8 can you try making a new db using UTF8?

Thanks,

Joe

 

8/3/2007 1:37:13 PM
Gravatar
Total Posts 9

Re: /setup/default.aspx stays empty

Hi Joe,

After the initial installation, the connectionstring was like yours. I read the readme.txt 

But I modified it some times to see if that would help. Well, I created a new db, UTF8 charset, but still the same messages in the log. No new ones/success. The html-source is also still the same.

I'm sure it connects to the db, because I modified on purpose the pasword to see what happened, then I received messages about a wrong password. (After that I put it back.)

Could you send me your 'mojoportal.fdb'?

 

Kind regards,

Bert

 

 

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