PortalParts.com Site

 Forum Index > Geeklog > Filemgmt Plugin Support New Topic Post Reply
 Install problems
 |  Printable Version
kellymdeters
 October 28 2007 21:10 PM (Read 14994 times)  
Forum Junior
Junior

Status: offline

Registered: 10/28/07
Posts: 5

I installed the filemgmt plugin, but when I click on the "Filemgmt admin" in the admin toolbox, I get the following error:

Warning: main(../lib-common.php) [function.main]: failed to open stream: No such file or directory in /home/kschemte/public_html/Geeklog/admin/plugins/filemgmt/index.php on line 34

Fatal error: main() [function.require]: Failed opening required '../lib-common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kschemte/public_html/Geeklog/admin/plugins/filemgmt/index.php on line 34

Any help would be greatly appreciated!


 
Profile Email PM
Quote
Blaine
 October 28 2007 21:15 PM  
Forum Admin
Admin

Status: offline

Registered: 03/01/02
Posts: 3576

Are you sure you copied the plugin's admin files as it appears you have the public_html version of the index.php in this directory.

The admin version should have these comments in the script header

PHP Formatted Code

// | File Management Plugin for Geeklog - by portalparts www.portalparts.com |
// | File: index.php                                                         |
// | Main admin script                                                       |
 


Please consider contributing to support my efforts ..
 
Profile Email Website PM
Quote
kellymdeters
 October 28 2007 21:26 PM  
Forum Junior
Junior

Status: offline

Registered: 10/28/07
Posts: 5

No, I'm not sure. I was a little confused on what files to copy where!! A list of which files go in exactly which folders would be appreciated. The install instructions said to put things in a "public_html/admin/plugin" folder, but I didn't have either an admin folder, so I added one. But I did have "Geeklog/admin/plugin" so I put files in there as well.
Kelly


 
Profile Email PM
Quote
Blaine
 October 28 2007 21:35 PM  
Forum Admin
Admin

Status: offline

Registered: 03/01/02
Posts: 3576

You must already have an admin folder with a plugins subdirectory. GL install comes with several plugins like staticpages. So there would have been an admin/plugins/staticpages folder for example. The filemgmt plugin is just another plugin and follows the same directory structure. You create a admin/plugins/filemgmt/ directory and copy the admin files from the archive into this new directory - pretty much exactly what is written in the install notes.

Did you verify the header comments in the admin version of the index.php file?
Since it would be several directories deeper then where your lib-common.php is located, that is why I can tell you have the wrong file. Line 34 (approx as both files are not the same) should be

PHP Formatted Code

require_once("../../../lib-common.php");
 

And the error message you noted described that it was looking
PHP Formatted Code

require_once("../lib-common.php");
 


Please consider contributing to support my efforts ..
 
Profile Email Website PM
Quote
kellymdeters
 October 28 2007 21:38 PM  
Forum Junior
Junior

Status: offline

Registered: 10/28/07
Posts: 5

I did have a GeekLog/Admin/Plugin file path, but the installation instructions said "Create a directory called filemgmt under your public_html/admin/plugins directory" so I created that exact folder path.

I removed all filemgmt files from my server and am starting over.

when you say "create a directory called filemgmt under your public_html directory" do you mean in the public_html folder or do you mean in the GeekLog folder as I discovered that you mean with the admin path?

Thank you for all your wonderful help!


 
Profile Email PM
Quote
Content generated in: 0.34 seconds
New Topic Post Reply



 All times are CDT. The time is now 08:21 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content