Hello!
I’ve installed MODx, SMF and the SMF Connector Module. I *think* I entered all paths and stuff correctly, but i get an error like this:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: filemtime(): open_basedir restriction in effect. File(/Load.php) is not within the allowed path(s): (/afs/tu-chemnitz.de:/afs/.tu-chemnitz.de:/etc/httpd/conf:/tmp:/usr/share/pear:/www/auth)
Error type/ Nr.: Warning - 2
File: /afs/tu-chemnitz.de/www/root/phil/politik/fachgruppe/forum/Sources/Load.php
Line: 2133
Line 2133 source: $key = md5($boardurl . filemtime($sourcedir . ’/Load.php’)) . ’-SMF-’ . $key;
Parser timing
MySQL: 0.0471 s (5 Requests)
PHP: 0.0973 s
Total: 0.1444 s
What i’m basically trying to do is to integrate the forum’s index.php on the main page (so that the forum is a part of my site and there’s no need to oben a new browser tab/window) into MODx by calling a snippet with the following code:
<?php
include_once($modx->config[’base_path’].’forum/index.php’);
?>
NOTE: There is no difference in the error Code on top if my path has a trailing "/" before "forum" or not!
I’m calling the Snippet with a page called "Forum" und the following content:
[[forum]]
What am i doing wrong?
I would appreciate your help!!