Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
8 registered (carolinasoutdoor, David Dreezer, DougMM, Mark S, Ruben Rocha, Sirdude, 2 invisible), 22 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/04/09
Posts: 1
Top Posters (30 Days)
Ruben Rocha 96
Rick 85
Mark S 73
Gizmo 50
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 26
AllenAyres 26
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
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: 7998
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: 7998
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: 7998
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
theregit
Recent Topics
7.4.1 show/hide category bug
by Seattlebrian
01/09/09 11:56 AM
7.4.2 Discussion
by Rick
01/09/09 10:21 AM
UBBCentral now running 7.4.2
by Rick
01/09/09 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
01/08/09 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Forum Stats
4298 Members
33 Forums
30692 Topics
156037 Posts

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