Knowledgebase

My PHPNuke shows blank page after theme change

You have to create restore.php file ( the name is an example it can be any name ) on your computer and add the following content:
 

<?php

require_once("mainfile.php");
$theme= "DeepBlue";
$sql = "UPDATE ".$prefix."_config SET Default_Theme = '".$theme."'";
$result = $db->sql_query($sql);
echo "Thanks for using this fix! Your theme has been reset to ".$theme."";

?>
 

Once the file is created you should upload it under the www root folder on your account and visit the following link (if the file is not located under sub-folder of your www root directory ):

http://yourdomain.com/restore.php

Once the above URL is visited the default theme of your php-Nuke will be restored.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Fatal error when trying to uninstall Gallery from Fantastico

Sometimes when you try to uninstall Gallery from Fantastico, you may get the following error:...

How can I see the exact version of my PHP-Nuke?

One way to check your PHP-Nuke version is to look it up directly in the PHP-Nuke database. To do...

Additional phpNuke resources – modules, blocks, themes.

The official phpNuke website. he official phpNuke documentation. The official support forum...

Initial phpNuke installation and configuration.

There are two ways you can install phpNuke on your account: Manually, by downloading the...

Detailed PhpNuke requirements.

The minimal phpNuke server requirements are listed below: PHP 4.1.x or above - http://php.net...

Copyright © 2013<script>new Date().getFullYear()>2010&&document.write("-"+new Date().getFullYear());</script>, HostLantern. All Rights Reserved.