Welcome to Geeklog, Anonymous Tuesday, December 16 2025 @ 01:37 pm EST

Geeklog Forums

Success page not found!


Roger

Anonymous
Hi there, i installed geeklog, created the database, etc. I did put everything except public_html outside the document root in a file called "geeklog". The public_html files are in a directory of that name inside the document root. I set the permissions and ran the installation file. However, when I got to the success page I got the "Not found" page. When I put this URL into the browser I got an error message.

Warning: main(../../geeklog/config.php): failed to open stream: No such file or directory in /home/.ibeam/site/mysite.com/public_html/lib-common.php on line 69

Fatal error: main(): Failed opening required '../../geeklog/config.php' (include_path='.:/usr/local/lib/php') in /home/.ibeam/site/mysite.com/public_html/lib-common.php on line 69

It seems success.php is not finding lib-common.php... But the path in success.php appears to be correct...

Any ideas what may be happening, and how to get back on track?
Can someone help me
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Check your settings for $_CONF['path'] and $_CONF['path_html'] (and $_CONF['site_url'], for good measure). If you can't figure it out yourself, post them here.

bye, Dirk
 Quote

Roger

Anonymous
Those look okay. I am pretty sure they are correct. I wonder if it is the second item in the third setting of config.php:

// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';

That is, admin is in a folder called public_html with URL

www.mysite.com/public_html/admin

So the correct setting for this item should be:

$_CONF['site_admin_url'] = $_CONF['site_url'] . 'public_html/admin';

Maybe?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Where are your index.php and lib-common.php? If they are in your public_html, then "public_html" should be part of $_CONF['site_url'].

bye, Dirk
 Quote

Roger

Anonymous
Hi Dirk,

Thanks for your help so far! I really appreciate it! Okay, I checked my paths with my website admin. They are definitely correct, as follows

user path:

/home/jphotos/

Webroot or system path:

/home/jphotos/junglephotos.com/

public_html URL is www.junglephotos.com/public_html (outside the document root)

geeklog file path is /home/jphotos/geeklog (inside the document root)

So my settings are now...

$_CONF['path'] = '/home/jphotos/geeklog/';

$_CONF['path_html'] = '/home/jphotos/junglephotos.com/public_html/';

$_CONF['site_url'] = 'http://www.junglephotos.com/public_html';

$_CONF['site_admin_url'] = $_CONF['site_url'] . 'admin/';

That looks like it should work, but I am still getting the same error when I put http://www.junglephotos.com/public_html/admin/install/success.php into the browser!!

Please help!!
Banging your head
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
What about the change that you made to lib-common - the setting for the path to config.php and is the current error exactly as you initially posted initially?
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Matt

Anonymous
Fatal error: main(): Failed opening required '../../geeklog/config.php' (include_path='.:/usr/local/lib/php') in /home/.ibeam/site/mysite.com/public_html/lib-common.php on line 69


I think that says it found lib-common.php, and got to line 69 in that file, which told it to read ../../geeklog/config.php, and that's what it couldn't find. Try replacing the path with an absolute path

/home/jphotos/config.php (or whatever the real path is)
 Quote

Roger

Anonymous

Try replacing the path with an absolute path

/home/jphotos/config.php (or whatever the real path is)


Great!!! That did it! I changed the path and the success page loaded just fine. You guys were all very helpful! Thank you. Very Happy
 Quote

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