Spidean Forums


 < Last Thread   Next Thread >Ascending sortDescending sorting  New Topic  Post Reply
Author: Subject: You can't access this file directly...

Newbie





Posts: 3
Registered: 9/28/2003
Status: Offline

  posted on 9/28/2003 at 03:40 PM
I have a similar message. NukeJump is working fine when listed from the MODULES menu. i.e. click on it and it goes.

However, if I set NukeJump as Home module I get "You can't access this file directly..."

I thought the puprose was so it could be set as automatic? Does it work for anyone else?

I love it hope I am just missing something.

Thankx
JDF

 
Reply With Quote

Newbie




Posts: 3
Registered: 11/18/2003
Status: Offline

  posted on 11/18/2003 at 01:14 PM
I have the same issue. NukeJump works to jump directly to the page listed when I click it from the modules block, but if I put that module as the home page, I get the error 'you cant access this file directly.". Below is my Nukejump.cfg:

<?php
$url = "modules.php?name=NukeWrap&page=http://wwwi.test.net/";
?>



I've changed the names of the machine to protect the innocent, but essentially, my php nuke site is accessible only from within our company's LAN. It is on a machine named 'test' so it is accessed from the url http://test/. There's an existing intranet site, that I'd like to hop off to from within my PHP-Nuke site. There's a lot of content on it. It is normally accessed from within our LAN by the url http://wwwi.test.net/. So as I read the documentation I believe I have it setup properly. Have I done something wrong?

 
Reply With Quote

Newbie




Posts: 3
Registered: 11/18/2003
Status: Offline

  posted on 11/18/2003 at 04:15 PM
Here's what versions I'm on:

PHP-Nuke 6.9
Red Hat 9.0
MySQL 3.23.58
Apache 2.0.40-21.5
Linux kernel 2.4.21-1.1931.2.274

 
Reply With Quote

Newbie




Posts: 5
Registered: 11/2/2003
Status: Offline

  posted on 11/19/2003 at 06:23 PM
I'm having the same problem. I'm on a windows box with:

Apache 2.0.46
PHP Version 4.3.2
PHP Nuke v6.9

Is there anyway to get the NukeJump set as home so I can display a different page other than the news?

Thanks,
Grant

 

____________________
Check out great deals on computers and electronics at Retail Retreat

 
Reply With Quote

Administrator




Posts: 4548
Registered: 10/7/2002
Status: Online

  posted on 11/19/2003 at 06:27 PM
I hope to have an update in the near future to fix some issues and add some stuff, but until then:

In modules/NukeJump/index.php try removing this and let me know:

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


-Shawn

 
Reply With Quote

Newbie




Posts: 3
Registered: 11/18/2003
Status: Offline

  posted on 11/24/2003 at 06:42 PM
That did it for me, Shawn. Thanks!!
 
Reply With Quote
New Topic    Post Reply


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