>>
Site Map
>>
Forums
>>
Installation 6x
Forum module - topics in forum:
Installation 6x - Discussions regarding PHP-Nuke Installation and Configuration.
Trouble adding second nuke site
I'm having a weird problem installing a second phpnuke V6.9 site on my server. A clean install gives the following error, when browsing to index.php or admin.php or anywhere else:
Warning: Failed opening 'themes//theme.php' for inclusion (include_path='') in /....../web/header.php on line 31
Fatal error: Call to undefined function: themeheader() in /.../header.php on line 47
I even totally duplicated my good site (except config.php) to the new site and still get the error. The new database is setup ok with quite different users and prefixes.
One odd thing is if I just copy config.php from the good site to the second it works fine using the good sites database. All permissions are fine as well.
Can anyone help?
Its either a config.php issue or a database issue.
Load up the conntest and anazlye (link below) to the same place as the config.php for the second site and run the from your browser in that order and they should tell you whats wrong.
Probibly the tables arnt installed or pointing to the wrong database
Problem solved. The solution was in config.php to set $prefix and $user_prefix back to "nuke", which I assume is the default. I had set them to a different value to match the new database. For all my new sites I'll keep these as the default.
The error messages were not obvious clues as to this prefix problem, but now I know!
The conntest tool is a good confidence check as well.
Thanks for your help.
Good stuff, glad your sorted