Advanced search  

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]

Pages: [1] 2 3   Go Down

Author Topic: loading coppermine into postnuke  (Read 25713 times)

0 Members and 1 Guest are viewing this topic.

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« on: October 31, 2003, 07:38:19 pm »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #1 on: October 31, 2003, 08:38:04 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #2 on: October 31, 2003, 09:32:42 pm »

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.
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #3 on: October 31, 2003, 09:44:24 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #4 on: November 01, 2003, 03:13:06 pm »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #5 on: November 01, 2003, 03:28:40 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #6 on: November 01, 2003, 04:21:31 pm »

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??
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #7 on: November 01, 2003, 04:25:34 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #8 on: November 01, 2003, 04:44:47 pm »

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?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #9 on: November 01, 2003, 04:59:35 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #10 on: November 01, 2003, 05:05:17 pm »

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.
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #11 on: November 01, 2003, 05:13:32 pm »

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
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #12 on: November 01, 2003, 05:15:45 pm »

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!!
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #13 on: November 01, 2003, 05:17:25 pm »

So why would you want Postwrap ?

cas
Logged

halyfax

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
loading coppermine into postnuke
« Reply #14 on: November 01, 2003, 05:38:39 pm »

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.
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #15 on: November 01, 2003, 05:45:06 pm »

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
Logged

skubwa

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
loading coppermine into postnuke
« Reply #16 on: November 05, 2003, 08:33:54 am »

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.
Logged

skubwa

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
loading coppermine into postnuke
« Reply #17 on: November 05, 2003, 04:24:07 pm »

Hi again,

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

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
loading coppermine into postnuke
« Reply #18 on: November 07, 2003, 04:05:39 pm »

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

Cas
Logged

screamingreen

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
having sort of the same problem only a little different
« Reply #19 on: March 20, 2004, 02:02:42 am »

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!!!!!!!!!!!!!
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.035 seconds with 19 queries.