CZDonate problem..."You can't access this file directly

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZDonate problem..."You can't access this file directly
djtech2k
CZ Newbie
djtech2k has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 24, 2005
0.00 posts per day
Posts: 3
Points: 64
   
I am having a simple problem that i resolved before but cannot remember how to now. I have setup the block and module and activated both. It seemed to work fine. however, when I try to configurew it thru the Donate control panel option, I get this error: "You can't access this file directly...".

Any ideas? I know its simple.

-DJ



Back to top Reply with quote
#2   re: CZDonate problem..."You can't access this file dire
djtech2k
CZ Newbie
djtech2k has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 24, 2005
0.00 posts per day
Posts: 3
Points: 64
   
anyone??



Back to top Reply with quote
#3   re: CZDonate problem..."You can't access this file dire
djtech2k
CZ Newbie
djtech2k has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 24, 2005
0.00 posts per day
Posts: 3
Points: 64
   
Nevermind. I fixed it with this:
[ Register or login to view links on this board. ]

-DJ



Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Sorry for the delay. Seems your host is using an older version of php. You should get them to to update it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
CbtEngr
CZ Newbie
CbtEngr has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Apr 19, 2005
0.00 posts per day
Posts: 2
Points: 41
   
Not trying to beat a dead horse. But I'm getting the same error. The above link is returning page not found. I uploaded a test.php file to see what version my host is running and it is 4.3.10 which I do believe is current or near current.

I've checked out the tables and they're inserted correctly, activated in both modules and blocks..even went so far as to change permissions on the files to 777. Forgot to mention I'm only running nuke sentinel and Php-Nuke 7.5 I'm stumped.

Any other ideas?

Thanks



Back to top Reply with quote
#6   re: CZDonate problem..."You can't access this file dire
CbtEngr
CZ Newbie
CbtEngr has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Apr 19, 2005
0.00 posts per day
Posts: 2
Points: 41
   
Well since no one answered must not be fixable.

Thanks anyway



Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You cant access the modules/Donate/index.php?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: CZDonate problem..."You can't access this file dire
spockman
CZ Newbie
spockman has been a member for over 19 year's 19 Year Member
usa.gif newjersey.gif
Gender: Male
Status: Offline
Joined: Jun 01, 2005
0.00 posts per day
Posts: 1
Points: 407
   
Here's how I fixed this on my site:

In both admin.php and index.php, find and replace:
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {

with:
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum