News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

PHPNuke 6.8 and CPG 1.1D Blank Page

Started by baaka, November 14, 2003, 08:18:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

baaka

I am using PHPNke 6.8 and am trrying to add Coppermine gallery to it with the php port. I copied the modules dir to my webserver the is hosted and set the permissions on the alblums dir. I have modified the config.inc.php file with my database information and imported the sql tables into my MySql server. I activated the module in PHPNuke and it shows up but when I call any of the links from this point I get a blank page "no errors nothing" I have provided a link to my site. Please let me know if I have missed anything.

 http://jaxracquetball.baaka.com/modules.php?name=coppermine

gtroll

Hmm you did somethin wrong..
Is the folder coppermine in the modules dir?
Did you make sure to use the For phpnuke6.5 folder?
are the cpg_ tables in your nuke db?

baaka

Is the folder coppermine in the modules dir? Yes I placed the coppermine modules folder under modules as you can see in the link

Did you make sure to use the For phpnuke6.5 folder? Yes I used the 6.5

are the cpg_ tables in your nuke db? and I verified that the tables are in my mysql database.

DJMaze

Quote from: "baaka"and I verified that the tables are in my mysql database.

mysql database and nuke database are 2 seperate things.

MySQL contains databases which contain tables.

The database that contains "nuke_*" also needs to have the "cpg_*" tables.

So create a test.php file in your main nuke folder including:
<?php
require_once&#40;"config.php"&#41;;
require_once&#40;"db/db.php"&#41;;

$sql "SELECT * FROM cpg_config";
$result $db->sql_query&#40;$sql&#41;;
if &#40;!$result&#41; die&#40;mysql_error&#40;&#41;&#41;;
else &#123;
    
echo "<html><body><table border=1>";
    while&
#40;$row = $db->sql_fetchrow&#40;$result&#41;&#41; &#123;
      
echo "<tr>";
        foreach &
#40;$row as $value&#41; &#123;
          
echo "<td>".$value."</td>";
        &
#125;
      
echo "</tr>";
    &
#125;
    
echo "</table></body></html>";
&
#125;
?>


And open in your browser http://jaxracquetball.baaka.com/test.php
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

baaka

Thanks for the code I created the php file and ran the code and here is the results


You can't access this file directly...

baaka

Ok put test.php in the coppermine folder and got the above results! After putting it in my main PHPNuke folder I got some output you can view it at the link provided

http://jaxracquetball.baaka.com/test.php