Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > NukeWrap > Nothing is working for me... help please


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Nothing is working for me... help please

Newbie





Posts: 2
Registered: 4/8/2004
Status: Offline

  posted on 4/11/2004 at 10:50 PM
I am running PHP Nuke 6.9.

I have created a directory called NukeWrap in the modules directory and placed all the files in that subdirectory.

I have edited nukewrap.cfg, as listed:
<?php

//General Settings
//
$general = array (
'url-security' => false,
'local-pages-only' => false,
'address-bar-entry' => true,
'use-buffering' => true,
'use-compression' => false,
'registered-users-only' => false,
'open-direct-msg' => false,
'use-fixed-title' => false,
'auto-resize' => false,
'height' => "1500",
'width' => "100%"
);

$authorized_url['http://mysite.net/'] = array (
'alias' => "mysite",
'registered-users-only' => false,
'open-direct-msg' => false,
'use-fixed-title' => false,
'auto-resize' => false,
'height' => "1500",
'width' => "100%"
);

?>

I then created another supdirectory under modules called OLD_SITE. In this subdirectory I create the index.php with the following:

<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

$index = 0;

echo "<li><a href="modules.php?name=NukeWrap&page=mysite">Old Site</a>";

?>

When I click on the link that shows up in the modules listing I get:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/silent1/public_html/modules/Old_Feezor_Site/index.php on line 9

I have changed the one line in index.php to:

<a href="modules.php?name=NukeWrap&page=mysite">Old Site</a>";
or
<a href="modules.php?name=NukeWrap&page=mysite">;
or
<a href="modules.php?name=NukeWrap&page=http://www.mysite.net">Old Site</a>";
or
I have taken the echo<lli> off
or
Just a single line in the index.php with just <a href="modules.php?name=NukeWrap&page=mysite">Old Site</a>";

None of which seems to work.

I am still new to PHP Nuke, but don't know what I am doing wrong with this.

The docs don't actually indicate that I should put this in the index.php. The walk-thru does, but, they did not work for me.

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 103
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.109548 Seconds