loading coppermine into postnuke loading coppermine into postnuke
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

loading coppermine into postnuke

Started by halyfax, October 31, 2003, 07:38:19 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

halyfax

What are the steps to load coppermine into postmuke as a module?
DO I create a new database for coppermine?

I cannot find any docs in the coppermine install on postnuke.

I want my users to be able to access coppermine within postnuke as a module.

Thanks

peter

casNuy

You can install coppermine within the modules directory of Postnuke and also use the same database. Once that is working, you can start installing the pnCPG module as described in the readme.
Version 1.5 of pnCPG is on it's way.

Cas

halyfax

So when it asks for sql database and sql username on the install.php I type in the same database and user as the postnuke database and all the files should be located within the modules directory?

Am I getting this correct??

p.

casNuy

Yes, this correct. use the same database and database user/password.

Directory structure should look like :

Postnuke-home
                   includes
                   modules
                            coppermine  
                            pnCPG
                   themes

etc...

Cas

halyfax

I will try that although my structure is as follows

postnuke home
modules
coppermine
pncpg
themes

there is no modules directory within my includes directory?  Do I place it in modules under postnuke home, or create a new modules directory within includes?

thanks again

casNuy

Shit, my formatting got lost.
No just place it the modules directory from postnuke.
This is how i meant it :
Postnuke-home
==>includes
==>modules
======>coppermine
======>pnCPG
==>themes

Hope this clarifies it.


Cas

halyfax

loaded and initialized

Where do I do this step?
4.  Go to the AdminPanel and set the directory of Coppermine

What admin panel? (in postnuke admin) and what do you mean Set the directory?

When I add pnCPG to the block, it adds the link but it goes no where

the link look like modules.php?op=modload&name=PostWrap&file=index&page=http://yoursite.com/CPG/index_pn.php?parm=Admin%7C0%26check=46c3129c895b113ce47d12102f5689db

where do I adjust this??

casNuy

Go to the adminsection of Postnuke, there you will find an admin section for pnCPG. That is where you make the definitions.

The directory you have to set in there, is the path to your original coppemine installation, in your case 'modules/coppermine' most likely will do.

Cas

halyfax

Stil not working.  I got the adminpanel working now..

but still....

http://www.theagora.ca/php/modules.php?op=modload&name=pnCPG&file=index&url=modules/coppermine/index_pn.php?parm=Admin%7C1%26check=595012f296ad684ef1739eec6ca0700a

is it looking for the index_pn.php file?  in the pndocs readme.txt  it says to put this file into the include directory?

any advice?

casNuy

I did post a note with the download stating that the readme contains a mistake. The index_pn.php goes into the root of the coppermine directory.

Cas

halyfax

So now what?  I removed the files from includes dir and copied it into the coppermin root directory?  the modules/coppermine path still doesn't link me?

If I click the post wrap I get a blank page, and if I choose full screen I get illegal usage?

helppp.  am I totally lost did I do something wrong?

sorry for the confusion

p.

casNuy

First of all, go back to the admin section and uncheck the option to use Postwrap.
have another go.
If it staill fails, leave me your e-mail address and I will send you the latest version (still in Beta) which has new functionalities.
I am watching your site, so can see what happens.

Cas

halyfax

Thanks so much

I changed the pnuser.php file to if

($CPGwindow == 1 ) {
 $url="$CPGloc/index_pn.php?parm=$parm&check=$check";
 Header('Location: '.$url );
 } else {
 

to fix the illegal usage, and it works in full screen, although I would like the option of postwrap

Great work by the way!!

casNuy

So why would you want Postwrap ?

cas

halyfax

I also use a forum, and I like that it opens in a frame so all the menu's links are always visable.  With the new window, the user has to use the history or back button to get back home.

p.

casNuy

Same functionality is available without PostWrap but you can make the choice , that's wat it is there for.

have made available version 1.5, for now available on my website but should be available soon here as well.

cas

skubwa

Hi, I'm completely new to PN. I have just installed PN today, and have a good feel for it. I'm not much of a programmer, which is why I chose PN.

I seem to be having the same problem installing this hack. Where exactly is the root directory for Coppermine?

Here is what I have right now in my directory.

html/modules/Coppermine/pnCPG/index_pn.php

But, when I click in Coppermine the admin panel (which seems to be installed, initialized and activated correctly) I get the following message...

Failed to load module Coppermine ( At function: "main" )

Any help appreciated. This looks like a great thing, so I hope it all works out.

skubwa

Hi again,

I got it all loaded, but still have display errors. I'll put those questions in another forum.  :oops:

casNuy

What type of display errors, can I see them somewhere ?

Cas

screamingreen

my problem is similar to this one except that i have the module, however when i click on it to open it, i get this error:

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/screamin/azsportbikes.org/modules/coppermine/include/init.inc.php on line 135

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/screamin/azsportbikes.org/modules/coppermine/include/init.inc.php on line 135

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/screamin/azsportbikes.org/modules/coppermine/include/init.inc.php on line 135

--
im not exactly sure what this means however i have an idea that it might be close to the same thing. also i do not have a pnCPG directory. do i need to create this?
--
nor do i have index_pn.php
im almost completely lost now, however i am willing to try this as the gallery itself is astoundingly amazing compared to the ones i have seen previous. my goal is to duplicate the gallery found here:

http://scorpio.lunarpages.com/~vertic2/modules.php?name=coppermine

i know that this site is running off a seperate server for the gallery apparently or something like that, however i would like the gallery to come up within the site like that so the menu can remain on the left for visitors.

the results can be found on my site [ www.azsportbikes.org/index.php ] by selecting the PHOTO GALLERY link from the menu.
HELP PLEASE!!!!!!!!!!!!!