Regarding this error:
Fatal error: Cannot use object of type fb_Config as array in /home/content/g/r/e/gregluce/html/components/com_fireboard/sources/interpreter.fireboard.inc.php on line 325
I took a look in the file: interpreter.fireboard.inc.php
and find this code:
| Code: |
case 'img':
if($between) {
$task->autolink_disable--; # continue autolink conversion
// Make sure we add image size if specified and while we are
// at it also set maximum image width from text width config.
//
// NOTICE: image max variables from config are not intended
// for formating but to limit the size of uploads, which can
// be larger than the available post area to support super-
// sized popups.
$tag_new = "<img src='".$between.
((isset($tag->options["size"]))?"' width='".htmlspecialchars($tag->options["size"]):'').
"' border='0' style='max-width:".(int)$GLOBALS["fbConfig"]["rtewidth"]."px; ' />";
return TAGPARSER_RET_REPLACED;
}
|
it looks like fireboard has some problems geting the configurations on max width. This is what the phrase that doesn't work:
style='max-width:".(int)$GLOBALS["fbConfig"]["rtewidth"]."px; '
Does anyona have an idea why?