Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
starflight
New Member
New Member



Joined: Jul 28, 2005
Posts: 6

PostPosted: Thu Jul 28, 2005 7:58 am Reply with quote

Hello,

I have phpnuke installed on my site. Yesterday I created a block for the coppermine module but it has come up with this mysql error on the index.php page right at the bottom:

Warning: main(modules/coppermine/include/load.inc): failed to open stream: No such file or directory in /home/mydragon/mydragonateamazingnoodles.com/html/Spiderman/Lair/blocks/block-CPG-Random_pictures.php on line 32

if you need to see what I am talking about, here is the url:

http://www.mydragonateamazingnoodles.com/Spidermna/Lair/index.php

Fatal error: main(): Failed opening required 'modules/coppermine/include/load.inc' (include_path='.:/usr/share/pear') in /home/mydragon/mydragonateamazingnoodles.com/html/Spiderman/Lair/blocks/block-CPG-Random_pictures.php on line 32

I can not even get into the administration panel to correct this and all I have on the index.php are the blocks set on the left side with the mysql error message at the bottom and a blank space to the right of this.

What do I need to do to correct this please without having to re install it all again.

Is this a missing file?

It is an older version of nuke because I found some of the modules did not work in the newer versions. I cant remember what version but it is either 6.5 or lower for the never ending story module to work.

thanking you in advance.

starflight
 
View user's profile Send private message
CurtisH
Life Cycles Becoming CPU Cycles



Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Thu Jul 28, 2005 8:19 am Reply with quote

Looks like you are getting the error because the path is wrong for that particular include.

If I am not mistaken that include path should be:

./modules/coppermine/include/load.inc

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
starflight







PostPosted: Thu Jul 28, 2005 11:14 am Reply with quote

hello,

can I fix this calling up the file in an html editor and then re ftp it to the folder? because I am unable to access the administration it is stuck on the index page and wont even go into the admin panel

this problem was mended for me before but I did not think it would happen again with another module. Sigh.

thanks

starflight
 
starflight







PostPosted: Thu Jul 28, 2005 11:19 am Reply with quote

oops forgot to add too what file do I need to check in and roughly what line in the file do I need to look at please?

I have called up include/load.inc; the blocks file for the cpg gallery and config.php which one do I need out of the 3 please?

thanks starflight Smile
 
CurtisH







PostPosted: Thu Jul 28, 2005 11:19 am Reply with quote

Yes you should be able too. You can also gain access by renaming the block using FTP, which will cause the block to say "There is a problem with this block"
 
starflight







PostPosted: Thu Jul 28, 2005 11:29 am Reply with quote

also thought I would add this in : this is line 32 in the blocks file

$cpg_block = true;
require("modules/".$cpg_dir."/include/load.inc");
$cpg_block = false;

is this where I need to change it to?

thanks starflight
 
starflight







PostPosted: Thu Jul 28, 2005 11:42 am Reply with quote

okies thanks Smile.

I tried to change the file name, the ftp client got stuck on highlight and for some reason changed it to a folder but this has done the trick anyway Smile.

thanks kindly for your help

starflight Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©