{"id":81,"date":"2007-04-22T21:06:43","date_gmt":"2007-04-23T01:06:43","guid":{"rendered":"http:\/\/www.joshbrews.com\/?p=81"},"modified":"2007-04-24T18:53:05","modified_gmt":"2007-04-24T22:53:05","slug":"code-to-fix-a-caching-problem","status":"publish","type":"post","link":"https:\/\/www.joshbrews.com\/?p=81","title":{"rendered":"code to fix a caching problem"},"content":{"rendered":"<p>Well&#8230; 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 &#8211;purge option and reinstalled php5, mysql5, and apache2. I then installed php-dev and compiled\/installed <a target=\"_blank\" href=\"http:\/\/eaccelerator.net\/\">eaccelerator<\/a> 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<br \/>\nQuasimodo on April 11 2007<br \/>\nIn frontend\/display.php line 158 change<\/p>\n<p>Code:<br \/>\n$signature .= $moreargs[$i];<\/p>\n<p>to<\/p>\n<p>Code:<br \/>\nif(!is_object($moreargs[$i])) {<br \/>\n$signature .= $moreargs[$i];<br \/>\n}<\/p>\n<p>This code change fixed the caching problem. With the upgrade to php5, mysql5, and all the tweaks, jinzora is night and day&#8230;way way way &#8230; 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well&#8230; 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 &#8211;purge option and reinstalled php5, mysql5, and apache2. I then installed php-dev and compiled\/installed eaccelerator to help out my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-jinzora"],"_links":{"self":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81"}],"version-history":[{"count":0,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshbrews.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}