Welcome to Geeklog, Anonymous Tuesday, June 06 2023 @ 07:52 pm EDT

Geeklog Forums

Installation issue (no such file or directory)


Specialtech

Anonymous
Warning: main(geeklog/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/specialt/public_html/geeklog/system/lib-database.php on line 110

Fatal error: main(): Failed opening required 'geeklog/system/databases/mysql.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/specialt/public_html/geeklog/system/lib-database.php on line 110


Hi all

Ive followed the instructions to the letter (well i hope) and i get the error message above.

Ive taken a look around the forum and ive seen about changing the line to be absolute and not relative and then I got lost...

Can anyone help please
 Quote

Status: offline

JohnVanVliet

Forum User
Full Member
Registered: 10/09/03
Posts: 161
hi is your web root specifide in lib-common
and i asume you are running linux
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Specialtech: Ive taken a look around the forum and ive seen about changing the line to be absolute and not relative and then I got lost...

That's your problem exactly - you have to use an absoulte path, but you've entered a relative one.

An absolute path starts at the root directory of the file system - indicated by it starting with a slash.

If you don't know the absolute path to your directory, call up the install script (without doing anything there) and have a look at the bottom of the first page. It will give you a hint there about what your (absolute) path is. From the error message, it should be something starting with /home/specialt

bye, Dirk
 Quote

Specialtech

Anonymous
THanks guys. That took me further than normal I have to admit.

Next error I get is
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/specialt/public_html/geeklog/public_html/lib-common.php on line 4300"
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sounds like this problem.

bye, Dirk
 Quote

Status: offline

specialtech

Forum User
Newbie
Registered: 07/14/04
Posts: 3
excited
Brilliant I thought it might have been that and had tried it earlier, just forgot to reply to this thread
 Quote

Status: offline

specialtech

Forum User
Newbie
Registered: 07/14/04
Posts: 3
Hmmm strange. Am I right in thinking that I cant show images via a link for stories?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by specialtech: Am I right in thinking that I cant show images via a link for stories?

What do you mean? img tags are filtered out (see the FAQ) by default, but as the Admin, you can upload images in stories.

bye, Dirk
 Quote

Status: offline

specialtech

Forum User
Newbie
Registered: 07/14/04
Posts: 3
Ive just added the img tags to the config.php as needed and now it works brilliantly...
 Quote

All times are EDT. The time is now 07:52 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