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?

how to remove it

Locked Asked Modified Viewed 2,010 times
T
The Tooth Fairy
T
The Tooth Fairy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
asked
Junior Member

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; Firefox, Safari, Opera, Chrome or a version of Internet Explorer newer then version 6.

how to remove it?
0 replies

8 posts

A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Enable java-scrip in your browser.
0 replies
T
The Tooth Fairy
T
The Tooth Fairy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

how to remove it from the system?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

themes/templates/panels.php :)
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Replace theme/templates/panels.php with the below code


[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: panels.php
| Author: PHPFusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }

// Add admin message
$ad_mess = array(); $admin_mess ='';
if (iADMIN && !defined("ADMIN_PANEL"wink) {
$admin_mess .= "<a id='content' name='content'></a>\n";
if (iSUPERADMIN && file_exists(BASEDIR."setup.php"wink) $ad_mess[] = $locale['global_198'];
if ($settings['maintenance']) $ad_mess[] = $locale['global_190'];
if (!$userdata['user_admin_password']) $ad_mess[] = $locale['global_199'];
if (!empty($ad_mess)) {
$admin_mess .= "<div class='admin-message'>";
foreach ($ad_mess as $message) {
$admin_mess .= $message."<br />\n";
}
$admin_mess .= "</div>\n";
}
}

//$admin_mess .= "<noscript><div class='noscript-message admin-message'>".$locale['global_303']."</div>\n</noscript>\n<!--error_handler-->\n";


// Declare panels side
$p_name = array(
array('name' => 'LEFT', 'side' => 'left'wink,
array('name' => 'U_CENTER', 'side' => 'upper'wink,
array('name' => 'L_CENTER', 'side' => 'lower'wink,
array('name' => 'RIGHT', 'side' => 'right'wink
);

// Get panels data to array
$panels_cache = array();
$p_result = dbquery("SELECT panel_name, panel_filename, panel_content, panel_side, panel_type, panel_access, panel_display, panel_url_list, panel_restriction FROM ".DB_PANELS." WHERE panel_status='1' ORDER BY panel_side, panel_order"wink;
while ($panel_data = dbarray($p_result)) {
if (checkgroup($panel_data['panel_access'])) { $panels_cache[$panel_data['panel_side']][] = $panel_data; }
}

$url_arr = array();
foreach ($p_name as $p_key => $p_side) {
if (isset($panels_cache[$p_key + 1]) || defined("ADMIN_PANEL"wink) {
ob_start();
if (!defined("ADMIN_PANEL"wink) {
if (check_panel_status($p_side['side'])) {
foreach ($panels_cache[$p_key + 1] as $p_data) {
$url_arr = explode("\r\n", $p_data['panel_url_list']);
if ($p_data['panel_url_list'] == ""
|| ($p_data['panel_restriction'] == 1 && (!in_array(TRUE_PHP_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""wink, $url_arr) || !in_array(TRUE_PHP_SELF, $url_arr)))
|| ($p_data['panel_restriction'] == 0 && (in_array(TRUE_PHP_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""wink, $url_arr) || in_array(TRUE_PHP_SELF, $url_arr))))
{
if (($p_data['panel_side'] != 2 && $p_data['panel_side'] != 3)
|| $p_data['panel_display'] == 1 || $settings['opening_page'] == START_PAGE)
{
if ($p_data['panel_type'] == "file"wink {
if (file_exists(INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php"wink) {
include INFUSIONS.$p_data['panel_filename']."/".$p_data['panel_filename'].".php";
}
} else {
eval(stripslashes($p_data['panel_content']));
}
}
}
}
unset($p_data);
}
} else if ($p_key == 0) {
require_once ADMIN."navigation.php";
}
define($p_side['name'], ($p_side['name'] === 'U_CENTER' ? $admin_mess : ''wink.ob_get_contents());
ob_end_clean();
} else {
define($p_side['name'], ($p_side['name'] === 'U_CENTER' ? $admin_mess : ''wink);
}
}
unset($panels_cache);

if (defined("ADMIN_PANEL"wink || LEFT && !RIGHT) {
$main_style = "side-left";
} elseif (LEFT && RIGHT) {
$main_style = "side-both";
} elseif (!LEFT && RIGHT) {
$main_style = "side-right";
} elseif (!LEFT && !RIGHT) {
$main_style = "";
}
?>[/syntaxhighlighter]
0 replies
T
The Tooth Fairy
T
The Tooth Fairy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

I want to remove WARNING: An error occurred while parsing the page. Please see PHPFusion's error log for more details.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

It's only for admins.
0 replies
T
The Tooth Fairy
T
The Tooth Fairy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions
answered
Junior Member

how to remove it?
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

We already answered you in another thread.

Locked.
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

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

5 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
A
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
T
T
The Tooth Fairy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 5 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet