Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:30 pm EST

Geeklog Forums

Installation directory options


Jonas

Anonymous
confused
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sounds perfectly okay. bye, Dirk
 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
 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
  1. wrong path
  2. permissions (webserver can\'t access the file or the directory it\'s in)
  3. the file\'s simply not there
Check those ... bye, Dirk
 Quote

Status: offline

SpicyJ

Forum User
Newbie
Registered: 08/14/03
Posts: 7
Ok, I moved the /geeklog/ directory into /home/geeklog/ It looks like everyone has read permissions on all the files necessary...there\'s an \'r\' in all the spots when I do an ls -la...
 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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by SpicyJRazzarse error: parse error in /home/virtual/site6/fst/home/geeklog/config.php on line 69
Check for a missing single quote or semicolon in line 68 or 69. bye, Dirk
 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 Big Grin
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Please apply the checklist I posted above ... bye, Dirk
 Quote

Status: offline

SpicyJ

Forum User
Newbie
Registered: 08/14/03
Posts: 7
I did a chmod -R 777 on the entire /home/geeklog/ directory...doesn\'t that give everyone every permissions?
 Quote

Status: offline

SpicyJ

Forum User
Newbie
Registered: 08/14/03
Posts: 7
Also, the config.php file appears to have the same permissions as /classes/timer.php...if lib-common can see config.php, why can\'t it see timer.php?
 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
 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!
 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
 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