Ok i tried first those conf.inc.php settings... and i went back to getting errors. Then I downloaded the Document_Root.php and ran it.. and it showed this:
1) your default $_SERVER['DOCUMENT_ROOT']: /usr/local/apache/htdocs
2) real DOCUMENT_ROOT based on this file : /home/mydomain/public_html/web1/cms
If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":
$_SERVER['DOCUMENT_ROOT'] = '/home/mydomain/public_html/web1/cms';
Check if this is corresponding with the subdir
in which phpwcms is installed:
$phpwcms['root'] = "/home/mydomain/public_html/web1/cms";
If so - everything is fine too, also if this is empty.
Maybe some "/" is there. That's no problem here.
So i did like it said.. I still got errors.. I then went and changed/added the lines in config.inc.php to so:
Code: Select all
$phpwcms["site"] = "http://esc.midphat.com/mydomain/web1/cms/";
$phpwcms["admin_email"] = "web1@mydomain.com";
// paths
$phpwcms["root"] = ""; //default: ""
define ("PHPWCMS_ROOT","/home/mydomain/public_html/web1/cms/".$phpwcms["root"]) ;
Then I went and change the line in spaw_control.config.php from:
Code: Select all
// directory where spaw files are located
$spaw_dir = '/'.$phpwcms["root"].'include/inc_ext/spaw/';
To now:
Code: Select all
// directory where spaw files are located
$spaw_dir = $phpwcms["root"].'include/inc_ext/spaw/';
taking out the '/' in front of the root string.. I also had to add a '/' to the end of the $_SERVER[DOCROOT] line in the config.inc.php file.
After all this.. i now can see the tool bar in SPAW.. and it all works for the most part except for a couple of glicthes.. i think.
1) When I got to insert an image.. and it calls img_library.php dialog.. in the two default librarys it just says "Library doesn't physically exist" for either one of them.. and there is no upload option (i dont have it enabled in the config too).
2) When I call the color picker... its really really tiny.. it works.. but the window starts out what i would think to be normal size.. then suddenly shrinks to tiny color grid.
Any help on these last two issues would be greatly appreciated.
