[pmwiki-users] SDVA and $PubDirUrl

Petko Yotov 5ko at 5ko.fr
Thu Mar 13 15:59:35 CDT 2014


V.Krishn writes:
> I use the var $Test['wwdir'] in $HTMLHeaderFmt.

How exactly $Test['wwdir'] gets into $HTMLHeaderFmt? (What should I do to  
test and experience exactly the same problem on my server?)

Petko


> If not preset in config.php, eg
>  $Test['wwwdir'] = '/pub/cookbook/test';
>
> Then,
>
> 	SDVA($Test, array(
> 		'wwwdir' => '$PubDirUrl/test',
> 		'jquery' => '/pub/jquery.min.js'
> 	));
>
> gives following error:
> ....
> Request exceeded the limit of 10 internal redirects due to probable
> configuration error. Use 'LimitInternalRecursion' to increase the limit if
> necessary. Use 'LogLevel debug' to get a backtrace., referer:  
> http://localhost
> ....
>
> But no error with $FarmPubDirUrl
> 	SDVA($Test, array(
> 		'wwwdir' => '$FarmPubDirUrl/test',
> 		'jquery' => '/pub/jquery.min.js'
> 	));
>



More information about the pmwiki-users mailing list