Help - Search - Members - Calendar
Full Version: Microformat: No Vote: Why?
Web Design Seo Forum > 3D Web Design English Forum > Seo Optimization
bellatrix
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
Web Design Seo
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.
bellatrix
If I set log on Maximum, the website makes white page!
If I disable the plugin, log works.
Web Design Seo
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 more about mbstring here.
bellatrix
mbstring is active.
My problem is the inability to read the log, because when activated together with plugins, joomla works no more
Web Design Seo
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.
bellatrix
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
Web Design Seo
bellatrix, send me email at admin @ our website to send you updated extension with these two errors fixed.
bellatrix
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.

Web Design Seo
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.
bellatrix
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!!!!
Web Design Seo
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!
bellatrix
Цитат(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.
bellatrix
I tried to disable all java scripts and install microvolts old version but it does not works.
Web Design Seo
Not old, install latest file - i send you file over email before 10 minutes.
bellatrix
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?
bellatrix
OKay, I installed the plugin here and work.

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

I give up. laugh.gif laugh.gif
bellatrix
Solution?

Help...!!!! sad.gif sad.gif sad.gif
Web Design Seo
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?
bellatrix
Negative.
Even disabling any compression your plugin does not work.
Web Design Seo
Цитат(bellatrix @ Oct 15 2015, 08:59 PM) *
OKay, I installed the plugin here 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.


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

Unfortunately, it does not work yet. sad.gif
Web Design Seo
Bellatrix, your problem will be fixed for sure to monday. Please, keep plugin active on terapiamusicale.eu.
bellatrix
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!
Web Design Seo
bellatrix, is possible to switch off this plugin that compress javascripts and content?
bellatrix
QUOTE (Web Design Seo @ Nov 12 2015, 08:54 AM) *
bellatrix, is possible to switch off this plugin that compress javascripts and content?


Done.
Web Design Seo
Thank you, but switch on our plugin. Now is disabled.
bellatrix
Ops.. sorry. tongue.gif
Web Design Seo
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";
bellatrix
YES!!!!!
Now works!

THANKS!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.

Web Analytics