SimplePortal

Support => English Support => Topic started by: darylbowden on March 10, 2009, 01:19:26 AM

Title: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 10, 2009, 01:19:26 AM
First off, thanks so much for creating an alternative to TP, it is FAR better and much cleaner.

However, I'm having an issue (and I have no idea how it came about), but when I click on the block list in the SP admin, I get confronted with a blank white screen and this message:

8: Undefined index: sp-adminColumnMove
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/SPortalAdmin1-1.php
Line: 283

I tried lowering the PHP error reporting in index.php to 1 to see if that would cure it (in a band-aid kinda way), but it didn't work...

Any ideas what could be going wrong here?

btw, SMF 1.8, SP 2.1.1

Title: Re: Simple Portal Error that I just cannot figure out...
Post by: [SiNaN] on March 10, 2009, 05:41:02 AM
Is that the only error in your Forum Error Log? Are you using English or a different language?
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 10, 2009, 01:13:42 PM
Here is the full list of errors that I'm seeing in my error db.


2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/index.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 340

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/Settings.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 414

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/index.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 1282

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/index.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 340

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/Settings.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 414

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/index.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 1282
8: Undefined index: sp-adminColumnMove
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/SPortalAdmin1-1.php
Line: 283

8: Undefined index: sp_function_sp_attachmentImage_label
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Themes/default/SPortalAdmin1-1.template.php
Line: 503

A few of those are unrelated to this issue (long story, but a terrible TP install is at the root of all these I believe).

We are using English only as our language and we are doing no localization.
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: [SiNaN] on March 10, 2009, 01:49:29 PM
Can you attach your

../Themes/default/languages/SPortal.english.php
../Themes/default/languages/SPortalAdmin.english.php

files here?
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 10, 2009, 08:07:00 PM
Sure, no problem.  Here they are...
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 20, 2009, 11:27:26 AM
Any ideas anybody?

It seems all the errors are related to the global var $txt.  Whereabouts is that variable created? 

I'm just trying to figure out how it could missing certain properties as it feels like there is just a missing entry in the db that when the info is pulled out, it throws this error because it can't find $txt['sp-admincolumnmove'] etc.
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: Smoky Blue on March 22, 2009, 12:42:26 PM
there is your issue:

Code: [Select]
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/Settings.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 414

DarkBreak_tp/Settings.template.php

try using the one from the smf site and that doesnt have tp involved  8)
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 22, 2009, 12:55:43 PM
there is your issue:

Code: [Select]
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/var/www/html/Themes/DarkBreak_tp/Settings.template.php) is not within the allowed path(s): (/var/www/vhosts/ducatimonsterforum.org/httpdocs:/tmp)
File: /var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Themes.php
Line: 414

DarkBreak_tp/Settings.template.php

try using the one from the smf site and that doesnt have tp involved  8)

Actually that is a separate issue and that is not even the theme I'm using.

It's the error level 8s that are causing me the grief in this situation as they are bombing PHP and stopping me from accessing certain parts of the sp admin within SMF.
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: Smoky Blue on March 23, 2009, 08:13:33 PM
does it do this when you are on the default theme (the blue and white "core theme) ?
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: Immortal on March 23, 2009, 10:03:58 PM
Well "the open_basedir restriction" can appear on few circumstances:

A) PHP version below 4.3

B) PHP safe mode on

C) open_basedir option is incorrectly configured in php.ini

Most likely option C is you're case. Contact you're server administrator / support or change it you're self if it's dedicated server or you own it. 
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 23, 2009, 11:06:44 PM
Ahh, well that would explain the first few errors (and I will make the necessary change in the php.ini), but what about the last two? Those are the two that are stopping me from being able to admin simple portal...
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: darylbowden on March 23, 2009, 11:11:16 PM
Well "the open_basedir restriction" can appear on few circumstances:

A) PHP version below 4.3

B) PHP safe mode on

C) open_basedir option is incorrectly configured in php.ini

Most likely option C is you're case. Contact you're server administrator / support or change it you're self if it's dedicated server or you own it.

Hmm, none of the above it seems.

PHP is 5.1.6.

Safe mode is off and open_basedir is commented out in the php.ini.

Strange doings...
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: Immortal on March 23, 2009, 11:16:35 PM
Check you're php.ini file for option:

register_globals

I'm assuming its set to off,  try changing it to on (its a security risk thou) and see if that error is gone.

Quote from: darylbowden


Hmm, none of the above it seems.

PHP is 5.1.6.

Safe mode is off and open_basedir is commented out in the php.ini.

Strange doings...

Uncomment the open_basedir it should be something like this for windows:

;path;to;www;root;           

for linux:

:path:to:www:root:
Title: Re: Simple Portal Error that I just cannot figure out...
Post by: Nathaniel on April 07, 2009, 09:45:18 PM
Any updates on this issues darylbowden?

Did Immortal's post manage to resolve your problems?
SimplePortal 2.3.8 © 2008-2024, SimplePortal