SimplePortal

Support => Install and Upgrade => Topic started by: S.T.A.R.S on June 18, 2011, 01:37:22 PM

Title: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 18, 2011, 01:37:22 PM
When installing i had encountered an error:

Invalid default value for 'approved'
File: /var/www/vhosts/mmogamer.co.uk/httpdocs/Packages/temp/install2.php
Line: 501

Any ideas what this is and how to overcome it?
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 19, 2011, 09:57:36 AM
Please help, would appreciate it.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: Raji on June 19, 2011, 11:33:15 PM
SP is not comptabile with SMF 2.0 Stable version so we are waiting for the latest and compatible version of SP.
To resolve your existing issue you will have to wait for the concern person and it seems they are not around.
 

Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 20, 2011, 11:26:56 AM
Simple portal works with SMF 2.0 RC5 right?
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: Raji on June 20, 2011, 02:25:14 PM
Simple portal works with SMF 2.0 RC5 right?
Yes.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 20, 2011, 03:04:48 PM
Is there much point downgrading at the moment? Or is it going to be updated with 2.0 soon.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: Chen Zhen on June 21, 2011, 12:42:34 AM

Upload the package to your forum.
Using your package manager look to the bottom right and click the advanced tab.
Emulate SMF 2.0 RC5

SP should be available for installation after doing the above.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 22, 2011, 01:46:26 PM
doesnt work :(
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: cloksin on June 22, 2011, 04:54:38 PM
First of all

S.T.A.R.S - you now have something like 5 or 6 threads started for the same thing, please only start one thread when you have an issue.

Second,  I have SP 2.3.3 installed and working on SMF 2.0 final, so saying it is not compatible is an incorrect statement.  When installing it you need to use the emulation like Underdog said, that is how you get it installed on SMF 2.0 final.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: m9 on June 22, 2011, 11:27:22 PM
Code: [Select]
/var/www/vhosts/mmogamer.co.uk/httpdocs/Packages/temp/install2.php
Line: 501

 Your Problem has the solution .
Connect through Ftp At ur site located (httpdocs/package/temp/install2.php ) Change the value at line 501 Simple....

OR
 Re upload or install this file install2.php if u have a original copy of this file. frm ur site backup file package/temp/install2.php and simply re upload or re install this file to ur site server.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 23, 2011, 10:59:05 AM
This is the code from line 491-515 in install2.php

Code: [Select]
CONVERT TO CHARACTER SET utf8',
array(
'table' => $table,
)
);
}

foreach ($data['columns'] as $column)
{
if (!isset($column['deprecated_name']) || !$smcFunc['db_change_column']($smf_db_prefix . $table, $column['deprecated_name'], $column))
$smcFunc['db_add_column']($smf_db_prefix . $table, $column);      <<<     HERE IS LINE 501 <<<<

if ($is_utf8 && in_array($column['type'], array('text', 'tinytext')))
{
$smcFunc['db_query']('', '
ALTER TABLE {db_prefix}{raw:table}
CHANGE {raw:name} {raw:name} {raw:type} CHARACTER SET utf8',
array(
'table' => $table,
'name' => $column['name'],
'type' => $column['type'],
)
);
}
}

I am still not aware of what i should edit within this to make it working. Any chance you could give me a helping hand.

Also, the multiple posts. Sorry, i had been stuck on this for so long i had didnt noticed i had other posts about it :/ Lol.

Sorry, but thanks for helping out lads i appreciate it.

I'll give the reinstall ago, aswell.#

Edit: I havent got a default copy of install2.php :(
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: [SiNaN] on June 24, 2011, 12:50:23 PM
I'm marking this one as solved. Continue from this topic:

http://simpleportal.net/index.php?topic=9069.0
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: S.T.A.R.S on June 24, 2011, 02:37:52 PM
:/ Dont think it is.

I had inputted that code within the php file. I had installed it now.

(http://img708.imageshack.us/img708/8003/111zzz23.png) (http://imageshack.us/photo/my-images/708/111zzz23.png/)

But. I cannot see any simple portal features or anything, its like it never even installed. :/ I get this with everymod since i ever installed the first SMF on my server.

thanks
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: yocks on July 03, 2011, 10:26:57 AM

Upload the package to your forum.
Using your package manager look to the bottom right and click the advanced tab.
Emulate SMF 2.0 RC5

SP should be available for installation after doing the above.

Where to upload the simpleportal2.3.3 ?
in the root directory or in forum directory ?

my forum path is,

/forum

and i am using smf 2.0 final.

Please anybody help me.
Title: Re: Error Installing Simple Portal on SMF 2.0
Post by: cloksin on July 07, 2011, 11:49:13 AM
just use the package manager, you don't have to worry about what directory to upload it to, the package manager will take care of that for you
SimplePortal 2.3.8 © 2008-2024, SimplePortal