loading coppermine into postnuke - Page 2 loading coppermine into postnuke - Page 2
 

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.

casNuy

Let's start at the beginning, what exactly have you downloaded and where did you install it ?
Copperine and pnCPG are 2 different products where Coppermine is the standalone gallery and pnCPG takes care of the integration.
First install Coppermine as if you did not had Postnuke and make sure is does exactly what you want. As soon as that works, install pnCPG to integrate the gallery with Postnuke.

Cas

screamingreen

well apparently i downloaded the latest versionof coppermine and pnCPG, and i installed it to my modules directory of postnuke, thinking thats where it would go. and as a standalone, yes it worked fine, however when trying to integrate it into postnuke, i got now results except the ones shown above. i have since done a total restructuring of my site, but ill give that idea a try, any other ideas for successful operation, please let me know, this drives me crazy sometimes.

screamingreen

ok i got the gallery installed and working standalone, the pnCPG is working with the random images only, when you click on the random images you get 404, and when you click on the "Photo Gallery" link you get 404 as well. in the readme file for pnCPG it says:

4.  Go to the AdminPanel and set the directory of Coppermine
5.  Link the module into a menu block as : {pnCPG}
        or as :
        {pnCPG:main&task=users} to have a direkt link into a users gallery
6.  Make this link only available to Registered Users through Permissions (unless you allow guest access).
7.  Add a new block and set your preferences for that

i completed step 4, now step 5 has me a bit confused, i dont understand how to link a module to a block. or where to go to do that even. i think maybe once i get that figured out, ill be good to go possibly. ill keep you updated i guess. i have made the nessicary html code changes to the specified php pages and uploaded them as well.

casNuy

If you get a 404, it looks like you did not copy the index_pn.php correctly.

Cas

screamingreen

no i got it copied in both places. the coppermine root and pnCPG:

[root]/azsportbikes.org/coppermine/index_pn.php <-- coppermine root
[root]/azsportbikes.org/html/modules/pnCPG/pndocs/index_pn.php <--- site module

is it possible that the /html/ dir has something to do with it maybe?

casNuy

What is the setting for Coppermine within the admin settings of pnCPG ?

Cas

screamingreen

its set to [root] /azsportbikes.org/coppermine

is set that way because the servers root is actually [root] /azsportbikes.org

casNuy

so it is set to :
Quote/azsportbikes.org/coppermine

If not, change it as above and try again.

Cas

screamingreen


screamingreen


casNuy

If you click on the link in the menu , what is the address in the address bar ?
can you copy & paste that in a message ?
Cas

screamingreen

thats jsut the thing, i cant put it in the menu because there is no link to create, the only thing i can do is the random pics and the scrolling pics, i have no option for a block to link to the gallery

casNuy

Go to the admin section of Postnuke, select Blocks and next select Main Menu and add the link to the menu as  {pnCPG}
Once saved,you should have a link in the menu.

Cas

screamingreen

yeah ive done that too, and to bno avail... i still get the 404 error. i even jsut now did it if you want to look

screamingreen

i did that and to no avail, it still doesnt work connecting the thumbs or the a link to the pnCPG

heres the results:

http://www.azsportbikes.org/html/index.php?module=pnCPG&func=main

casNuy

You have to set the location of Coppermine to

Quote/coppermine

Also change the home-page link of Coppermine which is now set to :
http://azsportbikes.org/index.php?module=pnCPG&func=main

this is wrong also.

Cas

screamingreen

i cant set the directory to /coppermine cuz of the server, it has to be /azsportbikes.org/coppermine

casNuy

I suppose you tried that and it did not work, well then it has to be http://www.azsportbikes.org/coppermine
or
http://azsportbikes.org/coppermine

Cas

screamingreen

ok with the first one http://www.azsportbikes.org/coppermine that makes the thumbs work but when i change it to the second one the thumbs dont work... however with either the gallery doesnt link. the gallery does work if i link it directly from the page as seen in the yellow text with the cyan link. that does work no problems, its just i think its a server issue because of the root permissions i dont have

screamingreen

ok when i use http://www.azsportbikes.org the thumbs work and all but when i change it to just http://azsportbikes.org the thumbs dont work, i think that the reason i dont get the link working right is because of the directory restrictions to /azsportbikes.org where as i cant do /coppermine off the root directory