PHP-Nuke 7.6 installation error, access denied

Lyttek

Well-Known Member
Jan 2, 2004
775
5
168
I'd previously installed php-nuke 6.9 manually and decided to upgrade. Version 7.6 was now available on the add-on scripts page in CPanel. I backed up the database, deleted all the files, the database, everything, and installed using the scripts manager.

It appeared to go fine, and even saw the homepage for php-nuke. Attempting to access the administration page to create the super user got me a blank page with a simple message: Access Denied.

permissions were mostly ok... a couple of files were set to 644 instead of 666, but that's all. Turns out that the install script didn't change the following line in config.php:

$domainname = "www.yourdomainname.com";

Changing that to fit the domain name of the installation, it works fine now.

Anyone else have this problem? Permanent fix?
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
i got the same problem but also with the /admin.php any fixes
 

a66fm

Well-Known Member
Jul 12, 2003
78
0
156
Greece
open your config.php file and insert this line
PHP:
$domainname = "www.yourdomainname.com";
after the $sitekey