It appears that you are having an issue with being able to configure your hosting account to set the disable_path_info=OFF. Our Linux hosting accounts run in CGI mode. When PHP 5 runs in this mode, the server variable element PATH_INFO behaves differently than under PHP 4. PHP 5 scripts can use the element SCRIPT_NAME in place of PATH_INFO to ensure the expected value is returned.
You should be able to work around this by changing references to PATH_INFO to use SCRIPT_NAME instead; PATH_INFO is referenced in OJS 2.3.x in the following files:
Thank you for contacting Online Support. Upon review of your hosting account, we haven't made any changes to the hosting server which would cause the problems you are describing. Please review the scripting to verify any rewrites are working properly.
If you are performing mod_rewrites on your site, please see How do I use mod_rewrite?
asmecher wrote:You should be able to work around this by changing references to PATH_INFO to use SCRIPT_NAME instead; PATH_INFO is referenced in OJS 2.3.x in the following files:
I suspect SCRIPT_NAME won't be a drop-in replacement, since it probably includes a leading "index.php" before the PATH_INFO data.
$this->_contextPaths = explode('/', trim($_SERVER['PATH_INFO'], '/'), $this->_contextDepth + 1);
$this->_contextPaths = explode('/', trim($_SERVER['SCRIPT_NAME'], '/'), $this->_contextDepth + 1);
Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot] and 7 guests