I had similar problems. I had to adjust how it handled paths.
The plugin looks for the Coppermine configuration file here (line 30 - also see line 28):
[code:1]require("$mosConfig_absolute_path$cpgDir/include/config.inc.php"«»);[/code:1]
where $mosConfig_absolute_path is from your Joomla configuration file and $cpgDir is the path you indicated in the plugin setup as "Coppermine directory."
Next, the plugin creates a link to the album in this manner (line 43):
[code:1]$link="$cpgDir/thumbnails.php?album=".$album->aid;[/code:1]
where $cpgDir is the same as above. It uses the same path structure for the image link.
This logic assumes two things:
- Your Coppermine root directory is directly inside you Joomla root folder. (So, joomla_root/cpg148 or whatever you've named it.) This is how the config file is found.
- Your Joomla root folder is at the root of your web directory (since the path to the configuration file requires you to put a starting /). This is how the album link works.
For my test web site, this isn't true. You may need to adjust the code to fit your directory structure.
EDIT (19.July.2006): The plugin also assumes that your Coppermine uses the same database as Joomla. (pointed out by mwep)
Post edited by: pjoomla, at: 2006/07/19 22:30