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?
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.
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?
oh damn, yes, maybe that is the reason, which php version do you use?
PHP version 5.3.10
omg, not again this version. This version is doing trouble all the time. Please update your php to 5.3 latest.
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.
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,
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...
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.
This also effects 2.0.24c :'( :'( :'( :'( :'( :'( :'(
I'm using php 5.3.3-7+squeeze17 and I have the same blank page with VM 2.0.24c....
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, 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?
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, I was trying to make the point that we knew the error; I presumed biolog was merely confirming the same effect without too much repetitive detail and you hadn't read the complete story - but then who knows, it's just my presumption. Anyway. all the best to you.
Oh, yes - more testing and the site seems ok so I suppose that did fix it.
Excellent..
cheers
I just wonder how it happens, looks like some 3rd party extension. But no big deal, we can add it there,.. .the pattern we use in vm is using almost no time. No problem to call it 10 times for nothing it is below any measureable time.