Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
dssripper
Regular
Regular



Joined: Feb 16, 2004
Posts: 69

PostPosted: Wed May 24, 2006 2:17 pm Reply with quote

I have had this work on a different version of phpnuke
not sure why it won't work now.
I just get a blank page with the following code

Code:


<?php


// If you would like to Display the Right Side Bar $index = 1;
// Or if you would not want to Display the Right Side Bar it must be $index = 0;
if (!isset($mainfile)) { include("mainfile.php"); }
$index = 1;
include("header.php");
OpenTable();

?>
<p align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="720" height="540">
   <param name="movie" value="http://www.pathwayscsb.org/aboutus.swf">
   <param name="quality" value="High">
   <embed src="http://www.pathwayscsb.org/aboutus.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="720" height="540"></object>
</p>
<p align="center">Click on the slide to advance</p>

<?php
CloseTable();
include("footer.php");
?>


Any advice?
Thanks in advance!

Dss
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Wed May 24, 2006 7:25 pm Reply with quote

Sure you don't have a parsing error?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
dssripper







PostPosted: Wed May 24, 2006 8:17 pm Reply with quote

kguske wrote:
Sure you don't have a parsing error?


actually...no I am not sure. Sad
I don't know whats wrong with it.

I tried kicking it.....that didn't work Laughing
 
dssripper







PostPosted: Thu May 25, 2006 7:45 am Reply with quote

I figured out what was wrong
in this version you can't call the mainfile again.

so you have to remove the following line
Code:
if (!isset($mainfile)) { include("mainfile.php"); }
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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 ©