SimplePortal
Support => English Support => Topic started 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
-
Is that the only error in your Forum Error Log? Are you using English or a different language?
-
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.
-
Can you attach your
../Themes/default/languages/SPortal.english.php
../Themes/default/languages/SPortalAdmin.english.php
files here?
-
Sure, no problem. Here they are...
-
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.
-
there is your issue:
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)
-
there is your issue:
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.
-
does it do this when you are on the default theme (the blue and white "core theme) ?
-
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.
-
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...
-
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...
-
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.
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:
-
Any updates on this issues darylbowden?
Did Immortal's post manage to resolve your problems?