{"id":1058,"date":"2012-01-27T20:38:21","date_gmt":"2012-01-27T20:38:21","guid":{"rendered":"http:\/\/www.rumahweb.com\/journal\/?p=1058"},"modified":"2018-09-28T10:17:01","modified_gmt":"2018-09-28T10:17:01","slug":"modifikasi-script-joomla-1-0-x-agar-support-php-5-3","status":"publish","type":"post","link":"https:\/\/www.rumahweb.com\/journal\/modifikasi-script-joomla-1-0-x-agar-support-php-5-3\/","title":{"rendered":"Modifikasi Script Joomla 1.0.x Agar Support PHP 5.3"},"content":{"rendered":"<p>CMS Joomla 1.0.x tidak support di PHP versi 5.3 dan ini ditandai dengan pesan error seperti berikut ini :<\/p>\n<p>Warning: Parameter 2 to frontpage() expected to be a reference, value given in <em>\/home\/usercpanel\/public_html\/laman\/includes\/Cache\/Lite\/Function.php on line 100<\/em><\/p>\n<p>Untuk <strong>membuat CMS Joomla versi 1.0.x support dengan PHP versi 5.3<\/strong> berikut langkah-langkahnya :<\/p>\n<p>Jika content tidak muncul di halaman website serta muncul pesan error di atas maka solusinya adalah dengan melakukan perubahan kode script pada file &#8220;Function.php&#8221; (<em>includes\/Cache\/Lite\/Function.php<\/em>) :<\/p>\n<p><em>$arguments = func_get_args();<\/em><\/p>\n<p>Menjadi :<\/p>\n<p><em>$arguments = func_get_args();<\/em><br \/>\n<em> <span style=\"color: #0000ff;\">$numargs = func_num_args();<\/span><\/em><br \/>\n<em> <span style=\"color: #0000ff;\"> for($i=1; $i &lt; $numargs; $i++){<\/span><\/em><br \/>\n<em> <span style=\"color: #0000ff;\">\u00a0 \u00a0 $arguments[$i] = &amp;$arguments[$i];<\/span><\/em><br \/>\n<em> <span style=\"color: #0000ff;\"> }<\/span><\/em><\/p>\n<p><!--more-->Permasalahan yang lain adalah ketika anda menggunakan component contact . Jika content contact tidak muncul atau muncul pesan error seperti berikut ini :<\/p>\n<p>Fatal error: <em>Cannot redeclare quoted_printable_encode() in includes\/vcard.class.php on line 74<\/em><\/p>\n<p>Maka solusinya adalah dengan melakukan perubahan\u00a0kode script pada file &#8220;<em>vcard.class.php&#8221;<\/em> (<em>includes\/vcard.class.php<\/em>)<\/p>\n<p><em><span style=\"color: #0000ff;\">if(!function_exists(&#8216;quoted_printable_encode&#8217;)) {<\/span><\/em><br \/>\n<em> function quoted_printable_encode($input, $line_max=76) {<\/em><br \/>\n<em> \/* &#8230; *\/<\/em><br \/>\n<em> }<\/em><br \/>\n<em> <span style=\"color: #0000ff;\">}<\/span><\/em><\/p>\n<p>Caranya adalah dengan menambahkan baris kode yang berwarna biru diatas.<\/p>\n<p>Selain langkah-langkah diatas, kami menyarankan untuk upgrade versi joomla 1.0.x ke versi 1.5.x terbaru.<\/p>\n<p>Selamat mencoba dan semoga berhasil \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CMS Joomla 1.0.x tidak support di PHP versi 5.3 dan ini ditandai dengan pesan error seperti berikut ini : Warning: Parameter 2 to frontpage() expected to be a reference, value given in \/home\/usercpanel\/public_html\/laman\/includes\/Cache\/Lite\/Function.php on line 100 Untuk membuat CMS Joomla versi 1.0.x support dengan PHP versi 5.3 berikut langkah-langkahnya : Jika content tidak muncul di [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[125,21,126],"class_list":{"0":"post-1058","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-web-programming","7":"tag-1-0-x","8":"tag-joomla","9":"tag-php-5-3"},"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8n3G7-h4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts\/1058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":0,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}