Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:26 am EST

Geeklog Forums

Installation says it can't find config.php -- but it lies!


bruce

Anonymous
Hi all.

I've just installed geeklog from scratch, and get to the install.php part, and get this message:

Geeklog Installation - Error

Geeklog could not find config.php in the path you just entered: /var/www/vhosts/mydomain.com/geeklog/config.php
Please check this path and try again. Remember that you should be using absolute paths, starting at the root of your file system.

The only difference between the way I have set out my directories and the default way suggested in the docs is that I want my installation in a subdirectory of the domain, e.g. http://mydomain.com/diary so I have put the public_html geeklog files in /var/www/vhosts/mydomain.com/httpdocs/diary/, and the non-public geeklog files in /var/www/vhosts/mydomain.com/geeklog/.

I have followed the installation docs very closely, set the permissions exactly as instructed, check the paths in config.php and lib_common.php a thousand times, but still no joy.

Thinking I had made some mistake somewhere I decided to try an entire installation again, from scratch, on a different domain, but still no joy.

Either I've made the same mistake twice, or there's something about my system geeklog doesn't like.

The server is a 1and1 hosted linux root server running Plesk. I have enabled php (obviously) and switched off 'php safe mode'.

I have followed the 'Common installation problems' section of the docs.

I really don't know what else to do. Does anyone have any ideas?

Many thanks in advance.
Bruce
 Quote

bruce

Anonymous
I just remembered and it might be worth mentioning that running many of the scripts in the admin folders gives this message:
Unfortunately, an error has occurred rendering this page. Please try again later.

This includes index.php and sectest.php in the .....httpdocs/diary/admin/ directory, and check.php and configinfo.php in the install/ directory off that.

I have edited config.php to set

$_CONF['rootdebug'] = true;

but I don't get the debug info as the docs suggest I should.

--

 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Actually paste the sections of the config.php where the paths and url settings are especially $_CONF['path'] $_CONF['path_html'], and $_CONF['site_url'].
 Quote

bruce

Anonymous
Text Formatted Code
$_CONF['path']            = '/var/www/vhosts/mydomain.com/geeklog/';

$_CONF['path_html']         = '/var/www/vhosts/mydomain.com/httpdocs/diary/';

$_CONF['site_url']          = 'http://mydomain.com/diary';
 
 Quote

bruce

Anonymous
Well it seems that on this system, file_exists() returns false when called with a file that lies outside the publicly accessible httpdocs directory.

Therefore I have now tried installing into two directories:

/var/www/vhosts/mydomain.com/httpdocs/geeklog/

for the system stuff and

/var/www/vhosts/mydomain.com/httpdocs/diary/

for the public stuff.

I will password protect the geeklog directory when (if) I get this working.

The next problem is that although the database tables get created, I immediately get dumped into the

Unfortunately, an error has occurred rendering this page. Please try again later.



error message.

This is slowly driving me insane but geeklog looks so good I am determined to persevere.

Cheers
Bruce
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

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