Disabled setup but execute it all the same

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/20/2009 4:41:20 AM
Gravatar
Total Posts 220

Disabled setup but execute it all the same

Hi,

in my user.config:
<appSettings>
<add key="DisableSetup" value="true" />
...

I'm not logged in and I touched the Web.config, but nevertheless both

  • localhost/sitename/setup/default.aspx and
  • www.sitename.de/setup/default.aspx

execute:

Probing system...
File system permissions ok.
MySQL database connection ok.
...

What did I wrong?

Best
Matthias

9/20/2009 6:10:51 AM
Gravatar
Total Posts 18439

Re: Disabled setup but execute it all the same

Hi Matthias,

If DisableSetup is true it will only run setup if the user is signed in as an admin.

It works when I test it so I suspect maybe you have that setting in more than one place in your user.config file. If the setting is in there more than once the one lower in the file wins.

Hope it helps,

Joe

9/20/2009 9:59:56 AM
Gravatar
Total Posts 220

Re: Disabled setup but execute it all the same

Even so I would willingly accept to disgrace myself once more, but this is my whole user.config:

<?xml version="1.0" encoding="utf-8"?>
<appSettings>
<add key="MySqlConnectionString" value="Data Source=localhost;Database=xxxx;User ID=xxxx;Password=xxxx;Charset=utf8;" />
<add key="CombineCSS" value="true" />
<add key="MinifyCSS" value="true" />
<add key="CacheCssOnServer" value="false" />
<add key="CacheCssInBrowser" value="false" />
<add key="DisableDotNetOpenMail" value="false" />
<add key="SMTPServer" value="xxxx" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="25" />
<add key="SMTPUser" value="xxxx" />
<add key="SMTPPassword" value="xxxx" />
<add key="SMTPTimeoutInMilliseconds" value="15000" />
<add key="AddSystemStyleTemplatesAboveSiteTemplates" value="false" />
<add key="AddSystemStyleTemplatesBelowSiteTemplates" value="true" />
<add key="AddSystemContentTemplatesAboveSiteTemplates" value="false" />
<add key="AddSystemContentTemplatesBelowSiteTemplates" value="true" />
<add key="PreferredGreenwichMeantimeOffset" value="2.00" />
<add key="UseCultureOverride" value="true" />
<add key="site1culture" value="de-DE" />
<add key="DisableSetup" value="false" />
<add key="ShowConnectionErrorOnSetup" value="false" />
</appSettings>

Best
Matthias

 

9/20/2009 10:03:24 AM
Gravatar
Total Posts 18439

Re: Disabled setup but execute it all the same

Hi Matthias,

<add key="DisableSetup" value="false" />

If you want to disable it you need to make that true not false.

Best,

Joe

9/20/2009 10:16:18 AM
Gravatar
Total Posts 220

Re: Disabled setup but execute it all the same

I know that, really I know that ... Yes ... Embarassed Embarassed Embarassed

Hope it was good entertainment at least Smile.

Cheers
Matthias

9/20/2009 10:43:34 AM
Gravatar
Total Posts 18439

Re: Disabled setup but execute it all the same

Hi Matthias,

Thanks for the beer!

Cheers,

Joe

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