News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Section [edit] Product is not working properly

Started by coentrast, January 30, 2012, 17:23:13 PM

Previous topic - Next topic

coentrast

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]

coentrast

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]

PRO


coentrast

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

PRO


coentrast

I tried this: 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

coentrast

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 =)


coentrast

new day new chance, anybody knows how to organize your jQuery on the back-end???

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


coentrast

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???

Milbo

#11
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

"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.


Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lostsoul

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

bogusj

#13
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.

bogusj