Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:02 pm EST
Geeklog Forums
Not your typical path problem?
Status: offline
Samelborp
Forum User
Newbie
Registered: 10/03/03
Posts: 12
Ok, this seems a typical path problem:
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?
Template Error: set_root: /var/www/geeklog2//var/www/html/2/layout/clean is not a directory.
Halted.
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?
10
8
Quote
Status: offline
Samelborp
Forum User
Newbie
Registered: 10/03/03
Posts: 12
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)
11
13
Quote
All times are EST. The time is now 01:02 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content