JoomEXT: JD-Wordpress
From Kb_JMY(晉明夷)
Contents |
Blog (JD-Wordpress)
Installation
- Assume: "joomla_com_jd-wp_v2.0_1.0RC2_predator.zip"
- After installation, check that the permission of installed files will be set to "666", this makes "Internal Server Error 500" when you access this jd-wp, so change them back to "755" by the following Cron Job Command:
| /bin/chmod -R 755 ~/public_html/forum/administrator/components/com_jd-wp/; |
| /bin/chmod -R 755 ~/public_html/forum/components/com_jd-wp/; |
- Note that it doesn't help even if you set the permissions of all the files of "joomla_com_jd-wp_v2.0_1.0RC2_predator.zip" to "755", and re-compress it for Joomla component installation, --> so it is believed that it the installation program of JD-WP who set the wrong permission!!!
Bugs
JD-WP Sidebar Errors: Cannot use a scalar value, pls. help!
- Bugs:
I have just installed JD-WP, "joomla_com_jd-wp_v2.0_1.0RC2_predator.zip", and the sidebar module, "joomla_mod_jd-wp_sidebar_v1.1_predator.zip" . JD-WP component works properly, but the sidebar, it has the following 12 errors displayed on the sidebar module display when I click on the "frontpage" menu item:
========================== Warning: Cannot use a scalar value as an array in /home/mysite/public_html/forum/components/com_jd-wp/wp-includes/locale.php on line 38 - 49 =========================== All these errors disappear when I click on the JD-WP menu item in the main menu. But comes out again when I selected the frontpage. |
- Solutions: [w.r.t Ref(3)]
| The fix is simple : just initialise the array before assigning values -- That is, modify "locale.php" in
/home/mysite/public_html/forum/components/com_jd-wp/wp-includes/ as follows:
BEFORE :
// The Months
$month['01'] = __('January');
$month['02'] = __('February');
$month['03'] = __('March');
AFTER :
// The Months
$month = array(); // initialise the array, otherwise the sidebar error
$month['01'] = __('January');
$month['02'] = __('February');
$month['03'] = __('March');
|

