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

Errors on Virtuemart default page

Started by sa_mstdss015, April 16, 2013, 14:30:23 PM

Previous topic - Next topic

sa_mstdss015

Hi,

Virtue mart 1.9.8 and VM 2.0
Joomla 2.5

Already i have downloaded the virtue mart and installed with joomla2.5 finally i assigned the VM page for virtue mart but i got many errors on that page. Can you tell me the reason for that.

I referred this site also: http://www.webdesign.org/content-management-system/joomla/virtuemart-ecommerce-for-joomla.21144.html

[attachment cleanup by admin]

jenkinhill

Turn off error reporting in Joomla and use a PHP 5.3 version - it looks like you may be using 5.4    http://forum.virtuemart.net/index.php?topic=102555.0

You must be more precise with the version you are using.  http://forum.virtuemart.net/index.php?topic=79799.0
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

sa_mstdss015

hi,

Yes i am using php 5.4.7 version. In this version how can i solve this problem. can you give me any clue.

sa_mstdss015

Joomla verion : 2.5
PHP version   : 5.4.7
Virtue Mart    : 2.0.20B


jenkinhill

The issue with PHP5.4.x (unlike 5.3.x) is that STRICT error reporting is included in ALL error reports. Normally setting error reporting in Joomla Config/Server to None will remove display of those errors. In some cases it does not, so you need to change the error reporting settings in the server php.ini file.
So in php.ini the instruction should be:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

On localhost (like WAMP) you may have more than one php.ini file in operation, so you may need to edit them all

On a real server, some shared hosts do not permit access to php.ini so there you can usually use .htaccess to modify error reports by adding the following:

php_value display_errors 0
php_value error_reporting 30719

Easier, though, if on localhost to simply install PHP 5.3
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