News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Ask a question shows error

Started by DimitriDV, October 14, 2014, 11:37:49 AM

Previous topic - Next topic

DimitriDV

I installed VM and I set my e-mail address everywhere correct. The contact form works perfect, but the 'ask a question' functionality does not work.
The error can be found here:

Warning: attempt to assign property of non-object in /home/domains/public_html/administrator/components/com_virtuemart/modules/media
on line 414 Fatal error: cannot use object of type JUser as array in /home/domains/public_html/components/com_virtuemart/views/askaquestion/bview.htm on line 189


jenkinhill

http://forum.virtuemart.net/index.php?topic=79799.0

In default VM there is no such file as views/askaquestion/bview.htm
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

DimitriDV

#2
Thanks a lot for your answer. This is the detailed error when I set error reporting to maximum:

Strict Standards: Only variables should be assigned by reference in /home/onlinemark/domains/online-marketing-bedrijf.be/public_html/dave/components/com_virtuemart/helpers/shopfunctionsf.php on line 430 Warning: Attempt to assign property of non-object in /home/onlinemark/domains/online-marketing-bedrijf.be/public_html/dave/administrator/components/com_virtuemart/models/media.php on line 414 Fatal error: Cannot use object of type JUser as array in /home/onlinemark/domains/online-marketing-bedrijf.be/public_html/dave/components/com_virtuemart/views/askquestion/view.html.php on line 189


When I set the error reporting to System Default, a blank page is shown.
The URL: http://online-marketing-bedrijf.be/dave/component/virtuemart/sullivan-detail
PHP 5.3.18
Joomla 3.3.6

Do you need the VM version also?
How can I check my VirtueMart version please?

jenkinhill

If you are using J3.3.6 then you are using a test/development version of VM - moving to the development board.

And yes, the VM version is most important. The version can be seen using Joomla's extensions manager.
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

DimitriDV


jenkinhill

Well the public testing version is 2.9.9e which you should now try, and we are internally testing 2.9.9f which will be in public release soon. 

http://dev.virtuemart.net/projects/virtuemart/files
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

DimitriDV

I did the upgrade.
When I press the 'ask a question' button, the site redirects to the homepage.

???


Example: http://online-marketing-bedrijf.be/dave/component/virtuemart/sullivan-detail

GJC Web Design

js error ->  TypeError: jQuery(...).fancybox is not a function

this is what is causing it - your not loading fancybox - check your VM config and template
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

DimitriDV

Check my VM config? How?

This is a default installation.

jenkinhill

Quote from: DimitriDV on October 16, 2014, 17:17:10 PM
This is a default installation.

But not a default template.  Fancybox is turned on in VM Configuration/Templates/Activate Css Styles & Javascripts
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

DimitriDV

So I should set "Use Fancybox" off?
I did this. The link 'ask a question' still redirects to homepage.

GJC Web Design

no - you are trying to use fancybox in your template but you aren't loading its library - so use fancybox->yes
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

DimitriDV

It was already set to 'Yes', I don't think this is the solution