[TYPO3-install] Missing in action!! Filelinks, SearchForm Labels, Login Form Lables, and all Plugins
Michael Stucki
michael at typo3.org
Tue Nov 14 10:07:20 CET 2006
Hi Matt,
sorry but I was not reading this list for several weeks. Could you resolve
the problem meanwhile?
> Here is the PHP I used to fix my problem with my XML Labels; however the
> Plugins are still not rendering. Back to troubleshooting
>
> this function is found in t3lib/class.t3lib_div.php and can be replaced
> with
>
> **********************************************
> function validPathStr($theFile) {
> return preg_replace('/(\/|\\\)++/','/', $theFile);
> if (!strstr($theFile,'//') && !strstr($theFile,'\\') &&
> !preg_match('#(?:^\.\.|/\.\./)#',$theFile)) return true;
> }
> *****************************************************
If not, check using debug_backtrace() where $theFile is coming from, and try
to find out why it contains a slash too much.
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-install
mailing list