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.
Not a member yet? Click here to register.
Forgot Password?

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

Asked Modified Viewed 1,821 times
J
JonBelanger
J
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

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 PHPFusion, 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.

~Jon.

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'}
{tr}
{td}\n";

echo "{table width='100%' cellpadding='0' cellspacing='0'}
{tr}
{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}
{/tr}
{/table}
{div style='margin:2px;'}{/div}
{table width='100%' cellpadding='0' cellspacing='0' class='border'}
{tr}
{td class='main-body'}
{table width='100%' cellspacing='0' cellpadding='0'}
{tr}
{td}$header_content{/td}
{/tr}
{/table}
{/td}
{/tr}
{/table}
{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");
Edited by JonBelanger on 27-05-2016 19:59,
JonBelanger attached the following file:
capture_2_1.png [No information available / 92 Downloads]
capture_4.png [No information available / 103 Downloads]
0 replies

5 posts

T
Talocha
T
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 10 threads in the forums
answered
Member

go to themes folder and rename the theme
example
themes / corporate /
rename folder as
corporate_ERROR

and after that you can now configure
should load another theme
0 replies
J
JonBelanger
J
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Unfortunately, I'm a user , not an administrator.

~Jon.
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

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.
0 replies
J
JonBelanger
J
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

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

~Jon.
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Visit the site as guest ( another browser if logout does not work) and use the contact form, http://www.openvmshobbyist.com/contact.php
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
T
T
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 10 threads in the forums
J
J
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet