>>  Site Map >>  Forums >>  General 6x

Forum module - topics in forum:



General 6x - Discussions reagarding any other PHP-Nuke Problems.



Site/Host Transfer errors in header.php

Hi guys i'm trying to move a firends site over to a new host i've installed nuke 6.9 as this is the one to be transfered over, i've uploaded his db to the new one now i'm getting these errors

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home2/pktest/public_html/header.php on line 31

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/pktest/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home2/pktest/public_html/header.php on line 49

Line 31 is as follows
include("themes/$ThemeSel/theme.php");

Line 49 is as follows
themeheader();

The theme.php for my theme is there i've also tried the theme fix on every theme installed on nuke even the default ones.

Any help appreciated






See http://phpnuke-uk.net/modules.php?name=Forums&file=viewtopic&t=1165






Sorry should have said i tried that, the site works fine until i restore the db and upload the extra files for coppermine etc






Well try to do the restore minus the nuke_config table.






nope still nothing, its getting annoying now..lol, there must be an easy way to move the site and db to a new host, any ideas?






Have you edited the config.php to relect the new database settings, cna you post an analize link (link below) so we can have a look.






I created a database and installed nuke 6.9, installed the theme that the old site uses, then i've done it 2 ways, upped the whole old site -config.php, then restored the db table by table, 2nd way i just restored the nuke tables and left out extra studd, choronos, vwar etc but still get the same error, i've run analaye.php and it just tells me my cms is old which i knew and was do the sql upgrade when i could successfully restore this 7mb db.

Any help transfering this site over would be much appreciated, is there any guides i've missed? or anything like that.

Thnx Guys.






Anyone have any ideas?






Ok I am lost.

If you are trying to change hosting companies, you need to download your entire site to you hard drive, then upload those files up to the new hosting service.

Dump your old database into a SQL file, then dump that file into a database on your new hosting account.

Finally, edit your config so that the it has the username and pass and database name and so on of the new hosting, upload that and go to your index page and thats it your site should be working.

If you are trying to do something else let me know




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS