Hi!
It seems I can't save anything in back-end. Everytime I need to press "save" (or apply/cancel) button nothing happed. There is no error message, it seems like I just can't press that save button.
I have clean 1.9.8 install that I have upgraded everytime there has been new version present. I also have Joomla 1.5.23.
Few days ago I had problem with shopping cart (solved now, by the help of the developers) and I haven't try to use back-end after that. So this may have come up when I fix that other problem by installin all-in-one 1.9.8g. I have changed joomla template today but never the less it dosen't work anymore with old template either.
Any idea how to solve this one?
Ps. On the back-end I can change currensies and countries (enabled or not), the problem is with all those pages that have save/apply/cancel button.
king regards
Venkko
Hmm this buttons are done by joomla using mootools for it. Afaik we do not interfere here.
Hi!
Problem is only in VM, not on the Joomla back-end.
I did get these error lines with Explorer. I know it is little bit difficult to read as they are on finnish, but here are some translations.
Objekti ei tue tätä ominaisuutta tai menetelmää = Object does not support this property or method
sanoma = message
rivi = line
merkki = sign
koodi = code
WWW-sivun virhetiedot
Käyttäjäagentti: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
Aikaleimaus: Tue, 20 Sep 2011 12:44:12 UTC
Sanoma: Objekti ei tue tätä ominaisuutta tai menetelmää
Rivi: 228
Merkki: 3
Koodi: 0
URI: http://www.luomupuuvilla.fi/administrator/components/com_virtuemart/assets/js/vm2admin.js
Sanoma: Objekti ei tue tätä ominaisuutta tai menetelmää
Rivi: 89
Merkki: 4
Koodi: 0
URI: http://www.luomupuuvilla.fi/administrator/index.php?option=com_virtuemart&view=config
Sanoma: Objekti ei tue tätä ominaisuutta tai menetelmää
Rivi: 89
Merkki: 4
Koodi: 0
URI: http://www.luomupuuvilla.fi/administrator/index.php?option=com_virtuemart&view=config
Sanoma: Objekti ei tue tätä ominaisuutta tai menetelmää
Rivi: 87
Merkki: 4
Koodi: 0
URI: http://www.luomupuuvilla.fi/administrator/index.php?option=com_virtuemart&view=config
Sanoma: Objekti ei tue tätä ominaisuutta tai menetelmää
Rivi: 89
Merkki: 4
Koodi: 0
URI: http://www.luomupuuvilla.fi/administrator/index.php?option=com_virtuemart&view=config
.
.
.
EDIT: Cut off rest of that error message...
I did try to solve this by uninstalling VM and VM allinone from extensions -> install/uninstall.
On frist time I uninstall everything i could and reinstall 1.9.8G --> After trying it out VM didn't work.
On the second time I uninstall everything and reinstall 1.9.8C --> Everything worked out just fine
After upgradeing 1.9.8C to 1.9.8G I once again wasn't able to save any VM page.
So somehow this is related to that 1.9.8G.
Hi,
Can you test on Firefox , PLZ ?
TO know if it's a general error or something to do with Internet Explorer
Thanks,
Patrick
P.S: i have do a test in last revision IE9.0 with success.
Hi!
I have test it with Firefox (I mainly use firefox, did just try would it work with IE).
EDIT: and did not work :)
EDIT 2: And if you need access to the back-end, let me know.
I am having the same problem. I worked fine on my desk top but once I uploaded to my host site, all the buttons in the backend stop working. The dropdown boxes for State code nothing works. I have tried IE8, chrome and Firefox 6 but they all do the same. I need help before I can go any futher.
You may post the adress to your pages or sent it via pn to us.
Same problem here .
i am posting server data if it could help.
OS:Linux a, PHP: 5.2.17, MySQL:5.1.56, Caching:Disabled, GZip:Disabled
Cant save cant cancel
Quote from: mabeall32 on September 30, 2011, 16:21:25 PM
I am having the same problem. I worked fine on my desk top but once I uploaded to my host site, all the buttons in the backend stop working. The dropdown boxes for State code nothing works. I have tried IE8, chrome and Firefox 6 but they all do the same. I need help before I can go any futher.
Okey I took a look in your BE, the jQuery is not working (admin menue is completley expaned, means almost always jquery problem. The strange thing is that I cant find the reason for it, only the error message $.cookie is not a function. Maybe Patrick knows. I just assume that your server has some problems with cookies
the 1.9.8f version works on the server, so it something that change between f and g.
Hello,
Experienced the same problem after upgrading to G. Using J1.7, XAMPP 1.7.3. Tried on IE and Firefox. Thanks for looking into!
Hi,
First you can test is to swap from google jQuery to local one or vice-versa
Hi Electrocity
How does one do that? Bearing in mind I can't save any changes in the backend.
Thanks
Do the change in the config file, use the refresh config by file button in the tools.
by refresh the config file in the tools i understand to modify a config file for the shop.
the only .cfg file that is beeing installed in the administrator/components/virtuemart is the virtuemart_defaults.cfg
i modify it and no changes happen.
so the only way to modify the config is to reinstal the virtuemart with different defaults. :/
i cant save so i also cant tick the "Enable database Update tools "
and i cant save so i cant pretty much do anything to the config options.
where is it located? i dont have any other .cfg nor .cfg.php in the administrator/component/virtue location...
thx in advance
if needed i could grant u with pm access to the Backend...
I trying to do it and have a site on my desktop that is working, but when I change the config file, nothing happens on server. I look in the vituemart_defaults.cfg and I don't see a setting for jquery. is it somewhere else?
this is where I think it should be, based on how the other switches are layout. but this layout doesn't have anything about jquery
[config]
##shop settings
shop_is_offline=0
offline_message=Our Shop is currently down for maintenance. Please check back again soon.
use_as_catalog=0
currency_converter_module=convertECB.php
order_mail_html=1
dateformat=%m/%d/%y
dangeroustools=1
debug_enable=none
##Shopfront
pdf_button_enable=1
I've exactly the same problem with J1.7.1 german on inmotionhosting.com here. :(
All components save VM work fine.
Quote from: meinekatze on October 03, 2011, 17:12:38 PM
I've exactly the same problem with J1.7.1 german on inmotionhosting.com here. :(
All components save VM work fine.
IE spits out: object does not support this property or method, Line 124, character: 4
firebug:
jQuery.cookie is not a function
[Bei diesem Fehler anhalten] jQuery.cookie('vmapply', '0', options);
The answer is quite easy.
The file provided with the installer is the virtuemart_defaults.cfg-dist. The config tries to get the config from the database, when there is not data, it tries to take it from the the virtuemart_defaults.cfg, when there is not file it takes it from the virtuemart_defaults.cfg-dist. Why we do that?
We do the copy of the config file because in the other case it would be overwritten by the installer and cant be used as a fall back file. The normal config is stored in the db, because it is faster than a file.
So when you want to change the config with the file, then you have to use in the BE, "Tools and Migration", first tab the command "renew config by file".
This command is quite useful.
OK I click the renew config by file button, It updated so there is a check in update database but it still doesn't let me change anthing.
I've made a new 1.7.1 install (EN). Same result. So 3rd party plugins beside the standard install shouldnt be the reason.
Because the file is not correctly updated, you must add
google_jquery=0
or wait for the new version
Thanks Milbo. It's beyond me ... any indication of when the new version might be out?
Patrick heavily rewrote the custom field stuff. We test it today and we should have the release this evening.
Any news? :) because i'm a bit stranded with this issue.
cheers
i install virtuemrt on two diffrent server with same version af joomla and virtuemart
but one of them save not work and another one work
i attach php info for assistant
virtuemart not work on that server that lastst version of php and mysql installed
[attachment cleanup by admin]
its not fixed on new version also :((
Quote from: jacob.arlington on October 08, 2011, 05:06:15 AM
its not fixed on new version also :((
It seems you did not understand. The problem is not in virtuemart, the problem is your server. Either you load some extra jquery or your provider blockes the google jquery.
The problem seems sufficiently widespread to address seriously, with detailed instructions on how to overcome the problem.
On October 4 you said: "Because the file is not correctly updated, you must add
google_jquery=0
or wait for the new version"
Well, the new version doesn't address it.
I have a dedicated server at Rochen and use a JAT3 template. I don't experience this kind of problem anywhere else.
Wait for the new version to see the google_jquery=1 in the file, which name is now virtuemart.cfg and not virtuemart_default.cfg
Quote from: capeinfo on October 08, 2011, 10:16:52 AM
I have a dedicated server at Rochen and use a JAT3 template. I don't experience this kind of problem anywhere else.
Disable your template, or the jquery of your template
Hi Milbo,
I've a clean 1.7.1 install. I've tried with any of the Joomla standard Templates (which should work with VM). Google jquery works.
I had no luck with any of the settings, jQuery++ (at any position), and so forth.
Apache version 2.2.20
PHP version 5.2.17
MySQL version 5.0.92-community-log
Is there anyone with a working BE?
cheers
I know that at least 15 people have a working BE. We have already more than 100 downloads of the H version. So you can assume that maybe 5% have this problem.
and everytime we found out that these people have problems like,
- google is blocked (china for example)
- another jQuery is loaded by
* template
* some extension
What means google jQuery works? You may install firebug and post here the error in your browser
so far the H version have cleared up my problems. thanks for the great work
thanks for your efforts.
google jquery is (here) not blocked and using a local does not make a difference either.
might be a conflict but i can't figure this out.
first error is on load, second at click.
(http://img820.imageshack.us/img820/3756/123wlw.png)
thank you.
fwiw: 1.1.9 on J1.5.x is running perfectly.
Quote from: mabeall32 on October 08, 2011, 18:07:24 PM
so far the H version have cleared up my problems. thanks for the great work
could you please tell me your current configuration/alterations?
local jquery?
thanks
I'm new at this, how do I get the information.
did you install H on a fresh installed 1.7 or update G with a local copy of jquery like recommended by Milbo?
I went from F to H
Quote from: Milbo on October 08, 2011, 18:03:24 PM
I know that at least 15 people have a working BE. We have already more than 100 downloads of the H version.
Did I wrote 100? sorry, I meant 1000.
"with a local copy of jquery" ?
You dont need to install anything you, just uncheck the option in the config (or file)
:( even more depressing.
pointing to a local copy was plan #whatever after so many tries.
I'm having the same problem in Joomla 1.7 and VM 2.0.0-RC-2H.
- I've turned off all plugins (that can be turned off)
I've tried turning the Google JQuery on and off. No difference.
I've done a FRESH install with nothing but VM and had the same problem.
Turned off the native Mootools (see the post by AmyStephen on http://forum.joomla.org/viewtopic.php?p=1993832 for method)
I'm left believing that this must be a server conflict of some sort, because I can't imagine everyone's having this problem. Any ideas on known server library conflicts? I have direct access to the server and can modify anything necessary to make this work.
aboutimage, was vendor defined? Turn on joomla debug mode.
Try to replace
#__templates_styles
with
#__template_styles
in /administrator/components/com_virtuemart/models/config.php .
thanks for your help constantined.
While in debug mode an with your edit it works.
Outside debug mode not.
***
i figured out it's only in language debug.
***
Debug in PM.
thank you & cheers
Quote from: constantined on October 09, 2011, 09:27:17 AM
Turned off the native Mootools (see the post by AmyStephen on http://forum.joomla.org/viewtopic.php?p=1993832 for method)
This can be bad in j1.7. The save buttons are provided by joomla and run afaik still with mootools
Milbo, in my j1.7 mootools works fine.
meinekatze, what message you get from VM when add category? Try to change "Display #" value at "Products"->"Product Categories"
upd: Hoster added ".cookie." word to url filter. It's blow my mind.
in products i get no currency defined errors.
however, it doesnt save my settings when i try to add them.
maybe it helps you to take a look.
i've sent login to test account.
thank you
twimc
constantined dug into the case and found the error and a fix.
theres a ".cookie." word filter running.
atm i'm trying to figure out if this is hoster sided.
constantineds fix:
rename jquery.cookie.js to jquery.coookie.js
/administrator/components/com_virtuemart/helpers/adminui.php line 48
replace jquery.cookie.js with jquery.coookie.js
thanks again for anyones efforts.
cheers
I'm confused --- rename the file to the same name?
3 Times "o". ;)
I can confirm, constantined's cookie fix actually works:
Quoteconstantined dug into the case and found the error and a fix.
theres a ".cookie." word filter running.
atm i'm trying to figure out if this is hoster sided.
constantineds fix:
rename jquery.cookie.js to jquery.coookie.js
/administrator/components/com_virtuemart/helpers/adminui.php line 48
replace jquery.cookie.js with jquery.coookie.js
Thanks VERY much, and I think this particular issue needs to be looked at by the VM folks. Many, many hours of frustration came before this fix, and I would have never guessed it. Constantined, how the heck did you figure this out!!!!????
Just looked at javascript console ;D
I have a follow-up on this, as I believe I may have found the actual source of the problem: mod_security
Logged into my server in SSH: cat /usr/local/apache/logs/error_log |grep cookie.js
gives me a LOT of the following error:
[Sun Oct 09 11:06:29 2011] [error] [client 59.69.79.189] ModSecurity: Access denied with code 406 (phase 2). Pattern match "(?:\\\\b(?:(?:type\\\\b\\\\W*?\\\\b(?:text\\\\b\\\\W*?\\\\b(?:j(?:ava)?|ecma|vb)|application\\\\b\\\\W*?\\\\bx-(?:java|vb))script|c(?:opyparentfolder|reatetextrange)|get(?:special|parent)folder|iframe\\\\b.{0,100}?\\\\bsrc)\\\\b|on(?:(?:mo(?:use(?:o(?:ver|ut)|down|move|up)|ve)| ..." at REQUEST_FILENAME. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "117"] [id "950004"] [msg "Cross-site Scripting (XSS) Attack"] [data ".cookie"] [severity "CRITICAL"] [tag "WEB_ATTACK/XSS"] [hostname "www.my-website.com"] [uri "/administrator/components/com_virtuemart/assets/js/jquery.cookie.js"] [unique_id "TpG4dbitTqYACpDqW0cAAAAB"]
So, if you're running your own servers (as I am), you can either rename the files (good temporary solution) or disable your security (not gonna happen). Maybe as a long-term solution, VM can incorporate a code change to make their cookie.js file not look like an XSS attack to mod_security!
Thank you constantined and aboutimage for your research and explanations. So the problem is a filter for the word cookie? LOL and instead you can just use coookie? wow what a nonsense security. It will not prevent any hacker, but makes a lot work for people like us.
Quoteconstantined dug into the case and found the error and a fix.
theres a ".cookie." word filter running.
atm i'm trying to figure out if this is hoster sided.
constantineds fix:
rename jquery.cookie.js to jquery.coookie.js
/administrator/components/com_virtuemart/helpers/adminui.php line 48
replace jquery.cookie.js with jquery.coookie.js
Your solution is now in the code
This surely works for me.
Quote from: jean2013 on February 16, 2012, 14:13:02 PM
Hello everybody :)
I would like to disable the SSL redirection when trying to checkout .
I tried to do this through :
$mainframe = JFactory::getApplication();
$mainframe->redirect(JRoute::_('index.php?option=com_virtuemart&view=cart&task=editshipment',$this->useXHTML,$this->useSSL), $_retVal);
break;
}
}
if ($cart->getInCheckOut()) {
$mainframe = JFactory::getApplication();
$mainframe->redirect('index.php?option=com_virtuemart&view=cart&task=checkout');
}
}
But no, results. Please help me and thank's a lot
I am having sort of the same issue. I can create a product, add all information and save it but my product category does not save. I can save from other select options like shopper group and manufacturer but can't save the category, which is pretty important.
I looking for a solution but if anyone has any suggestions, I will take them!
Thanks