Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Changed profile theme and now the site won't render properly and cannot reset theme...

OK, first off, I'm a user on another site that uses this software http://www.openvmshobbyist.com/news.php. Because of the rendering issues, I cannot determine the version of PHP-Fusion, but the copyright range is 2003-2005. So it is probably very old and unsupported. With that being said, here is my issue and what I'd like to be able to do:

The issue is that I was editing my profile and selecting various themes and refreshing the page. After a couple of them, the page would not render properly (see screen capture_4.png attachment). I am using IE8. See capture_2_1.png attachment for what the developer tools console is reporting.

All I'd like to do is somehow reset the theme back to Default. I'm not sure how to do this. Please help.


Merged on May 27 2016 at 19:57:53:

The more I look at this the more I'm wondering if the pre-processor may have crashed and the raw PHP is being sent to the browser. When I look at the beginning of the source file I see the following:

The attached code has been modified so that it'll actually display correctly (for some reason less-than and greater-than characters are not ignored in a code section [at least in the preview] -- so replace { with a less-than character and } with a greater-than character):

// theme settings
$body_text = "#dddddd";
$body_bg = "#425d7a";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width,$settings,$locale;

echo "{table align='center' width='$theme_width' cellspacing='0' cellpadding='0'}

echo "{table width='100%' cellpadding='0' cellspacing='0'}
{td class='bar-l'><img src='".THEME."images/blank.gif' width='9' height='13' alt='' style='display:block'}{/td}
{td class='bar-m'><img src='".THEME."images/blank.gif' width='1' height='13' alt='' style='display:block'}{/td}
{td class='bar-r'><img src='".THEME."images/blank.gif' width='9' height='13' alt='' style='display:block'}{/td}
{div style='margin:2px;'}{/div}
{table width='100%' cellpadding='0' cellspacing='0' class='border'}
{td class='main-body'}
{table width='100%' cellspacing='0' cellpadding='0'}
{div style='margin:2px;'}{/div}\n";

echo "{table width='100%' cellspacing='0' cellpadding='0' class='border'}\n{tr}
{td class='header1'}\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");

JonBelanger attached the following file:
capture_2_1.png [24.17kB / 32 Downloads]
capture_4.png [61.28kB / 33 Downloads]
go to themes folder and rename the theme
themes / corporate /
rename folder as

and after that you can now configure
should load another theme
Unfortunately, I'm a user , not an administrator.

You need to contact the site admin to fix this for you.
The issue is most likely that short php tags <? is set to off on host, the code will not initiate.
Thanks. That's kind of what I was thinking was going to be the response. Unfortunately, I need to get to the web page to be able to find the URL for the admin email. :|

Visit the site as guest ( another browser if logout does not work) and use the contact form, http://www.openvmshobbyist.com/contact.php
Thread Information
6 posts
1,072 times
Last Post
Last updated on 4 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Talocha, JonBelanger