Create an account    
 home  
 
Web www.thaihealth.net
  You are here:> home>topics> phpNUKE > ''You can't access this file dir.....'' why? ©
phpNUKEtutorial: ''You can't access this file dir.....'' why?
Posted on Tuesday, July 05 @ 11:49:02 GMT+7 by webmaster

phpNUKE Sometime when you install modules in various version of phpNUKE ,you will find that some module which is usable in lower version can not be accessed in newer version(especially 7.6 and 7.7) - as in Thaihealthnews - why?

phpNUKE team has changed the method of calling index.php in modules eg:
in version 7.4

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

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

if ( !defined('MODULE_FILE') ) { die("You can't access this file directly..."); }
in version 7.7

if (!defined('MODULE_FILE')) { die ("You can't access this file directly..."); }


Same as in admin file which can not be used between version - so we must stress out that -install correct module for correct version to avoid these problems!


blog this


blog this

More about phpNUKE
· PHPNUKE 8.1 has been released2008-01-14 01:09:59
· Thainuke.net has been changed to thainuke.org2006-07-25 11:15:42
· Basic PHP-courses(THAI) 11 september by thainukeclub.com2005-08-29 12:55:02
· ''You can't access this file dir.....'' why?2005-07-05 11:49:02

Comment Post
1  by
on Sunday, March 16 @ 19:51:56 GMT+7
< href="http://f.jsoftj.com/">URL blocked by staff منتديا&

Read the rest of this comment...


2  by
on Saturday, March 15 @ 00:27:02 GMT+7
< href="http://www.jsoftj.com/">URL blocked by staff جي سوف

Read the rest of this comment...


3  by
on Sunday, April 13 @ 14:29:30 GMT+7
< href="http://mobiletheme.bravehost.com/messages.html">URL blocked by staff مس

Read the rest of this comment...




Your Name:

[ New User ]

Subject:


Comment:

Allowed HTML:
<b> <i> <a> <em> <br> <strong> <blockquote> <tt> <li> <ol> <ul>
Security code:



T news tweak
 

       Sponsored Links
       Related Links
· More about phpNUKE
· News by webmaster


Most read story about phpNUKE:
 phpNUKE tutorial in English(8622)

       Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


       Options

 Printer Friendly  Printer Friendly

 Send to a Friend  Send to a Friend

News ©

เล่นเกมส์ arcade games free!

main sitethaihealth | home | forums | downloads | topics

Seo from our desk thai seo
Web site engine code is Copyright © 2003 by PHP-Nuke.Copyright 2007 Thaihealth and pattaya doctor
Page Generation: 0.199 Seconds

Theme developed by WebDesignHQ.com Modified By DoctorNUKE