Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 08:20 am EDT

Geeklog Forums

After reading sticky and posts, still need installation help


Status: offline

warren18Z

Forum User
Newbie
Registered: 12/09/05
Posts: 2
sad
Please try to help me out here. You must be losing patience with us newbies....I'm at a loss as to what I'm screwing up. I haven't been able to successfully load any plugin (I've tried filemgmt, forum and even gallery2).

I think it's a matter of being new to geeklog and php. It looks like I just don't understand the directory structure. I consistently get an error like the one below. I've read the posts at this forum as well as the forums at the developers pages. I've looked at the diagram, and always the same. That's why I think it's a directory thing.


Warning: main(/home/warren/public_html/PPF/system/lib-portalparts.php): failed to open stream: No such file or directory in /home/warren/public_html/PPF/plugins/forum/functions.inc on line 49

Fatal error: main(): Failed opening required '/home/warren/public_html/PPF/system/lib-portalparts.php' (include_path='/home/warren/public_html/PPF/system/pear/:.:/usr/lib/php:/usr/local/lib/php') in /home/warren/public_html/PPF/plugins/forum/functions.inc on line 49


I am hosted. My domain is at http://www.soeldner.com. I have geeklog-1.3.11sr1 (I know there is a sr2, but I'll save the problems I had with that one until after I figure that out. sr1 was installed by my cPanel X. I am installing geeklog to a directory called PPF, which makes the url http://soeldner.com/PPF. It works fine, and I'm very happy with it.



using filemgmt as an example:

1. I use SmartFTP to copy the unzipped filemgmt folder to /public_html/PPF/plugins

2. I copy the files from the admin folder to /public_html/PPF/admin/plugins/filemgmt

3. I copy the files from the public_html folder to /public_html/filemgmt

4. I use SmartFTP to CHMOD the /public_html/PPF/admin/plugins/filemgmt folder (and all files under it) to 755 (I've also tried 777)

5. I use SmartFTP to CHMOD the /public_html/filemgmt folder (and all files under it) to 755 (also tried 777)

6. I use SmartFTP to CHMOD the /public_html/PPF/plugins/filemgmtt folder (and all files under it) to 755 (also tried 777)

7. I use Cpanel to to run the install.php

8. I log into my geeklog site as admin, and click the install plugin button (successful)

9. I click on the filemgmt Admin link in the menu..... and I get the error.

Any help would be greatly appreciated.

Thanks in advance

Warren
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
ensure that lib-portalparts.php (which comes packaged with the forum plugin as well as the file management plugin I think) is copied to your system dir as per the plugin's install instructions.

remember, the server doesn't lie. those plugins are searching for that file in that location, and the file simply cannot be found there.
 Quote

Status: offline

warren18Z

Forum User
Newbie
Registered: 12/09/05
Posts: 2
cheerful
OK machinari.... Thanks. I'll give it a go when I return home from work tonight!

Warren
 Quote

Status: offline

rb44

Forum User
Newbie
Registered: 11/29/06
Posts: 12
I'm having the same problems.
But I'm just trying to get geeklog set up.

I have a photographic memory as far as being able to tell you exactly where the config.php file is located. I can take you there by putting it in the form of a url.
But as far as path, I'm trying to go by the path the server gives me, but it doesn't seem to be working with the install script. I'm here now because I was sent to search for directory structure. I already know how my site is set up. And I'm doing what the script says to do but it's not working. Do you have these things booby trapped for newbies to fall on their faces?

You guys are really coy with your answers sometimes and I understand you would rather have me pay you $50 to set up the script for me but I just can't afford that right now.

Isn't this supposed to be something that helps people to learn instead of making them feel like they're idiots?

I've spent hours on this just trying to find answers and I feel like I'm getting more runaround than anything.

 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: rb44

You guys are really coy with your answers sometimes

And you are coy with your compaint. How can we help you if you don't print the error message you are getting? How can we help you if you don't tell us what you have your $_CONF['path'] and similar variables set to? Have you read the faqs? Particularly How do I find out my paths?, Alternative installation instructions and potentially Installing Geeklog entirely within the web root?
 Quote

rb44

Anonymous
The path is /home/dollarda/public_html/blog/config.php
to the config.php file. Now my question, and I've asked this several times, is this path correct? or should it be the path to the DIRECTORY FOR config.php?
The script says Path to Geeklog's config.php: so I assume it wants me to include config.php in the path.

When I go to http://www.dollardayhits.com/blog/admin/install/install.php I get the installation script, then I put the path into the script and get this.

Warning: main(/home/dollarda/public_html/config.php/system/databases/mysql.class.php): failed to open stream: Not a directory in /home/dollarda/public_html/system/lib-database.php on line 117

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

from this I assume that it's telling what I already know that config.php is not a directory right?

So I tried it without config.php /home/dollarda/public_html/blog
and get this.

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

Fatal error: main(): Failed opening required '/path/to/geeklog/system/databases/mysql.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'Wink in /home/dollarda/public_html/blog/system/lib-database.php on line 117

 Quote

rb44

Anonymous


Faq 2, 50 and 56 under what topic?
FAQ Manager

* Common problems
Number of topics: 19
Problems you may encounter after the installation.
* General
Number of topics: 8
Questions that don't really fit any of the other categories.
* Installation
Number of topics: 14
Questions that may come up before, during, or after installation of Geeklog.
* Plugins and Add-ons
Number of topics: 4
Questions regarding the available extensions.
* Usage
Number of topics: 18
Usage questions - How do I ...?
 Quote

Status: offline

Dirk

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

The path is /home/dollarda/public_html/blog/config.php
to the config.php file. Now my question, and I've asked this several times, is this path correct? or should it be the path to the DIRECTORY FOR config.php?


$_CONF['path'] should be without the config.php at the end - just as it was originally.

Only the require_once in lib-common.php should include the config.php - again, as it was originally.

bye, Dirk
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: rb44

The path is /home/dollarda/public_html/blog/config.php
to the config.php file. Now my question, and I've asked this several times, is this path correct? or should it be the path to the DIRECTORY FOR config.php?
The script says Path to Geeklog's config.php: so I assume it wants me to include config.php in the path.


Are you referring to $_CONF['path']? If so, it should point to the directory where the file config.php is located. Also in that directory should be the system, plugins and other directories. You cannot move the config.php file into a blog directory unless all of geeklog is in the blog directory.

Thus: $_CONF['path'] = '/home/dollarda/public_html/blog/';
So I tried it without config.php /home/dollarda/public_html/blog
and get this.

Warning: main(/path/to/geeklog/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/dollarda/public_html/blog/system/lib-database.php on line 117
Step 2, edit $_CONF['path_html'] . "lib-common.php"

Change line 117 do it has the full path to config.php:

require_once ( '/home/dollarda/public_html/blog/config.php' );

At this point your stuff will work and be completely insecure. You should move all the files up two directories so that the geeklog/public_html contents are in you /home/dollarda/public_html directory and all the other stuff is in /home/dollarda. But get it to install once before mucking around with directories.
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Based on the information you gave, here's the whole thing from the top. Here's how it should look, a couple directories up the filesystem:

Assuming your host provider is set up well, delete what you have and untar the distribution to /home/dollarda/geeklog.
Create a directory called /home/dollarda/public_html/blog
Copy the content of /home/dollarda/geeklog/public_html to /home/dollarda/public_html/blog
Edit /home/dollarda/geeklog/config.php:
- Set $_CONF['path'] to '/home/dollarda/geeklog/'
- set $_CONF['path_html'] to 'home/dollarda/public_html/geeklog/'
- set $_CONF['site_url'] to 'http://www.dollardayhits.com/blog/'
Edit home/dollarda/public_html/blog/lib-common.php and change line 117 from /path/to/geeklog/config.php to /home/dollarda/geeklog/config.php
Once it installs, delete /home/dollarda/public_html/blog/admin/install/*

Is that simple enough? It does assume that your host provider gave you a directory called public_html to start with. Based on your install directory it looks like the above will work but I can't really tell from out here.
 Quote

rb44

Anonymous
A little variation here...

I deleted everything and started all over again.

I unpacked the tarball with winrar (recommended instead of winzip)

I uploaded everything in the geeklog/public_html folder to a new directory called BLOG under MY public_html so the path is /home/dollarda/public_html/blog

Is this correct? I've never named the public_html folder from my site before. I always assumed that when you type /home/dollarda that IS the public_html folder. So do I really need to put public_html in the path or not?

I did not upload the folder named public_html to the blog folder, I only uploaded the CONTENTS of it.

Everything else is in MY public_html folder.

 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Read my above post more carefully.

In /home/dollarda you should have public_html and geeklog if you followed my instructions. (plus anything put there by your webhost). You don't want the other files accessable from public_html.
 Quote

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