You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 54 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - I messed up [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Vilkku
Nuke Soldier
Nuke Soldier


Joined: Aug 22, 2005
Posts: 20


PostPosted: Mon Aug 22, 2005 10:48 am Reply with quoteBack to top

A small problem which I'm sure will be easy to solve:
I uploaded a theme and started to use it, but I noticed I had uploaded the wrong folder so it's messed up now. My question is, how do I change the theme without using the admin panel?
Find all posts by VilkkuView user's profileSend private messageMSN Messenger
elr
Captain
Captain


Joined: Mar 09, 2004
Posts: 329


PostPosted: Mon Aug 22, 2005 12:45 pm Reply with quoteBack to top

If you can't change it back to a default theme in the admin panel, use PHPmyAdmin to go directly to your db and reset it there.

If you move the folders to the "correct" location, the theme might start working ok, or upload a new theme with the same name.
Find all posts by elrView user's profileSend private message
webshark
Sergeant
Sergeant


Joined: Apr 21, 2005
Posts: 106


PostPosted: Mon Aug 22, 2005 2:26 pm Reply with quoteBack to top

save this as a source

Code:
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






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

_________________
Image
Find all posts by websharkView user's profileSend private messageVisit poster's website
Vilkku
Nuke Soldier
Nuke Soldier


Joined: Aug 22, 2005
Posts: 20


PostPosted: Mon Aug 22, 2005 8:16 pm Reply with quoteBack to top

Thanks, you guys are great!
Obviously it's fixed now.
Cheers.
Find all posts by VilkkuView user's profileSend private messageMSN Messenger
webshark
Sergeant
Sergeant


Joined: Apr 21, 2005
Posts: 106


PostPosted: Mon Aug 22, 2005 8:41 pm Reply with quoteBack to top

cheers Cool

_________________
Image
Find all posts by websharkView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.364 Seconds - 375 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::