Coppermine Fetch with SMF And Joomla Patch Login Coppermine Fetch with SMF And Joomla Patch Login
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine Fetch with SMF And Joomla Patch Login

Started by gmeleski, October 07, 2006, 11:51:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gmeleski

My website is Blue Sky Records. It has been around along time using Mambo/Joomla.

Well I am in the process of a complete upgrade. I installed the latest Joomla along with both the SMF (Simple Machines Forum) login patch AND the Coppermine patch (for users).

It works perfectly. You can see it in full operation at www.blueskyrecords.com/index.php.
(Well, except for the errors noted below)

I installed cpmfetch 1.64 with NO problem. Did the test and it worked perfectly.

However, if I install a MODULE that displays a random image, the module works perfect, the image is diplayed but I get a fistfull of database errors now on my SMF login. But the login STILL works ?? Would you be interested in at least looking and hazard a guess as to what is going on. Thank you very much.

I believe that it has something to do with cpmfetch?

Here is the "Module" that is doing the display work

<?php
/**
* @copyright (C) 2006 EStructure Solutions
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
**/

//begin validation
defined( '_VALID_MOS' ) or die( 'Restricted access' );
//end validation

//begin module parameters
$gallery     = $params->get('gallery');
$cpmFetch    = $params->get('cpmFetch');
//end module parameters

$options = array('subtitle' => '<font style:"font-size: 8pt;">%t <br>Uploaded by: <b>%o</b></font>');

echo "<center>";
include $cpmFetch."/cpmfetch.php";
$objCpm = new cpm($gallery);
$objCpm->cpm_viewRandomMedia(1,1, $options);
$objCpm->cpm_close();
echo "</center>";

?>
<center><a href="http://dev.sirronald.com"><font style="font-size: 7pt;">CaptainRon's Modules</font></a></center>

website: www.blueskyrecords.com/index.php

http://www.blueskyrecords.com/cpmfetch/cftest.php

cpmfetch 1.64

Gary Meleski

vuud


Hello!

Before I spend a lot of time trying it, can you run it without the cpmfetch->close() statement?

That will close a database connection that smf (or whatever) may require...

Seen it before.

If that does not work, post back and I will try to do more
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

gmeleski

Quote from: vuud on October 10, 2006, 05:09:49 AM
Hello!

Before I spend a lot of time trying it, can you run it without the cpmfetch->close() statement?

That will close a database connection that smf (or whatever) may require...

Seen it before.

If that does not work, post back and I will try to do more

That seems to have worked perfectly ! :)

I thank you very much for your support.

The login works as it should as does everything else.

Gary Meleski
Blue Sky Records

vuud

Quote from: gmeleski on October 10, 2006, 11:47:44 AM
That seems to have worked perfectly ! :)

I thank you very much for your support.

The login works as it should as does everything else.

Gary Meleski
Blue Sky Records

Excellent.  PHP will close open db connections when the script ends, but I like to wrap up loose ends myself.  In this case, if the connection is not in a different database, PHP uses the existing connection, then the close shuts that down.

Glad to see it worked!


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

aravot

Quote from: vuud on October 10, 2006, 05:09:49 AM
Before I spend a lot of time trying it, can you run it without the cpmfetch->close() statement?

I have the same problem by 'cpmfetch->close()' statement you mean this line '$objCpm->cpm_close();' of code?

vuud

Quote from: aravot on October 27, 2006, 01:55:58 AM
I have the same problem by 'cpmfetch->close()' statement you mean this line '$objCpm->cpm_close();' of code?

Yeah, thats the one...

Sorry for the confusion!
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco