Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (Mark S, Ruben Rocha, WebMagic), 19 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/14/07
Posts: 8
Top Posters (30 Days)
Ruben Rocha 177
Gizmo 110
Rick 109
Thelockman 80
driv 48
AllenAyres 35
Ian 30
ntdoc 27
Sirdude 23
ScriptKeeper 21
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#217130 - 09/18/08 10:36 PM HTML INCLUDE problem, 7.3.1 upgrade
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
Hello,

We just upgraded our forums to 7.3.1 and the HTML INCLUDE that was serving up our ad in the upper right is no longer working. It works on our old test boards. We're trying to put it in the "Default Header" section.

The code is provided by OpenX:



<?php
//<!--/* OpenX Local Mode Tag v2.6.0 */-->

define('MAX_PATH', 'path_removed/openx');
if (@include_once(MAX_PATH . '/path_removed/alocal.php')) {
if (!isset($phpAds_context)) {
$phpAds_context = array();
}
$phpAds_raw = view_local('', 22, 0, 0, '', '', '0', $phpAds_context, '');
}
echo $phpAds_raw['html'];
?>



Edited by Rick (09/19/08 10:15 AM)

Top
#217132 - 09/18/08 11:50 PM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
In fact if I type "blah" in either the header or footer Include fields, I get zero output. It worked fine right before we upgraded from 7.2.2.

I do get output from the Header Insert field.

Top
#217134 - 09/19/08 12:12 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
Here is the header.php include. It works fine if I call it directly!!!

http://cascadeclimbers.com/forum/includes/header.php

Top
#217141 - 09/19/08 08:10 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Just for tests, I'd make sure that your cache isn't stuck. Since your getting zero output in either the default header or footer. Try FTPing into your site and go into the templates/compile directory and delete everything except for index.html file.

I put the same include into my test board, and I didn't get any output from it either (because it doesn't output anything if some conditions aren't met. I was able to add an "echo 'test';" right before the closing php tag though and I did see that.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217142 - 09/19/08 08:20 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: Rick]
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
Hi Rick,

I did as you said (deleted the templates/compile files except index.html), and I'm still getting zero output.

Thanks for your help.

/porter

Top
#217144 - 09/19/08 08:46 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Hmm, if you change the opening lines from:

Code:
<?php
//<!--/* OpenX Local Mode Tag v2.6.0 */-->


To:

Code:
<?php
//<!--/* OpenX Local Mode Tag v2.6.0 */-->
echo "Can you see me?";



DO you get any output?
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217145 - 09/19/08 08:58 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: Rick]
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
Nothing! Its like its not even looking at that include (or the footer include).

Top
#217147 - 09/19/08 09:32 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Hmm, I see that you have a logo up top, is that in your header include?
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217148 - 09/19/08 09:42 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: Rick]
olyclimber Offline
newbie

Registered: 10/31/06
Posts: 25
It was, but on the upgrade it disappeared. It is set in the styles and I'm moved it down to Header Insert section...and it worked there. But If I put it in either the header or footer it doesn't show up.

<div id="banner">
</div>

Is how I'm getting the logo in there in the Header Insert.

Top
#217149 - 09/19/08 09:56 AM Re: HTML INCLUDE problem, 7.3.1 upgrade [Re: olyclimber]
cascadeclimbers Offline
stranger

Registered: 06/02/04
Posts: 15
Hi Rick,

I've done an echo test as well as use plain html and it appears that neither the header or footer includes are working.

Top


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Font and column shifts occuring
by Bill B
Yesterday at 06:21 PM
changing colors in quoted thread box
by sbserves
Yesterday at 07:08 AM
[7.3.1] Image Not Found
by BellaOnline
11/29/08 09:48 PM
Private topic (PM) to a user that doesn't exist...
by bakerzdosen
11/29/08 10:56 AM
Forum Permissions - Can see forum
by Geoff
11/29/08 08:55 AM
Forum Stats
4261 Members
33 Forums
30528 Topics
154942 Posts

Max Online: 978 @ 06/24/07 08:19 PM