Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Fix a broken theme
Fix a broken theme

1 Replies / 3401 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » How To's

View previous topic :: View next topic


floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 7:57 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Fix a broken theme Posted: Sun Dec 10, 2006 5:02 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

From Codezwiz.com
==================================================================================
Upload a theme and now your whole site is shambles? Save this as themefix.php and upload to your root folder next to your mainfile.php and config.php then point your browser to it. If your not using the DeepBlue theme then replace that with your theme name.(One that you know works)

http://yoursite.com/themefix.php

Code:
 <?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."";
?>

===================================================================================

Always been helpful.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Scorpion
Reputation: 470.9 Add RepSubtract Rep
Local time: 12:57 AM
Location: 30 miles from Carentan
blank.gif



0.15 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 288
Points: 11084 

Post Posted: Sun Apr 15, 2007 10:03 pm

Cool.... nice post Floppy.... very handy info Wink
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » How To's


 
1 Replies / 3401 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum