Hi there, first of all thanks for this great mod
I am trying to set the portal as the front page to my website. i.e. root/index.php
I have renamed SPStandalone.php to index.php and uploaded it to my root directory.
I have edited the file;
// Should be the full path!
$forum_dir = '
http://www.ptiaccess.net/forum';In the Portal Manager I have set the portal to Standalone and the base URL as
http://www.ptiaccess.net/index.phpIt was a package manager install but I checked SSI.php manually and the edits were made by the installer.
Now when I try and visit the home page I get the following errors;
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /mounted-storage/home119b/sub002/sc66939-IKTW/www/index.php on line 45
Warning: require_once(
http://www.ptiaccess.net/forum/SSI.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /mounted-storage/home119b/sub002/sc66939-IKTW/www/index.php on line 45
Fatal error: require_once() [function.require]: Failed opening required '
http://www.ptiaccess.net/forum/SSI.php' (include_path='.:/usr/share/php5/') in /mounted-storage/home119b/sub002/sc66939-IKTW/www/index.php on line 45
My SMF version is 2.0 RC1-1
My SP version is 2.2.2
Forum URL
http://www.ptiaccess.net/forum/index.phpThe portal works as expected when set to Front Page mode
The first error is gone when I edit SPStandalone.php to /mounted-storage/home119b/sub002/sc66939-IKTW/www instead of the URL so I am assuming this is a server config problem but what about the other 2 errors?
Please don't tell me I have to resort to pulling it onto the home page in an iframe.