Printable Version of Topic

Click here to view this topic in its original format

Web Design Seo Forum _ Seo Optimization _ Microformat: No Vote: Why?

Posted by: bellatrix Oct 6 2015, 08:03 PM

Hello
I've installed the plugin Microformat for Joomla but do not understand why I can not vote.
Check out an example:
h t t p: // nuovo.terapiamusicale.eu/infanzia-bambini
(no link)

My .ini file:

[RUN]
view = article
#layout =
#task =

id_par = id
context = com_content.article
#skip = 2889, 2906

stars = 1
novote = 0
position = after
HTML_before =
HTML_after =
------------

Setting the maximum log in Joomla, the plugin crashes and the site creates a blank page.
I disabled all Java. No way.

Can you help me? blink.gif

Posted by: Web Design Seo Oct 9 2015, 03:13 PM

As I say you befor couple days (Mon, 05 Oct 2015 19:50:08) on email:

Цитат
Stars and plugin's javascript are included on page, but this page have 31 external Javascript scripts - mootools, jquery, com_ajax, solidres and gavick hotel template scripts. Probably plugin script not work due on javascript conflict.

Please, do this: http://3dwebdesign.org/forum/index.php?act=SR&f=24 - from point 3. ---- Switch on Error reporting in Global configuration of Joomla...


After switching on error reporting, reload page again and if you see some error on page, save text and send it to my email or post error here.

Posted by: bellatrix Oct 11 2015, 07:30 AM

If I set log on Maximum, the website makes white page!
If I disable the plugin, log works.

Posted by: Web Design Seo Oct 12 2015, 06:15 AM

In this way, you must check your error log - there must be present php error. If you don't know where is error log, ask your host support.

Probably your server doesn't support mbstring - is php extension. Mbstring is one of requirements of Microformats votes plugin. You can read http://3dwebdesign.org/forum/mbstring-call-to-undefined-function-mb-internal-encoding-t1355.

Posted by: bellatrix Oct 13 2015, 05:03 AM

mbstring is active.
My problem is the inability to read the log, because when activated together with plugins, joomla works no more

Posted by: Web Design Seo Oct 13 2015, 05:52 AM

When you see white screen, there is an php error, something like "fatal error..."

And error must be on screen or present in error log. You can't see error and you have no error log? Error reporting and log can be switched off from server admin for some reason. Ask your host support to activate it for you, is simple code in php.ini file:

Код
error_reporting  =  E_ALL
display_errors = On



After setting error log to ON, activate plugins, and open page again. Than open error log and you will see current error at bottom of the log. Post error here with your versions - php version and joomla version.

Posted by: bellatrix Oct 14 2015, 05:21 AM

OKay!
These are the errors:

Strict Standards: Only variables should be assigned by reference in /home/terapiam/domains/terapiamusicale.eu/public_html/plugins/system/microformatsvotes/microformatsvotes.php on line 68

Strict Standards: Only variables should be assigned by reference in /home/terapiam/domains/terapiamusicale.eu/public_html/plugins/system/microformatsvotes/microformatsvotes.php on line 88

Posted by: Web Design Seo Oct 14 2015, 06:22 AM

bellatrix, send me email at admin @ our website to send you updated extension with these two errors fixed.

Posted by: bellatrix Oct 14 2015, 10:27 AM

QUOTE (Web Design Seo @ Oct 14 2015, 07:22 AM) *
bellatrix, send me email at admin @ our website to send you updated extension with these two errors fixed.


OKay, I've installed update.
Errors no longer appear but the plugin is not working.
In /log is not written any error.


Posted by: Web Design Seo Oct 14 2015, 11:35 AM

As I say you before about a week, problem is probably in javascript. After debugging your scripts with Firebug, we see these errors:

From scripts used in Gavick template:

Код
ReferenceError: scrollReveal is not defined


From our plugin java script:
Код
TypeError: window.addEvent is not a function


See screen:



What this error mean?
This javascript error can be present if:
- you don't have mootools loaded on the page
- your site calling window.AddEvent() before the mootools library is loaded.

Solutions:
- include mootools in html before our script.
- if mootools is alredy present in html, try to move mootools at top, before our script.

Posted by: bellatrix Oct 15 2015, 11:09 AM

I removed all the compressions.
Please, can you tell me which script should move to the top?

Look here: http://www.terapiamusicale.eu/seminario

Thanks!!!!

Posted by: Web Design Seo Oct 15 2015, 12:18 PM

Your PHP version is php 5.4 or 5.5, right? I will send you again new version to test.

Clear Joomla cache after install!

Posted by: bellatrix Oct 15 2015, 12:32 PM

Цитат(Web Design Seo @ Oct 15 2015, 01:18 PM) *
Your PHP version is php 5.4 or 5.5, right? I will send you again new version to test.

Clear Joomla cache after install!

Cache is clean and right now disabled.

Posted by: bellatrix Oct 15 2015, 12:37 PM

I tried to disable all java scripts and install microvolts old version but it does not works.

Posted by: Web Design Seo Oct 15 2015, 12:57 PM

Not old, install latest file - i send you file over email before 10 minutes.

Posted by: bellatrix Oct 15 2015, 05:07 PM

QUOTE (Web Design Seo @ Oct 15 2015, 01:57 PM) *
Not old, install latest file - i send you file over email before 10 minutes.


Installed the new version but it does not work anyway.
I try to install the plugin on other sites under the same server?

Posted by: bellatrix Oct 15 2015, 06:59 PM

OKay, I installed the plugin http://www.dragonettisrl.com/azienda-ferraiolo-edile.html and work.

On music therapy, however, it is not working.
The template is Gavick both.

I give up. laugh.gif laugh.gif

Posted by: bellatrix Oct 16 2015, 09:55 PM

http://stackoverflow.com/questions/16169242/window-addevent-is-not-a-function-after-merging-js-files?

Help...!!!! sad.gif sad.gif sad.gif

Posted by: Web Design Seo Oct 19 2015, 09:02 AM

Are you using scriptmerge? Problem is similar, but this is not your solution - mootools is loaded on page before our script.

Gavick templates have something similar functions to compress and merge scripts and css files. And is using this tempate (Hotel) ajax to load content or ajax come from some different external plugin?

Posted by: bellatrix Oct 19 2015, 06:50 PM

Negative.
Even disabling any compression your plugin does not work.

Posted by: Web Design Seo Nov 10 2015, 04:43 PM

Цитат(bellatrix @ Oct 15 2015, 08:59 PM) *
OKay, I installed the plugin http://www.dragonettisrl.com/azienda-ferraiolo-edile.html and work.

On music therapy, however, it is not working.
The template is Gavick both.

I give up. laugh.gif laugh.gif


Bellatrix, I just send you latest update with bug fixes.

Update plugin and after this check this: you must change in your file:
Код
http://www.dragonettisrl.com/plugins/system/microformatsvotes/config/com_content.ini


Change this line from:
Код
stars = 0


To:
Код
stars = 1


After this delete file (if file exist):
Код
http://www.dragonettisrl.com/plugins/system/microformatsvotes/cache/com_content.dat

And open page again.



Posted by: bellatrix Nov 10 2015, 08:17 PM

Thanks for update but website was this:
http://www.terapiamusicale.eu/seminario

Unfortunately, it does not work yet. sad.gif

Posted by: Web Design Seo Nov 11 2015, 06:48 AM

Bellatrix, your problem will be fixed for sure to monday. Please, keep plugin active on terapiamusicale.eu.

Posted by: bellatrix Nov 11 2015, 11:14 AM

QUOTE (Web Design Seo @ Nov 11 2015, 07:48 AM) *
Bellatrix, your problem will be fixed for sure to monday. Please, keep plugin active on terapiamusicale.eu.


Yes! Now is active.

THANKS!

Posted by: Web Design Seo Nov 12 2015, 07:54 AM

bellatrix, is possible to switch off this plugin that compress javascripts and content?

Posted by: bellatrix Nov 12 2015, 10:48 AM

QUOTE (Web Design Seo @ Nov 12 2015, 08:54 AM) *
bellatrix, is possible to switch off this plugin that compress javascripts and content?


Done.

Posted by: Web Design Seo Nov 12 2015, 11:07 AM

Thank you, but switch on our plugin. Now is disabled.

Posted by: bellatrix Nov 12 2015, 01:18 PM

Ops.. sorry. tongue.gif

Posted by: Web Design Seo Nov 17 2015, 10:10 AM

bellatrix, the problem is in your site template css style, in ile:

Код
http://www.terapiamusicale.eu/templates/gk_hotel/css/template.css


After last update there is no javascript error, elements are here, but are on different position and you can't click on stars to vote.

To work plugin, Comment last line from this part of code. Change this code from:
Код
.item-body ul > li,
.list-1 > li,
.list-2 > li,
.list-3 > li {
  list-style: none;
  overflow: inherit;
  padding: 10px 0 10px 42px;
  position: relative;
}


To:
Код
.item-body ul > li,
.list-1 > li,
.list-2 > li,
.list-3 > li {
  list-style: none;
  overflow: inherit;
  padding: 10px 0 10px 42px;
  /*position: relative;*/
}



P.S. I can suggest you also to remove on line 7540 this:
Код
content: "\f111";

Posted by: bellatrix Nov 17 2015, 10:40 AM

YES!!!!!
Now works!

THANKS!!!

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