Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:30 pm EST
Geeklog Forums
Installation directory options
Jonas
Anonymous
I really wanted to install this and get it working, but I\'m not much a *nix user, so I was getting mightily confused.
my website runs from /var/www/html/, so I copied the contents of the public_html directory to that folder. Then I made a directory called geeklog in /home/admin to host all the non-web stuff, since the install docs recommend separating the two.
Does that sound right, or am I screwing something up fundamentally?
11
11
Quote
Status: offline
SpicyJ
Forum User
Newbie
Registered: 08/14/03
Posts: 7
Ok, here\'s what I\'ve got now...
public_html is in /var/www/html/
everything else is in /tmp/geeklog/
when I try to run the check.php, I get the following:
Warning: main(/tmp/geeklog/config.php) [function.main]: failed to create stream: No such file or directory in /home/virtual/site6/fst/var/www/html/lib-common.php on line 69
Fatal error: main() [function.main]: Failed opening required \'/tmp/geeklog/config.php\' (include_path=\'.:/php/includes:/usr/share/php\') in /home/virtual/site6/fst/var/www/html/lib-common.php on line 69
Jonas/SpicyJ
10
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Err, /tmp isn\'t a good place to keep things in, don\'t you think?
When you get the \"failed opening required ...\" error, then it\'s usually
- wrong path
- permissions (webserver can\'t access the file or the directory it\'s in)
- the file\'s simply not there
17
15
Quote
Status: offline
SpicyJ
Forum User
Newbie
Registered: 08/14/03
Posts: 7
I also changed a line in lib-common.php and now I get this error:
Parse error: parse error in /home/virtual/site6/fst/home/geeklog/config.php on line 69
Warning: main(classes/timer.class.php) [function.main]: failed to create stream: No such file or directory in /home/virtual/site6/fst/var/www/html/lib-common.php on line 105
Fatal error: main() [function.main]: Failed opening required \'classes/timer.class.php\' (include_path=\'.:/php/includes:/usr/share/php\') in /home/virtual/site6/fst/var/www/html/lib-common.php on line 105
13
15
Quote
Status: offline
SpicyJ
Forum User
Newbie
Registered: 08/14/03
Posts: 7
Ok, I\'ve got the semicolon thing fixed...
now it\'s:
Warning: main( /home/virtual/site6/fst/home/geeklog/system/classes/timer.class.php) [function.main]: failed to create stream: No such file or directory in /home/virtual/site6/fst/var/www/html/lib-common.php on line 105
Fatal error: main() [function.main]: Failed opening required \' /home/virtual/site6/fst/home/geeklog/system/classes/timer.class.php\' (include_path=\'.:/php/includes:/usr/share/php\') in /home/virtual/site6/fst/var/www/html/lib-common.php on line 105
I feel like I\'m closer than before, but still so far
12
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by SpicyJ: I did a chmod -R 777 on the entire /home/geeklog/ directory...doesn\'t that give everyone every permissions?
It does and you shouldn\'t really do that ...
So what about the other two points from the checklist? I mean, your paths look okay as far as I can tell from here, but only you can tell if they\'re really correct ...
bye, Dirk
9
16
Quote
Status: offline
SpicyJ
Forum User
Newbie
Registered: 08/14/03
Posts: 7
The files are there, in the places they should be...I haven\'t modified anything like that other than moving directories around. If it can see config.php, why can\'t it find the other one?
The only thing I can think of is my webspace is hosted on a shared server, which is why I have the prefix \'/home/virtual/site6/fst/\' on all my paths. I\'ve tried the config.php both with and without that, and no luck. So confused!
10
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by SpicyJ:The only thing I can think of is my webspace is hosted on a shared server, which is why I have the prefix \'/home/virtual/site6/fst/\' on all my paths. I\'ve tried the config.php both with and without that, and no luck. So confused!
If in doubt, always use the path that the install script suggests.
bye, Dirk
19
10
Quote
All times are EST. The time is now 10:30 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