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, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Strange Error [ ]
 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
djbearcat
Nuke Soldier
Nuke Soldier


Joined: Oct 14, 2003
Posts: 16


PostPosted: Mon Mar 05, 2007 6:24 pm Reply with quoteBack to top

Hello Ladies and Gents Very Happy ,

I am having an issue with a site. I got everything established and everthing looked ok unitl i looked at the very top of my page. I have a line of what seems to be code. I have no idea where it might be coming from. I was hoping that someone might be able to help. The code shows as follows at the top of the webpage:

.menuskin{ position:absolute; background-color:$bgcolor2; border:1px solid black; font:normal 12px Verdana; line-height:18px; visibility:hidden; color:$textcolor1; } .menuskin a{ text-decoration:none; color:$textcolor1; padding-left:10px; padding-right:10px; } #mouseoverstyle{ background-color:$bgcolor1; } #mouseoverstyle a{ color:$textcolor2; } _STYLES_; echo "\n"; ?>

any ideas Sad

Thanks in advance

P.S. I apologize if this has been address prior / i searched as best as I could.
Find all posts by djbearcatView user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Mon Mar 05, 2007 7:59 pm Reply with quoteBack to top

This is stylesheet info, what theme are you using?

And does it happen regardless of theme selection?

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
djbearcat
Nuke Soldier
Nuke Soldier


Joined: Oct 14, 2003
Posts: 16


PostPosted: Mon Mar 05, 2007 8:11 pm Reply with quoteBack to top

Hello and thank you for your response. The theme name is "fiblack3d" and yes it is happening on all of the themes.
Any suggestions?
Find all posts by djbearcatView user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Mon Mar 05, 2007 8:54 pm Reply with quoteBack to top

ok, could you post the header.php and let us know what version of nuke you are running.

Patched? Sentinel? etc

In addition, is this a new site youve setup? or has this just started to happen?

In the first instance I would suspect some sort of issue with your host, and would recomend a change. In the second, have you made any recent changes that may have caused it?

Thanks

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
djbearcat
Nuke Soldier
Nuke Soldier


Joined: Oct 14, 2003
Posts: 16


PostPosted: Tue Mar 06, 2007 6:49 am Reply with quoteBack to top

Thanks again for opting to take a look at this for me. Very Happy
I am using Nuke platinum7.6.b.4v2 (Not patched)
NukeSentinel™ 2.4.2pl1

This is a new site that worked fine on the testing server but when loaded to the actual live server i get the error.
Its really out of the box aside from head graphic and addition of the clanmod.

And the server that is was tested on was linux bases / the server with the error is 2003 server

Heres is my header.php:

<?php

/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */
/* */
/* Copyright (c) 2004 - 2006 by http://www.techgfx.com */
/* Techgfx - Graeme Allan (goose@techgfx.com) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.conrads-berlin.de */
/* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */
/* */
/* Copyright (c) 2004 - 2006 by http://www.nukeplanet.com */
/* Loki / Teknerd - Scott Partee (loki@nukeplanet.com) */
/* */
/* Refer to Nukeplanet.com for detailed information on PHP-Nuke Platinum*/
/* */
/* TechGFX: Your dreams, our imagination */
/************************************************************************/

if (stristr(htmlentities($_SERVER['PHP_SELF']), "header.php")) {
Header("Location: index.php");
die();
}

require_once("mainfile.php");
/*****************************************************/
/* Security - Protector System v.1.15b3 START */
/*****************************************************/
global $admin_file;
if(!eregi("".$admin_file.".php",$_SERVER['SCRIPT_NAME'])) {
require_once("includes/blocker.php"); }
/*****************************************************/
/* Security - Protector System v.1.15b3 END */
/*****************************************************/
##################################################
# Include some common header for HTML generation #
##################################################

$header = 1;
define('NUKE_HEADER', true);

function head() {
/*****************************************************/
/* Security - Sentinel v.2.4.2 START */
/*****************************************************/
global $ab_config, $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
/*****************************************************/
/* Security - Sentinel v.2.4.2 END */
/*****************************************************/
include("includes/ipban.php");
$ThemeSel = get_theme();
include_once("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";

include("includes/meta.php");
include("includes/javascript.php");

if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
}
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
if (file_exists("modules/User_Guide/sentinel.css.php")) {
include_once("modules/User_Guide/sentinel.css.php");
}
echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
if (file_exists("includes/custom_files/custom_head.php")) {
include_once("includes/custom_files/custom_head.php");
}
echo "\n\n\n</head>\n\n";
if (file_exists("includes/custom_files/custom_header.php")) {
include_once("includes/custom_files/custom_header.php");
}
/*****************************************************/
/* Security - Sentinel v.2.4.2 START */
/*****************************************************/
if($ab_config['site_switch'] == 1) {
echo "<center><img src='images/nukesentinel/disabled.png' border='0' width='120' height='34'></center><br />\n";
}
/*****************************************************/
/* Security - Sentinel v.2.4.2 END */
/*****************************************************/
themeheader();
}

online();
head();
include("includes/counter.php");

/*****************************************************/
/* Addon - Center Blocks v.2.1.1 START */
/* Addon - Conditional Blocks v.1.1.1 START */
/*****************************************************/
global $home;
if(defined('HOME_FILE') || $home == 1) {
message_box();
include("includes/cblocks1.php");
blocks(Center);
}
/*****************************************************/
/* Addon - Conditional Blocks v.1.1.1 END */
/* Addon - Center Blocks v.2.1.1 END */
/*****************************************************/

?>
Find all posts by djbearcatView user's profileSend private message
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Tue Mar 06, 2007 7:44 am Reply with quoteBack to top

djbearcat wrote:
Thanks again for opting to take a look at this for me. Very Happy
I am using Nuke platinum 7.6.b.4v2 (Not patched)
NukeSentinel™ 2.4.2pl1

Hello djbearcat Smile Since you are using a moded version of nuke , you might be better off getting support for this at
http://www.futurenuke.com since they are the developers for Nuke platinum now.
Find all posts by hueView user's profileSend private messageICQ Number
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Tue Mar 06, 2007 7:49 am Reply with quoteBack to top

Try removing

if (file_exists("includes/custom_files/custom_head.php")) {
include_once("includes/custom_files/custom_head.php");

IF that doesnt work, then I went and did a quick search of the forums at futurenuke and low an behold this issue has arisen before.

http://www.futurenuke.com/modules.php?name=Forums&file=viewtopic&t=5076

So as hue said it may be worth popping over there for more specialised help.

Thanks

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
djbearcat
Nuke Soldier
Nuke Soldier


Joined: Oct 14, 2003
Posts: 16


PostPosted: Tue Mar 06, 2007 1:24 pm Reply with quoteBack to top

Thanks guys for pointing me in a direction to fix this issue. I also want to thank you for taking the time to do the research to make it so. When i nail down the fix i will post it here to complete the thread so that someone else who may search this forum for the answer might find it if it applies.

Very Happy

Cheers to you all
Find all posts by djbearcatView user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Tue Mar 06, 2007 1:57 pm Reply with quoteBack to top

That would be great.

Thanks

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Loki
Nuke Soldier
Nuke Soldier


Joined: Oct 16, 2003
Posts: 10


PostPosted: Wed Mar 14, 2007 8:59 am Reply with quoteBack to top

remove this section of code.

Code:
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n";
if (file_exists("modules/User_Guide/sentinel.css.php")) {
include_once("modules/User_Guide/sentinel.css.php");
}


There is an issue with the Sentinel User Manual with certain Servers. The manual will work without that addition so just remove it.

O don't remove this section of code or you will have problems with other mods installed.

Code:
if (file_exists("includes/custom_files/custom_head.php")) {
include_once("includes/custom_files/custom_head.php");
Find all posts by LokiView 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.246 Seconds - 50 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::