Posted on: 08/20/03 02:22pm
By: mattalter
I am stumped. Here is my dir layout.
/home/u3/mattlter/
/geeklog All geeklog files here
/html All public geeklog here aka public_html
Here is my config and lib-common
config
$_CONF[\'path\'] = \'/home/u3/mattlter/geeklog/\';
$_CONF[\'path_html\'] = $_CONF[\'path\'] . \'home/u3/mattlter/html/\';
lib-common
require_once( \'/home/u3/mattlter/geeklog/config.php\' );
I have gone over all the perms in
logs
html/backend
html/images/articles
html/userphotos
and made them all 777
Here is the issue,
When I run the check.php it looks like the paths are being shown with symbolics links. An example is,
Could not open the RDF file /home/u3/mattlter/geeklog/home/u3/mattlter/html/backend/geeklog.rdf for writing.
See how the script seem to be going to geeklog then back up to home.
I assume its my paths but for the last 2 days I have read every post I could find about paths with no luck. I also have tried all diffrent variations of my path, only the above path statements get check.php to run.
Any help would be great, Geeklog looks cool, I would love to get it running.
Thanks
Matt Alter
mattalter@yahoo.com
Re:another paths issue
Posted on: 08/20/03 02:51pm
By: Anonymous (Patrick)
Change this:
$_CONF[\'path_html\'] = $_CONF[\'path\'] . \'home/u3/mattlter/html/\';
to this:
$_CONF[\'path_html\'] = \'home/u3/mattlter/html/\';
Regards,
Patrick
Re:another paths issue
Posted on: 08/20/03 02:55pm
By: Anonymous (Patrick)
[QUOTE BY= Patrick]to this:
$_CONF[\'path_html\'] = \'home/u3/mattlter/html/\';
[/QUOTE]
sorry, put a \"/\" in front of home:
$_CONF[\'path_html\'] = \'/home/u3/mattlter/html/\';
single line off course. stupid forum breaks up the line.
Re:another paths issue
Posted on: 08/20/03 03:01pm
By: Dirk
Or simply
$_CONF[\'path_html\'] = $_CONF[\'path\'] . \'html/\';
bye, Dirk
Re:another paths issue
Posted on: 08/20/03 03:05pm
By: mattalter
Nice, thanks for the heads up, been banging my head for hours on this. Got it install and running.
Thanks for the help!
Re:another paths issue
Posted on: 08/20/03 04:00pm
By: Dirk
Just for the record: My above answer was incorrect. Do as Patrick suggested.
Note to self: Read post carefully even if the answer seems obvious.
bye, Dirk
Re:another paths issue
Posted on: 08/20/03 05:11pm
By: mattalter
Well got it kinda working. Got the install completed page, looks great.
When I click home I get,
Premature end of script headers: /home/com/aconsensus/html/index
Any ideas?
txs for all your help.
Re:another paths issue
Posted on: 08/21/03 01:07am
By: samstone
Did you change and layout headers?
Sam
Re:another paths issue
Posted on: 08/21/03 01:15am
By: mattalter
Did not change anything except the config.php and the lib-common.php.
txs
Re:another paths issue
Posted on: 08/21/03 01:26am
By: samstone
Could you post the upper section, the part that you need to change, of your config.php.
Also, what path did you put in your lib-common.php?
Sam
Re:another paths issue
Posted on: 08/21/03 08:27am
By: mattalter
My config
$_CONF[\'path\'] = \'/home/u3/mattlter/geeklog/\';
$_CONF[\'path_html\'] = \'/home/u3/mattlter/html/\';
$_CONF[\'site_url\'] = \'http://www.aconsensus.com\';
my lib-common.php
require_once( \'/home/u3/mattlter/geeklog/config.php\' );
Re:another paths issue
Posted on: 08/21/03 09:08am
By: DTrumbower
Ther error messages is pointing to /home/com instead of /home/u3. This might be the problem.
Re:another paths issue
Posted on: 08/21/03 09:11am
By: mattalter
I know, put I don\'t see that path set up anywhere? Any ideas?
Re:another paths issue
Posted on: 08/21/03 09:15am
By: mattalter
It seems that at my host the html dir is also an aliais for com. I guess I could create a sub dir called html to see if that helps.
Re:another paths issue
Posted on: 08/21/03 09:17am
By: DTrumbower
In the install directory there is file called check.php, run it and see what it brings back for errors.
Re:another paths issue
Posted on: 08/21/03 09:19am
By: DTrumbower
[QUOTE BY= mattalter] It seems that at my host the html dir is also an aliais for com. I guess I could create a sub dir called html to see if that helps.[/QUOTE]
Thats not what the messages are saying. It might be an alias for u3 but not html.
Re:another paths issue
Posted on: 08/21/03 10:02am
By: mattalter
I already removed my install dir, but used the check.php to resolve my path issue, all tests were sucsessful. I assume this is not a rights issue but a path issue, and with my host not how geeklog is setup.
Re:another paths issue
Posted on: 08/21/03 10:08am
By: DTrumbower
On the surface the geeklog setup looks ok. You might want to talk with the host.
Re:another paths issue
Posted on: 08/21/03 12:02pm
By: mattalter
Ok with all your help and more picking around, I found what it was.
Of course it was a path issue.
Here is my config
$_CONF[\'path\'] = \'/home/com/aconsensus/geeklog/\';
$_CONF[\'path_html\'] = \'/home/com/aconsensus/html/\';
I had to change my path, orginaly it was /home/u3/mattlter/html, this is what my host told me what is was, but after seeing the error after my last install in the index.php page, this lead me to this.
Thanks for all your help, I hope this thread may help someone else!
Re:another paths issue
Posted on: 08/21/03 06:22pm
By: DTrumbower
[QUOTE BY= mattalter]
Of course it was a path issue.
[/QUOTE]
It always is.
Re:another paths issue
Posted on: 08/23/03 03:08pm
By: Anonymous (Seeker)
Just like to thank you guys for this conversation. I\'ve installed Linux and am about to install MYSQL, PHP and APACHE. THEN I was going to install Geeklog. I was very much concerned that I had little idea how the Geeklog paths should look.
I have /home on a separate partition. If I make two paths on /home (something like \"gl/html\" and \"gl/the other stuff\"), and set the rights according to the instructions, would anyone be able to see or alter the geeklog code?
Re:another paths issue
Posted on: 08/23/03 06:26pm
By: Dirk
It\'s not so much a matter of the paths but how paths are mapped to URLs. You should install Geeklog such that there\'s no way that anyone could access, for example, config.php via a URL. Only those files that are inside Geeklog\'s public_html directory should be accessible via a URL.
bye, Dirk
Re:another paths issue
Posted on: 08/23/03 10:47pm
By: Anonymous (Seeker)
Thanks Dirk.
I have a geeklog site i developed on a win2k workstation under IIS. It is all under the directory \"inetpub\". I\'m thinking of simply transferring it to my Linux server keeping the directory names as is. That is why I asked.
Currently, it works fine. The public directory is \"c:inetpubwwwroot\". Everything else is under c:inetpubsite\". I\'m hoping I can just make the first path into \"/inetpub/wwwroot\" and the second into \"/inetpub/site\".
I am having a very hard time making the switch from Windows to Linux. I\'m REinstalling Linux again as I write this (for the gazillionth time!). I hope I got it right this time. I still have to configure mysql and php!

Will be real nice to finally see the site online, after all this time!!!