News:

Support the VirtueMart project and become a member

Main Menu

Front End Fatal Error after updating to Virtuemart 2.0.24b

Started by Levis, November 21, 2013, 01:43:58 AM

Previous topic - Next topic

Levis

Hi

After updating Virtuemart to the version 2.0.24b, I get a blank page with the following message.

Fatal error: Class 'shopfunctionsF' not found in /home/myuser/public_html/components/com_virtuemart/views/virtuemart/view.html.php on line 158

I tryed different Menu Item Type but with no success.  Do you know what could cause this fatal error?

Milbo

No, the shopfunctionsF is loaded in the virtuemart main controller. If it is not there it seems that you access the virtuemart view without option=com_virtuemart, very strange.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

BenClay

I have a similar problem, it's a capitalisation (capitalization) thing! shopFunctionF is not the same as shopfunctionF. Is there a PHP directive to allow this?

Milbo

oh damn, yes, maybe that is the reason, which php version do you use?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


Milbo

omg, not again this version. This version is doing trouble all the time. Please update your php to 5.3 latest.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

BenClay

I'll have a go at updating the PHP version (and might go quiet for a few days!).

By the way, the capitalisation might have been a red herring. I hacked shopfunctionsF to shopFunctionsF and sill got the Fatal error: Class 'shopFunctionsF' not found in /var/www/vhosts/*****.com/httpdocs/components/com_virtuemart/views/virtuemart/view.html.php on line 158.

Levis

This website is on PHP Version 5.2.17

For now I have revert back to the previous version 2.0.24a until this issue is found and solved. 


Best Regards,

BenClay

More information - another VM site of mine works fine on 2.0.22c and PHP 5.3.10 so maybe the version of PHP was a red herring...

BenClay

I added ...
if(!class_exists('shopFunctionsF'))require(JPATH_VM_SITE.DS.'helpers'.DS.'shopfunctionsf.php'); //dont remove that file it is actually in every view

to the top of view.html.php and **without an exhaustive test** all seems ok.


biolog

I'm using php 5.3.3-7+squeeze17 and I have the same blank page with VM 2.0.24c....

GJC Web Design

You have to find WHAT that fatal error is - logs, ask your host etc etc - all errors will be logged somewhere - then your 80% towards finding the problem..
Just report a white page (500 error) and no one can help you..
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

BenClay

GJC Web Design, a few posts before yours I reported that I still got the Fatal error: Class 'shopFunctionsF' not found in /var/www/vhosts/*****.com/httpdocs/components/com_virtuemart/views/virtuemart/view.html.php on line 158. Does that help you identify the fatal error?

GJC Web Design

but didn't you fix it?

QuoteI added ...
Code: [Select]
if(!class_exists('shopFunctionsF'))require(JPATH_VM_SITE.DS.'helpers'.DS.'shopfunctionsf.php'); //dont remove that file it is actually in every view
to the top of view.html.php and **without an exhaustive test** all seems ok.
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