when i try to show the main mojo page i get this error

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.
3/27/2006 12:57:16 PM
Gravatar
Total Posts 2

when i try to show the main mojo page i get this error

ERROR: 42883: function mp_friendlyurls_selectbyurl("unknown", "unknown") does not exist

What did i make bad ?

 

Thx, clark

3/27/2006 1:16:57 PM
Gravatar
Total Posts 18439

Re: when i try to show the main mojo page i get this error

Hi Clark,

Did you run the database scripts to create the tables and the stored procedures?
Did you get any errors when you ran the scripts?

I'm guessing you are using PostgreSQL. The instructions are here:
http://www.mojoportal.com/postgresqlsetup.aspx

If you're not sure whether you ran the stored procedure script, it is safe to run it a second time.

Hope it helps, if not please provide more information, are you using a release version of mojoportal or from svn? on mono or windows? if mono what version?

Joe
3/27/2006 2:41:56 PM
Gravatar
Total Posts 18439

Re: when i try to show the main mojo page i get this error

PS.

Sorry about the way your user name got encoded. I think I fixed that bug tonight, you should be able to correct your user name on the My Profile page and hopefully that won't happen to anyone else.

Cheers,

Joe
3/28/2006 5:52:46 AM
Gravatar
Total Posts 2

Re: when i try to show the main mojo page i get this error

Thanks for your support Joe... I've found the problem I talked about yesterday.
Now I have another problem trying to execute the mojo site on Windows XP Pro with mono 1.1.13.2 and postgreSQL 8.1.2

Thx for your help,

Clark.

Here is the stack trace:

System.Configuration.ConfigurationException: system.net/settings does not implement System.Configuration.IConfigurationSectionHandler ()
in <0x000e1> System.Web.Configuration.ConfigurationData:CreateNewHandler (System.String sectionName, System.Web.Configuration.SectionData section)
in <0x001d1> System.Web.Configuration.ConfigurationData:GetHandler (System.String sectionName)
in <0x00055> System.Web.Configuration.ConfigurationData:GetHandler (System.String sectionName)
in <0x00026> System.Web.Configuration.ConfigurationData:GetConfigInternal (System.String sectionName, System.Web.HttpContext context, Boolean useLoc)
in <0x00072> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (System.String sectionName, System.Web.HttpContext context, Boolean useLoc)
in <0x00276> System.Web.Configuration.ConfigurationData:GetConfig (System.String sectionName, System.Web.HttpContext context)
in <0x0005a> System.Web.Configuration.WebDefaultConfig:GetConfig (System.String sectionName, System.Web.HttpContext context)
in <0x00022> System.Web.Configuration.WebDefaultConfig:GetConfig (System.String sectionName)
in <0x0001a> System.Configuration.ConfigurationSettings:GetConfig (System.String sectionName)
in <0x000a5> System.Net.Sockets.Socket:CheckProtocolSupport ()
in <0x00007> System.Net.Sockets.Socket:get_SupportsIPv6 ()
in <0x00090> System.Net.Dns:hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist)
in <0x0005b> System.Net.Dns:GetHostByName (System.String hostName)
in <0x00058> System.Net.Dns:Resolve (System.String hostName)
in <0x00025> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
in <0x00065> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context)
in <0x000c4> Npgsql.NpgsqlConnector:Open ()
in <0x0008a> Npgsql.NpgsqlConnectorPool:GetNonPooledConnector (Npgsql.NpgsqlConnection Connection)
in <0x0003b> Npgsql.NpgsqlConnectorPool:RequestConnector (Npgsql.NpgsqlConnection Connection)
in <0x0008b> Npgsql.NpgsqlConnection:Open ()
in (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection:Open ()
in <0x00057> mojoPortal.Data.NpgsqlHelper:ExecuteReader (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters)
3/28/2006 7:33:22 AM
Gravatar
Total Posts 18439

Re: when i try to show the main mojo page i get this error

Hmm,

I've never tried mono on Windows myself but to me this looks like a mono error.  I'm assuming you are using the 1.x branch or release of mojoPortal and not the 2.x or 2.0 release, is that correct? If you are using the 2.x branch or release, it does not currently work on mono.

To be honest most of my testing has been using mono compiled on Suse from the mono svn repository rather than release versions of mono. In the past though I have often found problems with mono releases. They always encourage you to use the latest but often you see breakage from one release to the next unfortuantely.

I'm in the process now of setting up some extra virtual machines to test mono releases so I can better inform mojoPortal users which ones are good and which ones are not, but I don't have it all setup yet.

I just googled the error and found it was reported recently and is fixed in svn but probably the bug was in the release you are using:
http://www.mail-archive.com/mono-list@lists.ximian.com/msg18369.html

The error appears to have been reported by someone using the mono 2.0 stack/xsp2 so either the same error happens with xsp or maybe you are trying to use mojoPortal 2.x with mono which is not currently supported due to errors such as this.

Cheers,

Joe
3/28/2006 2:47:21 PM
Gravatar
Total Posts 18439

Re: when i try to show the main mojo page i get this error

ps.

If you have a big hard drive you might consider setting up your XP machine to dual boot to Suse 10 to play with mono on linux.

I have a tutorial here on setting up a machine for testing ASP.NET with mono:

http://www.joeaudette.com/monodevmachine.aspx

Cheers,

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