Closed (works as designed)
Project:
Multisite API
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2011 at 14:27 UTC
Updated:
17 Jan 2011 at 07:40 UTC
Repeatable: Always
Steps to repeat:
1. Download module multisite_api
2. Un-compress multisite_api-6.x-1.0-tar.gz into modules folder
3. Add string include './sites/all/modules/domain/settings.php' (i have installed Domain Access module) to end of setting.php
4. Visit http://example.com/admin/multisite/multisite_api/preview page in site
You will see the WSOD.
For me there was the problem resolution a change of line 518 in a file multisite_api.module line 518:
function _multisite_api_eval_file($file_path) {
...
- if(substr($line , 0, 7) == 'ini_set') {
+ if( (substr($line , 0, 7) == 'ini_set') || (substr($line , 0, 7) == 'include') ) {
...
Comments
Comment #1
dalintry
include_once './sites/all/modules/domain/settings.php';rather than
include './sites/all/modules/domain/settings.php';Comment #2
xff77 commentedCertainly!
This replacement has helped removal of error.
Thanks.