Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Tue Mar 31, 2009 8:28 am Reply with quote

This may NOT be a theme related issue, but there really isnt a general topic for my issue. Okay so I've been working on a "new" theme and Ive been up all night validating and fixing errors.

Well this one stumped me and doesnt seem to be theme related, but I also cant find it anywhere and after tearing through what seems like every possible file on my server, was hoping someone knows what this script is or what it could be from, or whats calling it in the first place.

Code:


# <SCRIPT LANGUAGE="JavaScript">
# <!-- Begin
# function win ( pwidth, pheight, pleft, ptop, filename)
# {
# var windowprops = "scrollbars=no, resizable=no" +
# ",left=" + pleft + ",top=" + ptop +
# ",width=" + pwidth + ",height=" + pheight;
# window.open(filename,"",windowprops);
# }
#
# // End -->
# </script>
# <script language="javascript">
# <!--
# function ShowMenu(URL, WinTitle, WinWidth, WinHeight, WinLeft, WinTop){
# attr = "resizable=no,width=" + WinWidth + ",height=" + WinHeight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
# msgWindow=open(URL, WinTitle, attr);
# if (msgWindow.opener == null) msgWindow.opener = self;
# }
# //-->


I did check header footer custom header and footer includes mainfile and every mod Ive installed... I hope Im missing something...


Last edited by horrorcode on Fri Apr 03, 2009 10:55 am; edited 1 time in total 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Mar 31, 2009 10:38 am Reply with quote

So you can see this when you view the source, but can't find the file it is in?
 
View user's profile Send private message
horrorcode







PostPosted: Wed Apr 01, 2009 12:43 am Reply with quote

Exactly. Im working on cleaning the rest up first, but hopefully by that time I can find what this is.

The only thing thats obvious is it comes into play about 10 lines after the body opens.
 
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Wed Apr 01, 2009 12:51 am Reply with quote

post 2 or 3 lines of code from above and after it.
 
View user's profile Send private message
horrorcode







PostPosted: Wed Apr 01, 2009 1:49 am Reply with quote

Heres everything before it:

Code:


# <!DOCTYPE html
# PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
# <title>Home - Insert Face Here, BlechForum, The HCRC Network - HorrorCode.com</title>
#
# <meta http-equiv="Content-Script-Type" content="text/javascript" />
# <meta http-equiv="Content-Style-Type" content="text/css" />
# <meta http-equiv="EXPIRES" content="0" />
# <meta name="RESOURCE-TYPE" content="DOCUMENT" />
# <meta name="DISTRIBUTION" content="GLOBAL" />
# <meta name="AUTHOR" content="HorrorCode.com" />
# <meta name="COPYRIGHT" content="Copyright (c) HCRC, dba. HorrorCode(tm) All rights reserved." />
# <meta name="KEYWORDS" content="Horror-Code, PHP-Horror, HorrorPHP, CodingHORROR, BlechForum, BlechForums, Horrror Coders Rainbow Children, HCRC, HCRCode, News, Headlines, Nuke, PHP-Nuke, Downloads, Community, Forum, Bulletin, Board, PHP, MySQL, Survey, Portal, Blog" />
# <meta name="DESCRIPTION" content="Insert Face Here, BlechForum, The HCRC Network Homepage, General to advanced web design and PHP-Nuke tips support and downloads." />
# <meta name="ROBOTS" content="INDEX, FOLLOW" />
# <meta name="REVISIT-AFTER" content="1 DAYS" />
# <meta name="RATING" content="GENERAL" />
# <meta name="GENERATOR" content="RavenNuke(tm) Copyright (c) 2002-2009 by Gaylen Fraley. This is free software, and you may redistribute it under the GPL (http://www.gnu.org/licenses/gpl-2.0.txt). RavenNuke(tm) is supported by the RavenNuke(tm) Team at http://ravenphpscripts.com." /> <script type="text/javascript">
# /*<![CDATA[*/
# function hideshow(which) {
# if (!document.getElementById) {
# return;
# }
# if (which.style.display=="block") {
# which.style.display="none";
# }
# else {
# which.style.display="block";
# }
# }
# /*]]>*/
# </script><script type="text/javascript">
# function gotoURL(dropDown) {
# URL=dropDown.options[dropDown.selectedIndex].value;
# if(URL.length>0) {
# top.location.href = URL;
# }
# }
# </script>
# <style type="text/css">
# .mymodulesselectbox{
# width:140px;
# background:#f7f8fc;
# }
# </style><link rel="shortcut icon" href="themes/testhc/images/favicon.ico" type="image/x-icon" />
# <link rel="StyleSheet" href="themes/ravennuke.css" type="text/css" />
# <link rel="StyleSheet" href="themes/testhc/style/style.css" type="text/css" />
# <link rel="StyleSheet" href="includes/nukeSEO/nukePIE.css" type="text/css" />
# <script type="text/javascript" language="JavaScript" src="includes/boxover/boxover.js"></script>
# <link rel="alternate" type="application/rss+xml" title="Forums" href="http://www.horror-code.com/feeds-2-rss20.xml" /><link rel="alternate" type="application/rss+xml" title="News" href="http://www.horror-code.com/feeds-1-rss20.xml" />
#
# </head>
# <body><table width="100%" border="0" cellspacing="0" cellpadding="0">
# <tr>
# <td style="background-image:url(themes/testhc/images/hc_hd_menside.jpg); height: 21px; width: 100%">
# <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
# <tr>
# <td style="white-space: nowrap">
# &nbsp;<a href="./index.html">Home</a>&nbsp;•&nbsp;<a href="/forums.html">Forums</a>&nbsp;•&nbsp;<a href="/account.html">My Account</a>&nbsp;•&nbsp;<a href="/downloads.html">Downloads</a>&nbsp;
# </td>
# </tr>
# </table>
# </td>
# </tr>
# </table>
# <br />
# <table width="100%" border="0" cellspacing="0" cellpadding="10">
# <tr>
# <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.html"><img src="themes/testhc/images/hc_1a_1etrans.png" border="0" alt="Home" /></a>
# <table width="100%" border="0" cellspacing="0" cellpadding="2">
# <tr>
# <td style="vertical-align: top; height: 200px">
# <SCRIPT LANGUAGE="JavaScript">
# <!-- Begin
# function win ( pwidth, pheight, pleft, ptop, filename)
# {
# var windowprops = "scrollbars=no, resizable=no" +
# ",left=" + pleft + ",top=" + ptop +
# ",width=" + pwidth + ",height=" + pheight;
# window.open(filename,"",windowprops);
# }
#
# // End -->
# </script>
# <script language="javascript">
# <!--
# function ShowMenu(URL, WinTitle, WinWidth, WinHeight, WinLeft, WinTop){
# attr = "resizable=no,width=" + WinWidth + ",height=" + WinHeight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
# msgWindow=open(URL, WinTitle, attr);
# if (msgWindow.opener == null) msgWindow.opener = self;
# }
# //-->
# </script>
#
#
#
#
#
#
#
# <table width="100%" border="0" cellpadding="0" cellspacing="0">
# <tr>
# <td>


That white space is also peciluar.
 
mars
Worker
Worker



Joined: Jul 08, 2006
Posts: 123
Location: Bloomsburg,Pennsylvania

PostPosted: Wed Apr 01, 2009 8:22 am Reply with quote

Looks to me that it is for your video block in the center?
 
View user's profile Send private message Visit poster's website
horrorcode







PostPosted: Wed Apr 01, 2009 8:39 am Reply with quote

Thanks I went ahead and checked, and actually it shows on every page. I just cant figure out where to check.

Im assuming it has something to do with private messages or copyright popups, but cant figure out the include, or why its not up to standards...
 
jakec







PostPosted: Wed Apr 01, 2009 10:45 am Reply with quote

I don't believe this code is in anywhere in the RN files, so it must theme specific. I of course stand to be corrected. Wink
 
horrorcode







PostPosted: Wed Apr 01, 2009 11:26 am Reply with quote

Thanks for the speedy response. Still no dice, not the theme I even went as far as deleting the theme and reverting to RavenIce. I've also over-written 80% of the site with untouched originals of 2.3.0.1.

Any chance this could somehow be cached? Something has to be spitting it out right, hopefully not just my imagination?

Could someone run the validator for me just to be sure it isnt somehow my hosts file(or something Confused)? horror-code dot com

I keep looking through all the mods I've made, still nothing is apparent. I have to assume this is a host related issue, but I'm not jumping the gun just yet, so I'll continue going through file by file of my back-up until I'm 100% sure this isnt something I did.
 
jakec







PostPosted: Wed Apr 01, 2009 12:55 pm Reply with quote

Is this a free host?
 
horrorcode







PostPosted: Wed Apr 01, 2009 1:11 pm Reply with quote

No, I learned my lesson with that already. My old sites still on the compromised list from years ago...
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Apr 01, 2009 1:55 pm Reply with quote

The section of JavaScript is showing up right aroung you logo hc_1a_1etrans.png.... I would assume there may be an include in your header file or something right around the image in the header file that is putting it there.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
horrorcode







PostPosted: Wed Apr 01, 2009 2:09 pm Reply with quote

Its not that, I've gone through every line of the theme as well as header, footer, mainfile, and the custom_files, and all includes from any of the above... As well as manually going through what seems like a million lines, I also went through the entire db...

I'm left with it being a host issue, I'm going to transfer everything to another host for testing later tonight and we'll see what turns up.

Later...
 
testy1







PostPosted: Wed Apr 01, 2009 5:13 pm Reply with quote

zip the theme up and send me a link and I will have a look if you like.
 
horrorcode







PostPosted: Wed Apr 01, 2009 8:27 pm Reply with quote

Sent
 
testy1







PostPosted: Thu Apr 02, 2009 12:50 am Reply with quote

Its definately not in your theme.Some hosts do insert stuff upon error, so that is something to consider.I asume you have tested this on a clean version of RN and its still doing it?
 
horrorcode







PostPosted: Thu Apr 02, 2009 1:08 am Reply with quote

No that wont take long though, Ill do that now as itll take longer to try on the test host.
 
horrorcode







PostPosted: Thu Apr 02, 2009 1:55 am Reply with quote

Okay so I stand corrected. The new install validates without a problem.

I guess all thats left now is to install everything and check it as I go along until I find the error.

Thanks for all the help.
 
horrorcode







PostPosted: Thu Apr 02, 2009 8:18 am Reply with quote

Alright so the issue was clearly with NSN Center Blocks, after disabling them everythings working normally.

I'll probably open a new topic, but has anyone had any experience with it?

Im thinking it might have something to do with the way it uses includes in mainfile?
 
horrorcode







PostPosted: Fri Apr 03, 2009 11:18 am Reply with quote

I edited the title to make it easier for others to find this, although this is "sort of" in the wrong forum now..

I solved the xhtml issues by removing all of the formating from the center blocks (cblocks1,2,3,4.php) files, considering not much is going on in there of any importance. That does remove the ability to set the width from the acp, but I've found that it didnt matter how you set it, it never had an affect on the table still spanning 100%(for me at least).

Im still testing :edit: ill post back when i get this fixed: but this seems to solve all validation errors and also allows for additional formatting.

Just want to apologize for not realising this was the problem, as now there are two issues on nsn cb, Ill edit the other post accordingly.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©