PN .75 + Coppermine port install error PN .75 + Coppermine port install error
 

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

PN .75 + Coppermine port install error

Started by mikegyvr, November 21, 2004, 10:38:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikegyvr

I need a Guru!  :-)

I am running PN .75 and am trying to install the Coppermine port onto the site.  When I run the install script as instructed, I get the following response:

Fatal error: Call to undefined function: is_admin() in C:\Program Files\Ensim\Sitedata\tracer\Inetpub\wwwroot\modules\coppermine\install.php on line 68

I have double checked the install to make sure that all instructions were followed.  Any ideas?  Suggestions?

Thank You!


Joachim Müller

Although I'm not a nuke expert it seems to me like you didn't upload all files from the coppermine package. Make sure you have extracted the zip file preserving the folder structure, and that you have uploaded all files from the package.

Joachim

GroozeMaster

Well, got the same problem.
As for uploading all the files - I am sure that uploaded as needed.
The mistake was not in 68 but in 67 line, but the same function, soi i think the line doees not matter much.

I decided to delete the condition (there is condition if in the line 67)
if (!is_admin($admin)) {
    echo "You don't have permission to access this file !<p><a href=\"$login_url\">Login as Admin</a>";
    cpgfooter();
    die();
}

The installation went further.
When updating the tables of Postnuke 0.750 only one mistake occured (that may be the matter of another mistake I have seen in the Russian nuke forums at postnuke.ru): install.php tried to insert the information in the table db_name._modules, so that is why sometimes people install the CPG and it does not appear in the administration menu (that is my quess so please do not beat me if I am wrong).
Unfortunately I cannot add the needed information in the table nuke_modules manually, 'cause cannot access the db manager from work ;-). In the evening will try to do that and inform on the results.

After updating all the tables except nuke_modules (as install.php informed me), I changed a install.php having added prefix nuke manually in the file and tried to run it again, but got the message "The install/upgrade has already been run successfuly for "coppermine" and is now locked".
I understood that most of installation is done and decided to access the module directly by link
http://myhost/modules.php?op=modload&name=coppermine&file=index
got the message "Fatal error: Call to undefined function: is_user() in ***/modules/coppermine/include/init.inc.php on line 34"

well, i did not give up :D
I tried to reach the admin menu.
on the link
http://myhost/admin.php?module=coppermine&op=main
I got the message:
Fatal error :
module = coppermine
op = main


on the link
http://myhost/index.php?module=coppermine&type=admin
I got the message:
Failed to load module coppermine (at function: "main")

This is where I stopped, just 'cause I am confused as much as possible :).
Could anybody explain these bugs? Would greatly appreciate.
If any questions appear will give the best answers I can.
Thnx in advance.



GroozeMaster


casNuy

CPGNUKE is no longer supported (see other forums on this site), this forum is for pnCPG which is a different type of integration.
For pnCPG you need the normal Coppermine package somewhere installed on your webserver, preferably not within the modules directory of Postnuke. There you would install pnCPG.
Although less integrated, no pain in installing !!

Cas


MrTeck

I have same problem, but I used coppermine 1.3.2 + pnCPG 2.4

I think I made all steps good, but when I enter in admin to pnCPG24 I get this error:
Failed to load module pnCPG24 (at function: "main")

Module is active, standalone installation working.

I don't know what can be the problem.
Any help are welcome ;)

Tnx, and MERRY XMASS!!  :-*

casNuy

If you let me know where I can see your site, I might be able to tell more. Even better would be if I could have an admin account on your site so I can adjust remotely.
If that is an option, you can send me an email or leave me a PM.

cas