News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart error 1146

Started by Funtshirts, April 01, 2016, 22:24:35 PM

Previous topic - Next topic

Funtshirts

Hello all,

I have a question about an error. Im trying implement Ideal ( a popular Dutch payment method), with an extension called ccideal, but when i go to test it i get the errors shown in the added screenshots.
I really hope someone here knows what causes this problem and can tell me how i can fix it.
After looking on the interwebs I've found some things, but nothing seems to work.

Im using
Joomla 3.5.0
Virtuemart 3.0.14
PHP 5.6.19

I really hope someone can help me out.

GJC Web Design

the problem is what ever is calling this query ( I assume cc ideal thing) isn't "discovering" the site language

the failure is #__virtuemart_products_   it should be in your case  #__virtuemart_products_ nl_nl 

If your sure you have setup the sites languages correctly and everything else is working then ask chilli
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Funtshirts

Hey thanks for your reply.

I checked those database tables. Of all the needed version i have both the en-En and the nl-NL versions.

And so far chill creations don't reply..

GJC Web Design

so the problem is -- if the query comes from the chilli thing - is that the lang detection is failing in their extension
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Funtshirts

They say it probably not related to their extension :(
And atm very slow at responding.

I think there is somewhere something wrong with the language but i cant figure out what.
Would you mind taking a look for me if i give you admin login info?


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Funtshirts


Funtshirts

For anyone who finds this post and wants to know:

for me i had this type of prob 2 times. First time solution was turn off dynamic cache (duhh)

For me this time this was the fix:

For anyone who wants to know, this can be fixed by adding VmConfig::loadConfig(); at line 21 of the file /modules/mod_virtuemart_ajax_cart.php:


defined('_JEXEC') or die('Direct Access to ' . basename(__FILE__) . ' is not allowed.');
if(!class_exists('plgSystemVirtuemart_ajax_cart')){
echo '<p style=" background: #bcdebc; padding:5px;"><b>'.JText::_('WARNING_NOT_INSTALL_PLUGIN').'</b></p>';
return ;
}
if (!class_exists('VmConfig'))
    require(JPATH_ADMINISTRATOR . "/" . 'components' . "/" . 'com_virtuemart' . "/" . 'helpers' . "/" . 'config.php');

VmConfig::loadConfig(); <-------THIS LITTLE PIECE OF CODE

if (!class_exists('VirtueMartCart'))
    require(JPATH_VM_SITE . DS . 'helpers' . DS . 'cart.php');


Credits go to the sh404sef support

GJC Web Design

note:  mod_virtuemart_ajax_cart.php is not part of a standard VM install...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation