April 22, 2007

code to fix a caching problem

Category: Jinzora — Josh @ 9:06 pm

Well… I did a dist-upgrade on my linux box (was running debian stable 3.1), and upgraded to 4.0. After the upgrade Jinzora would not work. I uninstalled all apache, apache2, php4 and mysql5 packages with the –purge option and reinstalled php5, mysql5, and apache2. I then installed php-dev and compiled/installed eaccelerator to help out my ancient celeron. After I got Jinzora setup I enabled all the previously mentioned tweaks, but started receiving an error after I enabling page caching. I found the following fix on the Jinzora forums posted by
Quasimodo on April 11 2007
In frontend/display.php line 158 change

Code:
$signature .= $moreargs[$i];

to

Code:
if(!is_object($moreargs[$i])) {
$signature .= $moreargs[$i];
}

This code change fixed the caching problem. With the upgrade to php5, mysql5, and all the tweaks, jinzora is night and day…way way way … Way faster on this old celeron. My cross my fingers that the new kernel and modules will play well with my raided /boot and /root partitions.

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> .