Welcome to Geeklog, Anonymous Wednesday, September 18 2024 @ 09:42 am EDT

Geeklog Forums

Ugh! Installation issues.


John

Anonymous
blank
I am installing onto a hosted server running linux. There is the error I am getting...

Warning: main(/htdocs/system/databases/mysql.class.php): failed to open stream: No such file or directory in /data/3/0/22/107/185922/user/188451/htdocs/system/lib-database.php on line 114

Fatal error: main(): Failed opening required '/htdocs/system/databases/mysql.class.php' (include_path='.:/usr/services/vux/lib/php') in /data/3/0/22/107/185922/user/188451/htdocs/system/lib-database.php on line 114

---

Here is my config.php file regarding path...

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/htdocs/'; // should end in a slash

// 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 (i.e. without the $_CONF['path']) like this:
//$_CONF['path_html'] = '/htdocs/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';

And... In the lib-common.php file...

require_once( '/htdocs/config.php' );

So I have it in /htdocs, but when I do the install.php it says it sees the files in /data/3/0/22/107/185922/user/188451/htdocs. Well, this is a hosted server, but when I talked to them, they said I should use /htdocs . I have tried to replace my /htdocs with /data/3/0/22/107/185922/user/188451/htdocs, but nothing good came from that, so I reverted it back.

Please any help would be appreciated.
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Try something like /user/188451/htdocs/ (in config.php) and /user/188451/htdocs/config.php (in lib-common.php) . Mostly you need a path which directs the script from the server root to your user (or Geeklog) directory, nothing more, nothing less.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
/data/3/0/22/107/185922/user/188451/htdocs as a full path should do the trick
Vanrillaer.com - our Family Portal
 Quote

John

Anonymous
Thanks... That fixed itSmile
 Quote

All times are EDT. The time is now 09:42 am.

  • 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