phpBBHacks.com - OOOoops! Messed up Board Style SubSilver
Talk martial arts at KarateForums.com
Facebook
Since 2001
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Templates and Graphics Support
 See a User Guidelines violation? Please contact us.
Author Message

texacoon
New User

Joined: 05 Jan 2007
Posts: 1

PostPosted: November 20th 2009, 7:43 pm    Post subject: OOOoops! Messed up Board Style SubSilver Reply with quote

How about this one... man! what a shame ..

Ended up loading a corrupted template to change board colors.

SilvRed was the script .. Something must have happended in the FTP when uploading or downloading ...

When I went to install .. all went well ..
When I used it under my profile (it's Admin)

I now gives me an error page stating:

phpBB : Critical Error

Could not open Alternative_templates template config file

DEBUG MODE

Line : 513
File : functions.php


I can not get back into the system as admin but I can get in as a regular user under a different screen name in the SubSilver profile.

Never had this happen before and not sure what to do without asking first...

Thanks for any replys ...
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 15894
Location: Harbinger, NC, U.S.A.

PostPosted: November 22nd 2009, 5:40 pm    Post subject: Reply with quote

Hello and welcome, texacoon.

What is SilvRed? Hopefully this information will help other members to help you.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: November 22nd 2009, 8:50 pm    Post subject: Reply with quote

"Alternative_templates" is the folder it is looking for with a config file in that folder.
did you have your new style named that?

either upload exactly what the board is looking for,
or try this:

copy the following into a text file and name it fix.php
upload to your server and run in your browser:
Code:
<?php

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);

echo '<h1>reset style to subSilver</h1><BR><BR>';

if( !defined("PHPBB_INSTALLED") )
{
   echo 'Error: phpBB is not Installed!';
   die;
}

if( ($dbms != 'mysql') && ($dbms != 'mysql4') && ($dbms != 'mysqli') )
{
   echo 'Error: This Fix only works with a MySQL Database';
   die;
}

$db = mysqli_connect($dbhost,$dbuser,$dbpasswd);

if(!$db)
{
   echo 'Error: Could not connect to the MySQL Server';
   die;
}

$dbs = mysqli_select_db($dbname);

if(!$dbs)
{
   echo 'Error: Could not select Database';
   die;
}
echo 'Updating default style';

echo '<br>';

$query = "UPDATE ".CONFIG_TABLE." SET config_value = '1' WHERE config_name = 'override_user_style' LIMIT 1";
$result = mysqli_query($query,$db);

echo 'Updating Override User Style: ';

if(!$result)
{
    echo '<font color="#FF0000">FAILED</font>';
}
else
{
   if(mysqli_affected_rows($db)=='0')
   {
      echo '<font color="#999999">NOT UPDATED</font>';
   }
   else
   {
      echo '<font color="#009933">SUCCESS</font>';
   }
}

echo '<BR>';

$query = "UPDATE ".CONFIG_TABLE." SET config_value = '1' WHERE config_name = 'default_style' LIMIT 1";
$result = mysqli_query($query,$db);

echo 'Changing Default Theme ID: ';

if(!$result)
{
    echo '<font color="#FF0000">FAILED</font>';
}
else
{
   if(mysqli_affected_rows($db)=='0')
   {
      echo '<font color="#999999">NOT CHANGED</font>';
   }
   else
   {
      echo '<font color="#009933">SUCCESS</font>';
   }
}

echo '<BR><BR><b>Delete this File from your Server!</b>';

die;
?>

_________________
here is my sig file.......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Templates and Graphics Support All times are GMT - 6 Hours
Page 1 of 1
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2010. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.