I figured this would happen - nothing can ever be that easy - hehe.
So I followed the direction to a T - but I ran into an error as soon as I tried to run the installation file.
I'm running PHPNuke 6.5 and had CPG 1.1D running with no problems...
Here are some of the errors I'm getting (any help will be appreciated!):
Warning: Failed opening 'modules/coppermine/include/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vivrant/www/content/modules/coppermine/index.php on line 29
Warning: Failed opening 'modules/coppermine/include/init.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vivrant/www/content/modules/coppermine/index.php on line 45
Fatal error: Call to undefined function: breadcrumb() in /home/vivrant/www/content/modules/coppermine/index.php on line 144
change line 29 of index.php into:
include('include/config.inc.php');
and see if error still occures for that line.
Ehm what has that install error to do with your post ?
Quote from: "DJMaze"change line 29 of index.php into:
include('include/config.inc.php');
and see if error still occures for that line.
Ehm what has that install error to do with your post ?
Hey DJMaze - I tried out what you suggested - I changed this line:
include('modules/'.$name.'/include/config.inc.php');
to this:
include('/include/config.inc.php');
The error now is:
Warning: Failed opening '/include/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vivrant/www/content/modules/coppermine/index.php on line 29
What do you think?
remove first slash in include('/include/config.inc.php');
is i wrote above it should look like this: include('include/config.inc.php');
Quote from: "DJMaze"remove first slash in include('/include/config.inc.php');
is i wrote above it should look like this: include('include/config.inc.php');
DJMaze - thanks for all the help... I removed the slash, but still I am getting a similar error:
Warning: Failed opening 'include/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vivrant/www/content/modules/coppermine/index.php on line 29
TRY:
require_once("../../mainfile.php");
No that won't work check that file and see if it's there by
using an absolute path for each error
'/home/vivrant/www/content/modules/coppermine/include/config.inc.php'
If above doesn't work test this instruction by reverting the folder to chmod 0777 this may be for windows servers only:
Quote* chmod "modules/coppermine/include" folder back to 744
Here's the error I get now:
Warning: Failed opening '/home/vivrant/www/content/modules/coppermine/include/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vivrant/www/content/modules/coppermine/index.php on line 29
Right now I have chmod 777 on config.inc.php
The line in the install.php file now reads: include('/home/vivrant/www/content/modules/coppermine/include/config.inc.php');
I double checked and I'm make sure the absolute path is corrrect at this point.
For background - all I did was download the zip file, unzip, and upload all the contents to their appropriate directories... if any of you guys are on AIM or MSN, and have time, drop me a line! MY SN on both is rhydewithdis
Thanks - and any other options I could try?
the include should start at the root dir of the web - so in your case try
include("modules/coppermine/include/config.inc.php");
that worked for me .-.-.-
The problem of rhydewithdis is solved after i was digging in his files.
It seems the phpNuke 6.5 mainfile.php file has a bug.
If you use our install.php then insert above Line 21 ($inside_mod = 1; ) the following line:
define('inside_mod', 1);