Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Aug 20, 2005 4:24 pm Reply with quote

I need to look at this a bit more indepth (so I'll come back to this) but just wanted to ask the question......
Anyone experienced any looping problems when selecting the 'Visiti this website' link?
Mine seems to be looping back to the weblink category area.

I have ran out of time for today but I'll come back and post some sample urls' etc.
 
View user's profile Send private message Send e-mail
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Sat Aug 20, 2005 8:15 pm Reply with quote

Could be some block is messing up one of the module's variables.
 
View user's profile Send private message Visit poster's website
Guardian2003







PostPosted: Sun Aug 21, 2005 4:24 am Reply with quote

Hmm, I had not thought of that.
I shall investigate some more.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Aug 21, 2005 8:26 am Reply with quote

Actually, I had issues with the 3.0 patch and several add-on blocks. The way the code was written, it would put you into an endless loop. Here is my example:

Here is the original code. "NUKE_FILE" was the method put in place with the 2.9 patch level. With 3.0, Chatserv changed this to "BLOCK_FILE" to be more specific. Unfortunately, this caused an endless loop on my systems as it kept going back to index.php which would just try to re-build the blocks all over again and endless loop until something timed out I think...

Code:


if(!defined('NUKE_FILE')) {
  header("Location: ../index.php");
  die();
}


Here is what I had to do to get it to work with both 2.9 and 3.0:

Code:


if(!defined('NUKE_FILE') and !defined('BLOCK_FILE')) {
  header("Location: ../index.php");
  die();
}


I have no idea if this is related, but I was sure surprised at how simple the fix was. Just thought this might provide a clue...

montego

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©