PHP Fatal error

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Apr 12, 2013 7:10 pm
Reply with quote
Report this post
good, I have a problem with template and is that when I see the details of the product does not see anything, desconfigura. This it is the error that sends to me:
PHP Fatal error: Call to undefined method shopFunctionsF::getAddToCartButton() in /home/aticapru/public_html/templates/gk_storebox/html/com_virtuemart/productdetails/default.php on line 330

Gracias
User avatar
Fresh Boarder

GK User
Sat Apr 13, 2013 10:01 am
Reply with quote
Report this post
Can you please post your virtuemart versions.
Try renaming following folder to make sure if this problem is related with our virtuemart style or if its a generic virtuemart issue.
Code: Select all
/templates/gk_storebox/html/com_virtuemart/

rename to
Code: Select all
/templates/gk_storebox/html/com_virtuemart_test/


This way virtuemart will use its own default style. Then check the product page again and see if error still exists. You can rename the folder back after you check.

See you around...
User avatar
Platinum Boarder

GK User
Sat Apr 13, 2013 6:43 pm
Reply with quote
Report this post
Renaming the folder everything works perfect. That may be happening?
User avatar
Fresh Boarder

GK User
Sat Apr 13, 2013 10:40 pm
Reply with quote
Report this post
Can you please write down your virtuemart version so I can test this. Thank you.

See you around...
User avatar
Platinum Boarder

GK User
Sat Apr 13, 2013 11:00 pm
Reply with quote
Report this post
Hi,
I have the same problem, plus more one:

Warning: Creating default object from empty value in /...../............../........../store/components/com_virtuemart/views/category/view.html.php on line 107 or on line 59

VirtueMart 2.0.20b
User avatar
Fresh Boarder

GK User
Sun Apr 14, 2013 1:44 am
Reply with quote
Report this post
Update version and almost everything perfect. Now the error I have is:

[14-Apr-2013 02:32:42] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0

The problem is that when you add to cart peak in the car there is no product.
They also say that the product images are not resized.
Gracias
User avatar
Fresh Boarder

GK User
Sun Apr 14, 2013 4:58 am
Reply with quote
Report this post
@hermon,

This is related to your hosting server and you should contact your host with this error message. Check if you have an empty "extension =" line in /usr/local/lib/php.ini file or ask your host to check it.

@ZmijSR, as the error is caused by virtuemart file itself I believe you should contact Virtuemart Forums on this.

See you around...
User avatar
Platinum Boarder

GK User
Sun Apr 14, 2013 10:16 pm
Reply with quote
Report this post
Good, at the very end I started from scratch with the template, guiding of the features that it brings the joomla demo, but I have a problem with the shopping cart button, I do not load well, does not put any text. WebEmpresa technicians, which is where this hosted, I have looked and say it's more a problem of the template script.
You can see it in:
http://www.montehermon.es
Can you help? thanks
User avatar
Fresh Boarder

GK User
Sun Apr 14, 2013 10:54 pm
Reply with quote
Report this post
@hermon,

Can you please check following two.

1. There is a VirtueMart Shopping Cart module published in "cart" position and it is enabled.
2. There is "cart.php" file in "/templates/gk_storebox/cart.php"

See you around...
User avatar
Platinum Boarder

GK User
Mon Apr 15, 2013 12:00 am
Reply with quote
Report this post
Problem solved. In the template that I downloaded on Gavick not contain that file. You ought to check the download files because I have lost all day by a problem with the templates. Thanks for the reply.
User avatar
Fresh Boarder

GK User
Mon Apr 15, 2013 12:16 am
Reply with quote
Report this post
Hi Hermon, sorry about the confusion but to make sure which joomla version are you using as download packages for Joomla 2.5 does contain cart.php file.

Only Joomla 3.0 packages do not contain this file as Virtuemart is not available for Joomla 3.0 and hence styles for virtuemart is not included in template package.

See you around...
User avatar
Platinum Boarder


cron