VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: sa_mstdss015 on April 16, 2013, 14:30:23 PM

Title: Errors on Virtuemart default page
Post by: sa_mstdss015 on April 16, 2013, 14:30:23 PM
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]
Title: Re: Errors on Virtuemart default page
Post by: jenkinhill on April 16, 2013, 16:32:43 PM
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
Title: Re: Errors on Virtuemart default page
Post by: sa_mstdss015 on April 17, 2013, 08:35:02 AM
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.
Title: Re: Errors on Virtuemart default page
Post by: sa_mstdss015 on April 17, 2013, 09:03:44 AM
Joomla verion : 2.5
PHP version   : 5.4.7
Virtue Mart    : 2.0.20B

Title: Re: Errors on Virtuemart default page
Post by: jenkinhill on April 17, 2013, 10:01:45 AM
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