View Single Post
Old 01-31-08, 05:07 PM   #35
NaterGator
Dive on in...
 
NaterGator's Avatar
 
Join Date: Oct 2006
Location: Tampa/Gainesville, FL
TLCA# 18767
Posts: 1,250
So, I guess not that you need my help, and I can only guess at what you wanted to accomplish, but the bug seems to be on line 4685 of functions_vbseo.php

You use strstr() to compare the chunk the url is set to (url=THIS) to the stuff the [url] blocks wrap ([url]THIS[/url])

This will fail for everything where the 'title' block (the wrapped part) appears in the url (your script tries to then look that portion up as a url)

Depending on what your goal was you should either use a preg_match there or check to see if they are equal. Also, I looks like another bug is that you call continue; on a while loop with the increment command at the end past the conditional check the executes the continue; function. Perhaps I am wrong in this assumption though, because woody's server does not seem to get stuck in an infinite loop.


__________________
'96 LX450, 33" Revos, OME lifted, etc, etc
Love the life you live, live the life you love. -Bob Marley
Selfishness is not living as one wishes to live, it is asking others to live as one wishes to live. -Oscar Wilde
Right-click image transloading made blindingly easy.
Firefox users, auto-embed youtube videos on mud.
NaterGator is offline   Reply With Quote