website keeps redirecting to mojoportal setup page

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.
4/4/2013 12:54:06 PM
Gravatar
Total Posts 2

website keeps redirecting to mojoportal setup page

hi, i am trying to use teletextholidaysdirect.co.uk on my laptop but everytime i click search the website keeps redirecting to a mojoportal setup page. which reads;

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Probing system...
File system permissions problems found.
The Data folder beneath the root of the web site is not writable by the ASP.NET worker process.

You need to make this folder and all its child folders and files writable before setup can proceed. mojoPortal needs this to be able to write search index files, error logs, image gallery uploads, and other important features.

Right Click the Data folder in Windows explorer, choose properties and go to the Security tab. (On XP if you don't see the security tab then google for XP Simple File sharing to learn how to make that tab appear.) On XP you typically need to give write permission to ASPNET user while on Windows 2003 you need to give it to IIS_WPG user.

Obviously, instructions are a little different on Linux/Mono but the same principle is true, the Data folder and all its child objects must be writable.
 

Folder Details

The Data folder is not writable.
The Data/Sites/1/ folder is not writable
The Data/Sites/1/systemfiles/ folder is not writable
The Data/Sites/1/index/ folder is not writable
The Data/Sites/1/SharedFiles/ folder is not writable
The Data/Sites/1/SharedFiles/History/ folder is not writable


pgsql database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
1 site(s) found.
Running script mojoportal-core - 2.2.1.5 - 00:00:00.2652051
Npgsql.NpgsqlException: cannot change return type of existing function Severity: ERROR Code: 42P13 Hint: Use DROP FUNCTION first. at Npgsql.NpgsqlState.d__a.MoveNext() in C:\projects\Npgsql2\src\Npgsql\NpgsqlState.cs:line 834 at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1120 at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1136 at Npgsql.ForwardsOnlyDataReader.NextResult() in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1314 at Npgsql.NpgsqlCommand.ExecuteNonQuery() in C:\projects\Npgsql2\src\Npgsql\NpgsqlCommand.cs:line 485 at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery(NpgsqlTransaction transaction, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters) in C:\mojo-teletext\mojoPortal.Data.pgsql\NpgsqlHelper.cs:line 430 at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery(NpgsqlTransaction transaction, CommandType commandType, String commandText) in C:\mojo-teletext\mojoPortal.Data.pgsql\NpgsqlHelper.cs:line 403 at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) in C:\mojo-teletext\mojoPortal.Data.pgsql\dbPortal.cs:line 645 at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) in C:\mojo-teletext\mojoPortal.Data.pgsql\dbPortal.cs:line 597 at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) in C:\mojo-teletext\mojoPortal.Business\DatabaseHelper.cs:line 304 - 00:00:00.3744072
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

it doesn't do it when i view the page using my pc though. Anyone got any ideas as to why I'm being redirected here???

Thanks

4/4/2013 1:15:36 PM
Gravatar
Total Posts 18439

Re: website keeps redirecting to mojoportal setup page

when an error occurs it checks the code version vs the version of mojoportal-core in the mp_SchemaVersion table. If it can't access that table or if the version is lower than the code version it will redirect to setup because it wants to run the database upgrade scripts to bring the 2 versions in sync.

Looks to me like you are running a very very old of mojoPortal possibly a version where the code has been modified.

The Search button definitely is some custom feature, not something that is part of mojoPortal.

4/4/2013 2:10:31 PM
Gravatar
Total Posts 2

Re: website keeps redirecting to mojoportal setup page

I'm not running mojoportal. Never have. I'm just trying to look at a website.
4/4/2013 2:54:59 PM
Gravatar
Total Posts 18439

Re: website keeps redirecting to mojoportal setup page

That web site is running an older version of mojoPortal but so are lots of sites. I don't have anything to do with that site and never heard of it till you posted here. If you're having a problem with that site I suggest you contact someone listed as a contact on their site.

I thought you were saying it was your site and you were looking for help trying to fix it. These forums are for people using mojoPortal software to run their web sites and who want help with mojoPortal.

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