Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Fireboard 1.0.4 conflitto con Page_cache (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Fireboard 1.0.4 conflitto con Page_cache
#36430
Fireboard 1.0.4 conflitto con Page_cache 9 Months, 1 Week ago  
ciao ragazzi,
mi sono accorto che la nuova versione va in conflitto con il componente Page_cache, infatti dopo l'aggiornamento ho provato ad aprire alcuni forum e ho avuto questa risposta dal server:
Fatal error: Cannot redeclare microtime_float() (previously declared in /home/virtual/site98/fst/var/www/html/components/com_page_cache/page_cache.class.php:422) in /home/virtual/site98/fst/var/www/html/components/com_fireboard/sources/parser.inc.php on line 62
Cercando in rete ho trovato la soluzione, la posto qui che potrebbe servire a qualcuno.
In /components/com_fireboard/sources/parser.inc.php alla linea 62 sostituite questo
[code:1]function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
$newtime = ((float)$usec + (float)$sec);
if($GLOBALS['microtime_prev']) {
$GLOBALS['microtime_total'] += ($newtime-$GLOBALS['microtime_prev']);
//echo 'T:'.$GLOBALS['microtime_total'].',d:'.($newtime-$GLOBALS['microtime_prev']);
//echo ":n";
}
$GLOBALS['microtime_prev'] = $newtime;
}[/code:1]
con questo
[code:1]if (!function_exists('microtime_float')) {
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
$newtime = ((float)$usec + (float)$sec);
if($GLOBALS['microtime_prev']) {
$GLOBALS['microtime_total'] += ($newtime-$GLOBALS['microtime_prev']);
//echo 'T:'.$GLOBALS['microtime_total'].',d:'.($newtime-$GLOBALS['microtime_prev']);
//echo ":n";
}
$GLOBALS['microtime_prev'] = $newtime;
}
}[/code:1]

Ciao a tutti
:)
spider123 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top