News:

Support the VirtueMart project and become a member

Main Menu

vm 2.0.26d to v2.6.10

Started by zainabubu, September 25, 2014, 01:42:25 AM

Previous topic - Next topic

zainabubu

Hello,

I was advised to update from vm 2.0.26d to vm2.6.10 and now my entire site is blank. I use joomla 2.5.25, searching for help through forums have not helped in anyway, please help. "I do have a back up of site, I just want to get this working as soon as possible"

GJC Web Design

Basically there is no "solution" until you find the error - all errors are logged somewhere.. once you find it you can proceed..
This has been answered multiple times on here (by me and others) of the steps u need to take to find your fatal error...
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

zainabubu

Fatal error: Cannot redeclare class VmImage in administrator/components/com_virtuemart/helpers/image.php on line 200

GJC Web Design

that means the class VmImage has already been declared some where

As 1000's are using 2.6.10 successfully it has to be something particular to your install .. extension, plugin etc

start disabling stuff that isn't part of the core  (or it is a corrupt install - try a reinstall - assume u have done the AOI and used the normal Joomla installer)
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

zainabubu

What do you mean by "that isn't part of the core?" I installed about 3 times now, same result.

GJC Web Design

something particular to your install .. extension, plugin, template over ride etc
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

zainabubu

ok, so I found the culprit, plg_system_vm2_cart. And the site loaded. Now when I click on add to cart, the pop up is very tiny. Please see attachment.

[attachment cleanup by admin]

coxi

Hi,
I have exactly the same problem, upgrading from J 2.5.17 to J 2.5.25 then upgrading VM from 2.0.26d to 2.6.10... and have now a blank page with nothing else.
Even I shut down VM compoment and plugins, the site stay blank.

The only conclusion is that this is not your fault... and not mine ! Issue come from VM.

I apologize for not having a solution. Hope you will find something and share it.

regard,
Alain.

zainabubu

I already fixed it..the issue was plg_system_vm2_cart plugin. I disabled it and all went back to normal. Do you have your php.ini show errors et al? Once i did that, I was able to use the error message to find the issue with the help of GJC. So first spot what the error is then fix...good luck!

GJC Web Design

@zainabubu - there must be css in your template over riding the facebox or fancybox (what ever one your using) - looks like a GK template  - test always first with staandard beez - then you know where the culprit lies
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

zainabubu

I use GK and I have been using the template for my site because I do not want to use the one by virtuemart. Using Fancybox striped the css off pop up box.
I will test the other templates around 2am my time when user activity is low.

GJC Web Design

not saying to use Beez - but use it as a base line to find what is over riding the modal
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

Milbo

Quote from: zainabubu on September 25, 2014, 02:13:20 AM
Fatal error: Cannot redeclare class VmImage in administrator/components/com_virtuemart/helpers/image.php on line 200

search in your plugin for image.php. There is a line like require(VMPATH_ADMIN.DS.'helpers'.DS.'image.php'); just use instead

if (!class_exists('VmImage')) require(VMPATH_ADMIN.DS.'helpers'.DS.'image.php');
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

coxi

Hi,
Thank for answer.
I deleted all by job (on backuped site) and restart with 2.5.17 --> 2.5.25 then VM 2.0.26d to 2.9.9c (instead of 2.0.26d to 2.6.6). Result is the same.

On front end, I just have a blanck page. Using "inspect element" in chrome navigator says there is no code...
## <body><span class="_hsShareImage hsShareImage">Share Image</span></body>

I search for a plg_system_vm2_cart plugin, but didn't find anything in my site like that ? Strange.

I continue to shut down plugin, one by one.

regards. Alain.

jenkinhill

Turn on VMdebug (Enable debugging messages  in Config/Shop) and see if there is an error message displayed on your blank page.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum