Register |
Your Cart is currently empty.
Home > Forum
Welcome, Guest

mootools issue ???
(1 viewing) (1) Guest

Dear Customers,

Feel free to submit requests if you have any questions or need assistance.

Before submitting a support request, please pay attention to the description of the corresponding product and frequently asked questions. Answers you are looking for may already be there.
When submitting a request, please include as many details on the problem as you can. This will help us understand the essence and provide you with a helpful solution.
For more information on our support conditions, view JoomPlace support policy.
THANKS FOR YOUR PATIENCE!
  • Page:
  • 1

TOPIC: mootools issue ???

mootools issue ??? 2 years, 11 months ago #10688

Hi,

I've bought your component many months ago, and i just take time to install it this week ...

But i get into problems ...

Apparently there is mootools version issue ...

My website already use mootolls for various html and ajax functrionnalities.

When i publish the module, i get into javascript errors :

message: Statement on line 4: Undefined variable: Ajax
Backtrace:
Line 4 of inline#7 script in http://www.kelbio.com/component
/cc,0/page,shop.product_details/flypage,shop.flypag
product_id,1312/category_id,151/manufacturer_id,0
/option,com_virtuemart/Itemid,37/
var xhrs = [ new Ajax(url, { method:
'get', update: 'pr_0', onFailure:function(msg){
window.setTimeout('xhrs[0].request();',3000); } ,onComplete:
function(resp){ if(resp.indexOf("Warning")>-1 ||
resp.indexOf("Could not connect to the database")>-1 ) {
$('pr_0').setHTML('<br><br><br>&nbsp;&nbsp;&nbsp;<img
src="http://www.kelbio.com/modules/mod_customerswhobought/images
/spinner.gif" width="16" height="16" />'
); xhrs[0].request(); }
} } ) , new Ajax(url, { method: 'get', update: 'pr_1',
onFailure:function(msg){
window.setTimeout('xhrs[1].request();',3000); } ,onComplete:
function(resp){ if(resp.indexOf("Warning")>-1 ||
resp.indexOf("Could not connect to the database")>-1 ) {
$('pr_1').setHTML('<br><br><br>&nbsp;&nbsp;&nbsp;<img
src="http://www.kelbio.com/modules/mod_customerswhobought/images
/spinner.gif" width="16" height="16" />'
); xhrs[1].request(); }
} } ) , new Ajax(url, { method: 'get', update: 'pr_2',
onFailure:function(msg){
window.setTimeout('xhrs[2].request();',3000); } ,onComplete:
function(resp){ if(resp.indexOf("Warning")>-1 ||
resp.indexOf("Could not connect to the database")>-1 ) {
$('pr_2').setHTML('<br><br><br>&nbsp;&nbsp;&nbsp;<img
src="http://www.kelbio.com/modules/mod_customerswhobought/images
/spinner.gif" width="16" height="16" />'
); xhrs[2].request(); }
} } ) ];


Please could you help fix that problem ? I really need to use this component now ...

Best regards,

Alain Deseine.
Last Edit: 2 years, 11 months ago by Ann.

Re:mootools issue ??? 2 years, 11 months ago #10696

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi!
This issue was in fact already addresses in the latest versions of the component.
So it's most likely that one of your many scripts is causing a conflict. To say smth for sure we'll need a temporary admin access to your site (you can send it to support@joomplace.com with this thread's link) and we'll assist then.

Kind regards!
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re:mootools issue ??? 2 years, 11 months ago #10697

Hi,

Thanks for response.

The current installed version on my site is : 1.0.2

Is it the last one ?

What i done is commenting your mootools.js call in the mod_customerswhobought.php file :

			<?php if (!_JOOMLA15){ ?>
<!-- <script type="text/javascript"
src="<?php echo $mosConfig_live_site ?>/modules
/mod_customerswhobought/mootools.js"
></script> -->
 


Because if i don't do that others module that use mootools don't work anymore.

My mootools version is 1.2.0
var MooTools=
{version:"1.2.0",build:""};
and yours is
var 
MooTools={version:"1.2dev",build:"1381"};


The main problem is that there is no reference to Ajax object in my mootools.js file.

I can't give you an access to the administration backend because the website is a production online shop and there is security issues.

Was it possible to have a newer mootolls version that comply both yours an my modules ?

Best regards,

Alain Deseine.
Last Edit: 2 years, 11 months ago by Ann.

Re:mootools issue ??? 2 years, 11 months ago #10698

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi Alain!
The latest version is 1.0.6 so you should probably upgrade.
You should be able to find the latest archive in your members area (the Download button), the component is now encoded with ioncube so pls check our Requirements page to get some instructions on how to install the ioncube loader on your server.

And the component does not use Mootools, but uses jquery-1.2.6 in the Mootools-compatible mode.
Kind regards!
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re:mootools issue ??? 2 years, 11 months ago #10701

I've download and install the 1.0.6 component & module, and installed the license key without any problem.

But when i publish the module i get

 
 
Array
(
[DOCUMENT_ROOT] => /sites/kipbio/www/htdocs
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application
/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
[HTTP_CONNECTION] => keep-alive
[HTTP_COOKIE] => VMCHECK=OK;
__utmz=213332750.1235419084.94.11.utmcsr=yahoo|utmccn=
(organic)|utmcmd=organic|utmctr=lavera%20cosmetiques;
__utma=213332750.3832463277089142300.1232895665.1235402309.1235416956.94;
CEI=dd8fcfa20ee6d5ecae9c3a500fa506db;
da839a9f12ddab3d6615a4887667205a=990fa0af4784ac0c6404ca0dd882b3be;
KEL=dd8fcfa20ee6d5ecae9c3a500fa506db; VMCHECK=OK;
virtuemart=dd8fcfa20ee6d5ecae9c3a500fa506db; webfxtab_content-
pane=1; dfba4b2c6527b8a1b041e9dce46457b6=7c2167cf94818ce9b24c8e2c18eec2e2;
__utmc=213332750; __utmb=213332750.19.10.1235416956;
webfxtab_testPane=1
[HTTP_HOST] => www.kelbio.com
[HTTP_KEEP_ALIVE] => 300
[HTTP_REFERER] => http://www.kelbio.com/component
/cc,0/option,com_virtuemart/page,shop.browse/category_id,151
/Itemid,37/
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1;
fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR
3.5.30729)
[PATH] => /sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:
/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:
/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
[REDIRECT_SCRIPT_URI] => http://www.kelbio.com/component
/cc,0/page,shop.product_details/flypage,shop.flypage
/product_id,1312/category_id,151/manufacturer_id,0
/option,com_virtuemart/Itemid,37/
[REDIRECT_SCRIPT_URL] => /component
/cc,0/page,shop.product_details/flypage,shop.flypage
/product_id,1312/category_id,151/manufacturer_id,0
/option,com_virtuemart/Itemid,37/
[REDIRECT_STATUS] => 200
[REDIRECT_UNIQUE_ID] => SaMFxMPW9XgAAGSuIos
[REDIRECT_URL] => /component/cc,0/page,shop.product_details
/flypage,shop.flypage/product_id,1312/category_id,151
/manufacturer_id,0/option,com_virtuemart/Itemid,37/
[REMOTE_ADDR] => 193.253.32.35
[REMOTE_PORT] => 26887
[SCRIPT_FILENAME] => /sites/kipbio/www/htdocs/index.php
[SCRIPT_URI] => http://www.kelbio.com/component
/cc,0/page,shop.product_details/flypage,shop.flypage
/product_id,1312/category_id,151/manufacturer_id,0
/option,com_virtuemart/Itemid,37/
[SCRIPT_URL] => /component/cc,0/page,shop.product_details
/flypage,shop.flypage/product_id,1312/category_id,151
/manufacturer_id,0/option,com_virtuemart/Itemid,37/
[SERVER_ADDR] => 195.214.245.29
[SERVER_ADMIN] => webmaster@kelbio.com
[SERVER_NAME] => www.kelbio.com
[SERVER_PORT] => 80
[SERVER_SIGNATURE] =>
Apache/1.3.39 Server at www.kelbio.com Port 80
 
 
[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => SaMFxMPW9XgAAGSuIos
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => cc=0&page=shop.product_details&
flypage=shop.flypage&product_id=1312&category_id=151&
manufacturer_id=0&option=com_virtuemart&Itemid=37
[REQUEST_URI] => /index.php?cc=0&page=shop.product_details&
flypage=shop.flypage&product_id=1312&category_id=151&
manufacturer_id=0&option=com_virtuemart&Itemid=37
[SCRIPT_NAME] => /index.php
[PATH_TRANSLATED] => /sites/kipbio/www/htdocs/index.php
[PHP_SELF] => /index.php
[REQUEST_TIME] => 1235420612
[argv] => Array
(
)
 
[argc] => 0
)
 


On my page at the place of the module should appear ...

Apparently when getting html source code, got this print_r image and then javacsript code. I attach html source to this post.

File Attachment:

File Name: page.txt
File Size: 56890


Did i miss something ?

Best regards,

Alain Deseine.
Last Edit: 2 years, 11 months ago by Ann.

Re:mootools issue ??? 2 years, 11 months ago #10705

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi!
What we can think of is that your template connects a bunch of scripts on certain pages that are not being used,
but do conflict with our script. If you provide the temporary admin access to support@joomplace.com together
with the thread link, we'll set it up although it's not the component's flaw actually.

kind regards!
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re:mootools issue ??? 2 years, 11 months ago #10786

Hi,

Come back on, this problem after some weeks ...

I've found the last problem.

There is a print_r trace on the mod_customerswhobought.php file at line 130 ...

I've comment this line and every things ok withthis problem !

But get into other problems.

Now, when i publish the module and go to a product page that i know product was buy today, nothing appear ...

I've import all the products in the jos_vmscrollbar table.

Here is the configuration :

real_analisis=1
nonreal_analisis=0
count_product_pages=5
count_product_all_pages=20
count_day_buy=7
factor=1
title=
thumbnail_picure_use=1
height_picture=90
width_picture=70
show_price_use=1
show_addcart_use=0
show_addcart_image_use=add-to-cart_blue.gif
_VMSB_LISTPRODUCTFORANALISIS=Product list for analysis
_VMSB_LISTPRODUCT=Product list
_VMSB_ADD= Add
_VMSB_DELETE=Delete >>
_VMSB_SELECTITEM=Please, select an item in the list!
_VMSB_FINDDUBLICATE=The list contains identical elements.
_VMSB_VIRTUALLISTPRODUCT=Virtual product list for analisis
_VMSB_COMP_NAME=Customers Who Bought...
_VMSB_DETECT_VM=Sorry, VirtueMart component is not installed. Please, install VirtueMart version 1.0.13 - 1.0.14
_VMSB_SHOW_ALL_VM=Display products from all categories
_VMSB_ADD_TO_CART=Add to cart
_VMSB_NEXT_VM=Next
_VMSB_PREV_VM=Prev
_VMSB_ALL_VM=All
_VMSB_OF_VM=of
_VMSB_PAGE_VM=Page
_VMSB_ITEM_ADDED_SUC=Item added to cart successfully. Do you want to go to the cart page?
_VMSB_YOUNEED_ADD_FEAT=You need to select additional product features in order to add the product to cart. Do you want to go to the product`s page?
_VMSB_YOUNEED_ADD_FEAT__SHORT=You need to select additional product features on the product`s page in order to add the product to cart.


When i firebug the page, i can see 8 ajax calls :

- 1 -

Parameters :
category_id 0
max_page 20
no_html 1
noice 0.6416240160426208
option com_customerswhobought
product 5
product_id 1867
task ajax
total 1
typea 1

Response : 0

- 2 -

Parameters :

mode text
no_html 1
noice 0.2974927233649066
option com_customerswhobought
task ajax

Response : <br /><table width="100%"><tr><td style="text-align:center; "> Powered by <span title="Elearningforce"
><a target="_blank" title="Elearningforce" href="www.joomplace.com/">Joomla Module</a></span
> Customers Who Bought Software 1.0.6.</td></tr></table>

- 3 -

Parameters :

category_id -1
max_page 20
no_html 1
noice 0.7411820073632479
option com_customerswhobought
product 5
product_id 1867
task ajax
typea 1

Response : [nothing]

- 4 -

Parameters :

category_id 0
flypage shop.flypage
itemid 37
limitview 0
no_html 1
noice 0.19354791634603874
option com_customerswhobought
page shop.product_details
product 1
product_id 1867
task ajax
typea 1

Response : [nothing]

- 5 -

Parameters :

category_id 0
flypage shop.flypage
itemid 37
limitview 0
no_html 1
noice 0.19354791634603874
option com_customerswhobought
page shop.product_details
product 2
product_id 1867
task ajax
typea 1

Response : [nothing]

- 6 -

Parameters :

category_id 0
flypage shop.flypage
itemid 37
limitview 0
no_html 1
noice 0.19354791634603874
option com_customerswhobought
page shop.product_details
product 3
product_id 1867
task ajax
typea 1

Response : [nothing]

- 7 -

Parameters :

category_id 0
flypage shop.flypage
itemid 37
limitview 0
no_html 1
noice 0.19354791634603874
option com_customerswhobought
page shop.product_details
product 4
product_id 1867
task ajax
typea 1

Response : [nothing]

- 8 -

Parameters :

category_id 0
flypage shop.flypage
itemid 37
limitview 0
no_html 1
noice 0.19354791634603874
option com_customerswhobought
page shop.product_details
product 5
product_id 1867
task ajax
typea 1

Response : [nothing]

Could you please help me, there is many month i bought your components and i can't use it.

If it was a param problem, you will be able to detect it with these informations.

You can ask me anything to complete this report, but i definitively can't give you an admin access to the website.

Regards.

Re:mootools issue ??? 2 years, 10 months ago #10794

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi!
As long as you modified the code, we're not sure whether you have a standard or a modified version, that's why we'll need a temporary admin access to your site to check it and fix. Please provide it to support@joomplace.com together with this thread's link.

And the principle of how the module-component operates:
If together with the product where we are now other products were purchased (meaning one order), then they will be shown in the module.

Kind regards!
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re:mootools issue ??? 2 years, 10 months ago #10805

What a pain !

As i previously write, i can't give you an admin access to the site for security reasons.

I can't mind you can't understand that ...

Also, i can't understand what a joomla admin access will give you as i gave you parameters of your components and firebug races ...

It's kind of a poor compmonent if we can't install it wihtout you access or modify your scripts !

The only things i can do is setting up a mirror site and give you joomla access to it.

Was this ok for you ?
  • Page:
  • 1
Moderators: Maria_B
Time to create page: 0.83 seconds