Just installed 1.0.2; The first time I went to /manager/, it showed me a blank page.
I turned the error reporting in manager/index.php , and this is what it came up:
Warning: main() [function.main]: open_basedir restriction in effect. File(/quotes_stripper.inc.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /var/www/vhosts/mydomain.com/httpdocs/mdx12/manager/index.php on line 95
... and so on , many more warnings
I have not made any changes to the include_path on that server, and there is a modx 9.6. running just fine on the same domain.
PHP is Version 5.0.4, so it obviously uses ’set_include_path(get_include_path() . PATH_SEPARATOR . $incPath);
What could be causing such errors?
I am also experiencing a weird behaviour with a new 1.0.2 install: the final installation screen hangs at ’Modules’ for ever; the manager and sample site do get installed, but all modules and snippets are not available in the manager, templates and chunks are OK.
I already gave 128MB of RAM for the php.ini, opened all permissions and tried to upgrade this new install over itself a few times ?!?
I have exactly the same problem following an upgrade to 1.0.2. I have successfully upgraded about 6 sites already, it’s just this one that’s not playing ball, and it’s only the manager. The front end seems fine.
Any ideas anyone?
Learning a little more each day.
-
☆ A M B ☆
- 3,112 Posts
I was just trying to help another forum member to solve the similar problem.
http://modxcms.com/forums/index.php?topic=43333.new;topicseen#new
Well, we didn’t know for sure what was the REAL problem, but he worked it out.
Read our conversation, perhaps you’ll get a hint.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Finally I had some time to play with this issue. Here’s how I dealt with the problem:
in /manager/index.php , around line 82, comment out the following line:
set_include_path(get_include_path() . PATH_SEPARATOR . $incPath);
Right below it, paste the older version of the same code (0.9.6 in my case):
set_include_path($incPath); // this now works, above code did not?
I think the issue is get_include_path() . PATH_SEPARATOR . $incPath, which actually works just fine on Windows servers, but for some reason not on Linux.
Hope this helps.
The weird thing is, the blank page manager apparently only happens in earlier PHP 5 versions. The one I was having trouble with was on a Linux machine running PHP 5.0.4.
I just finished installing Evolution 1.0.2 on another server with PHP 5.2.11 and I had no problems whatsoever.
I have the same issue after a 1.0.15 upgrade.
Here are my server's details:
Apache version 2.2.29
PHP version 5.4.34
MySQL version 5.5.40-36.1-log
I tried commenting out the line you mention above but no luck. Any other ideas?