Welcome to Geeklog, Anonymous Thursday, February 02 2023 @ 11:27 pm EST

Geeklog Forums

sorry to bother you again…


Status: offline

efischer

Forum User
Newbie
Registered: 12/23/02
Posts: 11
I've changed my setup. I copied all the files from public_html to my public_html. I had to create a new directory at the highest level wich I called GL for the other files including config.php. (there is already a etc directory) In lib.common.php I have entered:* Configuration Include: You should ONLY have to modify this line. * Leave the rest of this file intact! */ require_once( '/home/efischer/GL/config.php' ); In config.php I have made the following setup: $_CONF['path'] = '/home/efischer/GL/'; // C:/inetpub/wwwroot/geeklog/ // 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 like this: $_CONF['path_html'] = '/path/to/your/public_html/'; $_CONF['path_html'] = $_CONF['path'] . 'public_html/'; After install I can see the database is filled with tables; the next screen gives me this: Template Error: set_root: /home/efischer/GL/public_html/layout/XSilver/ is not a directory. Halted. It seems to me that somewhere public_html is expected to be in GL, which it isn't. So I've tried to change $_CONF['path_html'] = $_CONF['path'] . 'public_html/'; into $_CONF['path_html'] = /home/efischer/public_html/'; but then the database won't even be filled. Well, I hate to admit I don't get it, I've been through the manual pages and lots of the help articles here, but, ehh, I don't get it. thanks, Eric
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well that (your latest changes) looks fine as far as I can tell from here. So what do you mean when you say "the database won't even be filled"? Remember, when you enter the "path to Geeklog" in the install script that you have to enter the path to where your config.php resides (not to your public_html folder). If you do so, what happens? Do you get an error message? bye, Dirk
 Quote

Status: offline

efischer

Forum User
Newbie
Registered: 12/23/02
Posts: 11
Well, I'm uploading again. Got too mad about it and deleted the whole thing. (Kept a copy locally). I've emptied the database again. I will report about what exactly happens when the whole thing is uploaded again. thanks again, seems to me you guys must be too busy helping everybody out installing ;-)
 Quote

Status: offline

efischer

Forum User
Newbie
Registered: 12/23/02
Posts: 11
Hello, this is the error I get. Parse error: parse error in /home/efischer/GL/config.php on line 72 Fatal error: Failed opening required 'databases/.class.php' (include_path='') in /home/efischer/GL/system/lib-database.php on line 109 For completeness sake the config.php server setup: I have the public_html files copied into public_html on the server. The other files are copied to a directory "GL" I've created at the highest level on the server. $_CONF['path'] = '/home/efischer/GL/'; // C:/inetpub/wwwroot/geeklog/ // 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 like this: $_CONF['path_html'] = '/path/to/your/public_html/'; $_CONF['path_html'] = /home/efischer/public_html/'; So, if you've stated this setup looked probably allright, what can be happening? thanks, Eric
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hint: Read the error messages carefully. Start with the first one, try to figure out what it says: Parse error: parse error in /home/efischer/GL/config.php on line 72 There's something wrong in line 72 of your config.php (line numbers are sometimes off by a line, so make sure you check lines 71 and 73 as well). In this case, line 72 is $_CONF['path_html'] = /home/efischer/public_html/'; There's the single quote missing before the /home - it should read $_CONF['path_html'] = '/home/efischer/public_html/'; bye, Dirk
 Quote

Status: offline

efischer

Forum User
Newbie
Registered: 12/23/02
Posts: 11
A typo… it's too stupid! It's up and running now, so thanks a lot for being so very helpfull! Eric
 Quote

Anonymous

Anonymous
Congratulations! It's too bad you experienced a lot of problems but at least it turned out to be a very minor one in the end.
 Quote

All times are EST. The time is now 11:27 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