Printable Version of Topic

Click here to view this topic in its original format

Web Design Seo Forum _ Seo Optimization _ Microformat Votes Not Working

Posted by: pomegranet Jul 22 2014, 03:50 PM

I have just purchase microformat votes and straight away have hit a problem. I have installed the plugin and using the content.ini the voting stars appear on my articles, however clicking on a star to vote doesn't register the vote, I just get the rotating wait icon.

Firebug apparently shows a mootools error (see screenshot).

Site is Joomla 3.2.4

Thanks.



Posted by: pavelKukov Jul 23 2014, 07:22 AM

This can be because on your server short php opening tag is disabled.
To fix this you have two choices.

1. Enable short opening tags by adding in php.ini Maybe you need to edit it, if exists "short_open_tag=Off"

Код
short_open_tag=On



2. Edit plugin source to remove short tags
2.1 Open file "/plugins/system/microformatsvotes/ajax.php" find around line 21
Find:
Код
<?
    exit;
}

Replace with:
Код
<?php
    exit;
}


That will fix short tag problem.
If this doesn't remove your problem contact me at: pavel @ 3dwebdesign.org

Posted by: pomegranet Jul 24 2014, 08:55 AM

Thank you Pavel, I went with option two and it's working perfectly.

Many thanks.


QUOTE (pavelKukov @ Jul 23 2014, 08:22 AM) *
This can be because on your server short php opening tag is disabled.
To fix this you have two choices.

1. Enable short opening tags by adding in php.ini Maybe you need to edit it, if exists "short_open_tag=Off"
CODE
short_open_tag=On



2. Edit plugin source to remove short tags
2.1 Open file "/plugins/system/microformatsvotes/ajax.php" find around line 21
Find:
CODE
<?
    exit;
}

Replace with:
CODE
<?php
    exit;
}


That will fix short tag problem.
If this doesn't remove your problem contact me at: pavel @ 3dwebdesign.org

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)