Posted on: 12/22/06 08:21am
By: Samelborp
Ok, this seems a typical path problem:
Template Error: set_root: /var/www/geeklog2//var/www/html/2/layout/clean is not a directory.
Halted.
BTW, this is not a Geeklog 2 install! (I am upgrading and keeping the old version running until everything works).
I swear that both $_CONF['path'] and $_CONF['path_html'] are correctly set up, in fact, I am getting this AFTER a successful install. But I had some problems that could give you a hint of what is going on:
After step 2 of install I get a blank successful.php page.
I check log_error and realise that some pluggins were missing (forum and mdigest), so I copy the directories from my old Geeklog install to the new one. I stop getting that errors in log_error and go to check.php to see if file permissions are ok.
I check file permissions and I change logs directory to 777 instead of 775, which wasn't working.
Then I get the above error. The problem is that, somehow, my install is returning a bad path see the double slash in "/var/www/geeklog2//var/www/html/2/layout/clean" when trying to load themes...
Any idea?
Re: Not your typical path problem?
Posted on: 12/22/06 11:40am
By: Dirk
Sounds like the typical path problem to me, actually. Check $_CONF['path_html'] and the comments there. Especially the bit about concatinating with $_CONF['path'] ...
bye, Dirk
Re: Not your typical path problem?
Posted on: 12/23/06 07:32am
By: Samelborp
Text Formatted Code
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/var/www/geeklog2/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . '/var/www/html/2/';
This is my config.php, but what I find strange is that I could succesfully install Geeklog, so the paths should be ok? The folder tree is as follows:
-root
--var
---www
----geeklog2 (here is config.php etc)
----html (this is the root of my public html server)
-----2 (the folder I use to test the upgrade to Geeklog)
Re: Not your typical path problem?
Posted on: 12/24/06 06:22am
By: Samelborp
Well, I edited line 73 from config.php (it was right in front of my eyes) as follows:
Text Formatted Code
$_CONF['path_html'] = '/var/www/html/2/';
Maybe it's a dirty trick, but now it works.
Re: Not your typical path problem?
Posted on: 12/28/06 03:52am
By: Dirk
It's not a dirty trick, it's exactly what is explained in the comments in config.php that you quoted above ...
bye, Dirk
Re: Not your typical path problem?
Posted on: 12/29/06 08:10am
By: Samelborp
I am glad I did the right thing, sorry, probably I misunderstood the explanations, non english mothertongue etc...
Many thanks for your patience!