VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: coentrast on January 30, 2012, 17:23:13 PM

Title: Section [edit] Product is not working properly
Post by: coentrast on January 30, 2012, 17:23:13 PM
Hi all,

I'm busy setting up a single product, and when I add a new product the options settings are not working.
I can click on the next item in the [edit] product menu and nothing works. The only thing what I can do is go back to Joomla! -> Components and then choose Virtemart again.
But changes in the product are not saved.  So now I can't upload images and set attributes/options for this product.

I can't find any cache what has to be cleared either, so does anybody please got a solution for this!!

Thanks in advance,

Coen

[attachment cleanup by admin]
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 30, 2012, 20:13:43 PM
ps. just as an edit;
Basically I can't do anything anymore after making a new product. the image isn't uploaded
The whole upper menu doesn't respond on clicks, and I can't edit the product anymore.
The button 'Safe&Close' "Safe' & "Cancel' are also not responding. Clearing Cache, log out and log in again won't help!

I'm using Joomla V1.7.3 and VM2 on a live server in combination with K2-newest version for Joomla 1.7,
the supported image-folder are writable, everything seems to set properly.
Every component works, but I would love to sort this issue ASAP, since my site needs to be up and running....fast =)

Hopefully someone knows that this sis a small fix or what I'm doing wrong.
Cheers,
Coen

[attachment cleanup by admin]
Title: Re: Section [edit] Product is not working properly
Post by: PRO on January 30, 2012, 20:42:56 PM
do you have java errors?
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 30, 2012, 20:53:43 PM
yeah if I check it I get this error:

jQuery.easing[jQuery.easing.def] is not a function
[Break On This Error] eval(function(p,a,c,k,e,r){e=function(...ng|easeInOutBounce'.split('|'),0,{}))

and that's on line 39 in components/com_virtuemart/assets/js/fancybox/jquery.easing-1.3.pack.js

Do you know what the conflict is for this?

Thanks,
Coen
Title: Re: Section [edit] Product is not working properly
Post by: PRO on January 30, 2012, 21:26:35 PM
do you have vmart jquery turned on?
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 30, 2012, 21:58:31 PM
I tried this: http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery (http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery)

"Backend Menu Jquery Conflict
Slightly different, but similar is the problem, when the backend jQuery is broken. You can recognize it when the menu on the left side is completely expanded and when the store/apply has no effect. This happens, when you do not have access to the jQuery of google. So you need to prevent using the jQuery of google. But you can't store the configuration. So you must

edit the virtuemart.cfg file in /administrator/components/com_virtuemart
and change google_jquery=1 to google_jquery=0

Then go in your database and empty the table _virtuemart_adminmenuentries. Just use refresh your backend and the problem should be solved. "

....But that didn't resolve the issues. I've checked my <head> and I got the following jQuery running on the back-end:
<head>

<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="/administrator/templates/bluestork/favicon.ico">
<link type="text/css" href="http://websiteaddress.net/administrator/components/com_virtuemart/assets/css/admin_ui.css" rel="stylesheet">
<link type="text/css" href="http://websiteaddress.net/administrator/components/com_virtuemart/assets/css/admin_menu.css" rel="stylesheet">
<link type="text/css" href="http://websiteaddress.net/administrator/components/com_virtuemart/assets/css/admin.styles.css" rel="stylesheet">
<link type="text/css" href="http://websiteaddress.net/administrator/components/com_virtuemart/assets/css/toolbar_images.css" rel="stylesheet">
<link type="text/css" href="http://websiteaddress.net/administrator/components/com_virtuemart/assets/css/menu_images.css" rel="stylesheet">
<link type="text/css" href="/components/com_virtuemart/assets/css/chosen.css" rel="stylesheet">
<link type="text/css" href="/components/com_virtuemart/assets/css/vtip.css" rel="stylesheet">
<link type="text/css" href="/components/com_virtuemart/assets/js/fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet">
<link type="text/css" href="/components/com_virtuemart/assets/css/ui/jquery.ui.all.css" rel="stylesheet">
<link type="text/css" href="templates/system/css/system.css" rel="stylesheet">
<link type="text/css" href="templates/bluestork/css/template.css" rel="stylesheet">
<style type="text/css">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js">
<script type="text/javascript" src="http://websiteaddress.net/administrator/components/com_virtuemart/assets/js/jquery.ui.autocomplete.html.js">
<script type="text/javascript" src="/media/system/js/core.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/fancybox/jquery.mousewheel-3.0.4.pack.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/fancybox/jquery.easing-1.3.pack.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/fancybox/jquery.fancybox-1.3.4.pack.js">
<script type="text/javascript" src="http://websiteaddress.net/administrator/components/com_virtuemart/assets/js/jquery.coookie.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/chosen.jquery.min.js">
<script type="text/javascript" src="http://websiteaddress.net/administrator/components/com_virtuemart/assets/js/vm2admin.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/i18n/jquery.ui.datepicker-en-GB.js">
<script type="text/javascript" src="/media/system/js/mootools-core.js">
<script type="text/javascript">
</head>


I don't see any double libraries. I've logged in and out, cleared cache but still I can't figure out how to edit a simple product!
Hopefully someone knows how to fix this!?

Thanks
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 31, 2012, 00:09:08 AM
I've also tried to manage the conflict with this plug-in:
Plug-in Manager: System - "jQuery Easy" to set the jQuery Libraries front end and back end,
but that's not working either.

so it's a jQuery conflict when I go to the settings of a product, then all jQuery in the product navigation menu stops working?!
I mean I didn't do anything crazy with Joomla! just a basic setup with examples data and Joomla1.7 so I don't see why this ain't working.
Maybe I have to try something else although I like the options within Virtuemart and the pretty good community...
Anyone got any ideas to get the backend working? that would be awesome =)

Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 31, 2012, 15:05:00 PM
new day new chance, anybody knows how to organize your jQuery on the back-end???
Title: Re: Section [edit] Product is not working properly
Post by: Milbo on January 31, 2012, 21:46:55 PM
do you use j2.5
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on January 31, 2012, 21:48:48 PM
no I used J1.7
Title: Re: Section [edit] Product is not working properly
Post by: coentrast on February 01, 2012, 22:10:12 PM
aaaaand another day is gone =)
Is the issue 1.7 and do I have to upgrade to Joomla 2.5 because Virtuemart jQuery is conflicting in J1.7 with VM2???
Title: Re: Section [edit] Product is not working properly
Post by: Milbo on February 01, 2012, 23:22:48 PM
No the reason I asked for is that this is a typical error atm with j2.5.

I must admit, I didnt paid correct attention to your problem and what I read is really curious :-)

Quote from: coentrast on January 30, 2012, 21:58:31 PM
I tried this: http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery (http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery)

"Backend Menu Jquery Conflict
Slightly different, but similar is the problem, when the backend jQuery is broken. You can recognize it when the menu on the left side is completely expanded and when the store/apply has no effect. This happens, when you do not have access to the jQuery of google. So you need to prevent using the jQuery of google. But you can't store the configuration. So you must

edit the virtuemart.cfg file in /administrator/components/com_virtuemart
and change google_jquery=1 to google_jquery=0

Then go in your database and empty the table _virtuemart_adminmenuentries. Just use refresh your backend and the problem should be solved. "

....But that didn't resolve the issues. I've checked my <head> and I got the following jQuery running on the back-end:


<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js">

</head>


I don't see any double libraries. I've logged in and out, cleared cache but still I can't figure out how to edit a simple product!
Hopefully someone knows how to fix this!?

Thanks


Really well done, yes. But the strange thing is that it still tries to load the google api. I remember that I did that also one time travelling with my netbook :-)  and it worked! And I just wanted to write, hey of course you must delete your session and logout. But you tried it and it does not work. Strange. But maybe your system recognise you and takes the session from the table "jos_session", so delete there your session. It does not really harm to delete all entries. So logout and empty the table.


Title: Re: Section [edit] Product is not working properly
Post by: lostsoul on June 20, 2012, 18:00:36 PM
I have this mysterious problem too in backend, I am using VM2 2.0.6 , Joomla! 2.5.6:
- the left menu column in VM is expanded
- if I add product, then I add custom field it is ok, but I cant delete any custom field in product
- the tabs arent working in VM, content of every tab is each under ...

It should be a problem with jquery? I dont have any library twice loaded. I checked/unchecked VM jquery in settings, I checked/unchecked load jquery from google ... nothing! same issue ...
(I did this trick above.. I made backup, then google jquery to "0", then empty the adminmenuentries ... after this left VM menu column wasnt there, there was a empty space, so I imported back, the content of the deleted table, menu left is there, but same issue, it is expanded )

Im feeling lost from this :( check/uncheck jquery ...atc .. :( :(

Does somebody have idea what should I do? ...almost 2weeks trying and trying, and searching this forum .. thanks
Title: Re: Section [edit] Product is not working properly
Post by: bogusj on June 21, 2012, 12:25:21 PM
Hi,

I had the same problem so I did this:
Quote from: Milbo on February 01, 2012, 23:22:48 PM
Then go in your database and empty the table _virtuemart_adminmenuentries. Just use refresh your backend and the problem should be solved. "

Now I have no menu in VM. Any ideas?

And of course it did not work. Still the tabs do not work and I have error:  jQuery.easing[jQuery.easing.def] is not a function
Code: .../components/com_virtuemart/assets/js/fancybox/jquery.easing-1.3.pack.js
Line: 39

Edit: I imported the table back from the installation script, however I still have a big problem with the error, since I am unable to edit a product, or write multilingual description. Please help.
Title: Re: Section [edit] Product is not working properly
Post by: bogusj on June 23, 2012, 11:17:17 AM
Please anybody? We are stuck here. :-(
Title: Re: Section [edit] Product is not working properly
Post by: Sunglasses-Joe on June 23, 2012, 13:29:58 PM
I have the same problem,
All started when I tried to install install cookie monster, had an error which was a jQuery problem aparently so I followed instuctions here as suggested
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery

However, I have un-done what i did as far as I can, and still have no menu in VM admin ?

JM 2.5.4
VM 2.0.6
PS I was also advised to change my PHP version to 5.3.13 , so I did !!!

PHP Built On    Linux serv01.siteground317.com 2.6.38.6-sg4-nomm-nogrsec #1 SMP Wed May 18 08:51:09 CDT 2011 i686
Database Version    5.0.91mm-log
Database Collation    utf8_general_ci
PHP Version    5.3.13
Web Server    Apache/1.3.42 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1

Joe
Title: Re: Section [edit] Product is not working properly
Post by: bogusj on June 25, 2012, 11:17:16 AM
Hate to be a bumper, but we have a serious problem here.
Title: Re: Section [edit] Product is not working properly
Post by: bogusj on June 26, 2012, 16:47:30 PM
Update: Today the problem has "magically" been resolved. I don't know what fixed it. Either the update of Joomla, or maybe because I changed /var/lib/php/session directory to 777 from 770, because I also had a problem while installing Joomla. Try it and let me know.