Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 09:09 pm EST

Geeklog Forums

Install script can't find forum & dailyquote config files


Status: offline

tstockma

Forum User
Full Member
Registered: 07/22/03
Posts: 169
I'm running install scripts for forum and for dailyquote, they both get the same problem extremely early on in the scripts. I'll use forum for my example here.

Fatal error: Failed opening required '/usr/local/www/vhosts/-domain-snip.com/geeklog-1.3.8/plugins/forum/config.php' (include_path='.:/usr/local/www/lib/php') in /usr/local/www/vhosts/-domain-snip-.com/htdocs/admin/plugins/forum/install.php on line 53


So it's not finding the forum plugin's specific config file. Line 53 is the line referencing config.php here:

^M
require_once('../../../lib-common.php');^M
require_once($_CONF['path'] . 'plugins/forum/config.php');^M
require_once($_CONF['path'] . 'plugins/forum/functions.inc');^M
^M


confic.php and functions.inc both unzip to the "root" directory of the install, I haven't moved them (didn't see anything in the instructions that looks like I should, but I'm a newbie), so they end up in (site-root)/plugins/forums.

I could just move them to the admin dir the error msgs refer to, under htdocs...but I'd rather keep them away from the web server (as I do with the general GL config.php)...if I change the value of _CONF('path') this certainly causes problems, so that don't work well...

What's the usual procedure? Do we usually just put plugin config files under the htdocs/admin/plugins/plugin-name directory, or is there somewhere else I can change a variable for the location of certain files?

Thanks for all help!
Tom
www.southparkcity.com
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
this is a fairly straight forward error.
it says that your plugin's config.php is not where it is supposed to be.
it is supposed to be in: '/usr/local/www/vhosts/-domain-snip.com/geeklog-1.3.8/plugins/forum/'
if it is not there, then you have copied your files to the wrong path.

Quote by tstockma:I could just move them to the admin dir the error msgs refer to, under htdocs
the error msg does, in no way, indicate that moving the files in question to the admin directory will make any difference. The only difference to be made is ensuring that the files are located where they are being sought.
 Quote

Status: offline

tstockma

Forum User
Full Member
Registered: 07/22/03
Posts: 169
Oh-ho-o-o-o-o...this is very enlightening! Machinari, you nailed this exactly, and it also explains my earlier problem, where forums and dailyquote wouldn't appear on my plugin admin page of the site, after I thought I'd gotten everything set up.

The docs say to uncompress to (geeklog-dir)/plugins, creating (geeklog-dir)/plugins/forum, I didn't realize it means ..../domain-name.com/geeklog-1.3.8/plugins/forum, so all my files were in ..../domain-name.com/plugins/forum. (Substitute dailyquote for forum, for that second plugin.)

Which clearly was why I had the earlier problem, where the plugin admin page couldn't present me these plugins as "new plugins" which I could then install.

So I ssh'd in, and mv'd the directory structures. Immediately dailyquote and forums showed up, and my picking "install" seems to have worked (well, until I proceed with more steps to use them, I don't know that I've actually nailed 'em yet...if not you'll probably see another topic).

Machinari, brilliant! Thank you so much for your support. I'm on to the next problem & will report back...I'll also be sure to post another followup to my previous topic, so somebody researching "why plugin xxx doesn't show up on plugin admin" will know about my solution.
Tom
www.southparkcity.com
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512

yes yes, the geeklog dir will almost always refer to that directory which contains your site's config.php, i.e., $_CONF['path'].

glad I good help
 Quote

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