Nasty, ugly problems with the paths

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
TCB
Posts: 4
Joined: Thu 2. Sep 2004, 21:39

Nasty, ugly problems with the paths

Post by TCB »

I am trying to test this (promising looking!) CMS for the whole day. Besides the weird thing that it's coming with no templates and the weird 'download config file and upload it to your confige directoriy'), I am getting insane trying to figure out the problems with the paths.

I know the absolute paths of my website. Instead of my real site I will call it tcb for now. The rest of all mentioned links are correct. I host the (trial) site at http://www.tcb.com/phpwcms/

Situation 1:

Code: Select all

// site values
$phpwcms["site"]              = "http://www.tcb.com/phpwcms/";

.....

// paths
$phpwcms["root"]    	      = "";         //default: ""

....

// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
$_SERVER['DOCUMENT_ROOT']     = '/www/t/c/tcb/htdocs/phpwcms';
Result: I can login, but when making content, the source of the buttons point to http://www.tcb.com/include/inc_ext/spaw/lib....., instead of http://www.tcb.com/phpcms/include/inc_ext/spaw/lib....
Image
TCB
Posts: 4
Joined: Thu 2. Sep 2004, 21:39

Post by TCB »

Code: Select all

// site values 
$phpwcms["site"]              = "http://www.tcb.com/"; 

..... 

// paths 
$phpwcms["root"]             = "phpcms";         //default: "" 

.... 

// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings 
// Do not use backslash "\" on Windows - always replace "\" by "/" 
$_SERVER['DOCUMENT_ROOT']     = '/www/t/c/tcb/htdocs/phpwcms';
Results:
While trying to edit an existing article, I'm getting a white box where the SPAW editor should be. Same when trying to create a new article: as soon as the editor should be shown, the white box appears. Login is no problem.

Image
TCB
Posts: 4
Joined: Thu 2. Sep 2004, 21:39

Post by TCB »

Third situation:

Code: Select all

// site values 
$phpwcms["site"]              = "http://www.tcb.com/"; 

..... 

// paths 
$phpwcms["root"]             = "phpwcms";         //default: "" 

.... 

// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings 
// Do not use backslash "\" on Windows - always replace "\" by "/" 
$_SERVER['DOCUMENT_ROOT']     = '/www/t/c/tcb/htdocs';
Results:
hmmm.... it seems good this way
Last edited by TCB on Thu 2. Sep 2004, 22:00, edited 1 time in total.
Pappnase

Post by Pappnase »

hello

in your second post there you how us this!
// paths
$phpwcms["root"] = "phpcms"; //default: ""
did it not need to be this way!?

Code: Select all

// paths
$phpwcms["root"]             = "phpwcms";         //default: "" 
TCB
Posts: 4
Joined: Thu 2. Sep 2004, 21:39

Post by TCB »

Yes, you're right.... that wasn't a copy/paste from the config. I edited the code from the first post and pasted it in the second. Made a mistake while doing that. But in the original config file I've used the right path everytime (phpwcms) :D

By the way, it seems that I now have the right paths :D
Post Reply