problem sqlite db "Create Initial Data"

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/15/2007 12:48:50 PM
Gravatar
Total Posts 3

problem sqlite db "Create Initial Data"

Hello,

I'm using Xp pro and I installed all files, dll, assigned permission and created an sqllite db.
It works on the first page where i get this message:
"Welcome to mojoPortal Setup
No Sites have been created yet, click the button to create initial site data."

But when I click on the button "Create Initial Data" I get this error:

out of memory in mojoPortal.Data.dbPortal.SiteSettings_Create(Guid siteGuid, String siteName, String skin, String logo, String icon, Boolean allowNewRegistration, Boolean allowUserSkins, Boolean allowPageSkins, Boolean allowHideMenuOnPages, Boolean useSecureRegistration, Boolean useSSLOnAllPages, String defaultPageKeywords, String defaultPageDescription, String defaultPageEncoding, String defaultAdditionalMetaTags, Boolean isServerAdminSite, Boolean useLdapAuth, Boolean autoCreateLDAPUserOnFirstLogin, String ldapServer, Int32 ldapPort, String ldapDomain, String ldapRootDN, String ldapUserDNKey, Boolean allowUserFullNameChange, Boolean useEmailForLogin, Boolean reallyDeleteUsers, String editorSkin, String defaultFriendlyUrlPattern, Boolean enableMyPageFeature) in mojoPortal.Business.SiteSettings.Create() in mojoPortal.Business.SiteSettings.Save() in mojoPortal.Business.WebHelpers.mojoSetup.CreateInitialData() in mojoPortal.Web.UI.Pages.SetupHome.btnCreateInitialData_Click(Object sender, EventArgs e)

Is it a bug with sqlite?
Am I doing something wrong?

Thanks in advance

Bye

Luca
from Italy

3/15/2007 3:23:28 PM
Gravatar
Total Posts 18439

Re: problem sqlite db "Create Initial Data"

I'm not sure. Someone else reported this a few days ago and I am able to replicate the problem here. It worked fine when I tested previously which admittedly was several versions ago of mojoportal and possibly a different version of SQLite.

I tried working on it the other day, I updated the Mono.Data.SQLite code from the mono project and the error changed but I still get an error. If you get mojoportal from svn branches/2.x you'll be getting the same error as me.

When I get a chance I'll dig further but right now I'm fairly well swamped. Feel free to investigate solutions and contribute if you have time and are interested.

Best,

Joe
7/17/2007 7:08:18 AM
Gravatar
Total Posts 18439

Re: problem sqlite db "Create Initial Data"

This is now fixed in svn trunk and we will include a package for SQLite in the next release.

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