News:

Looking for documentation? Take a look on our wiki

Main Menu

Depreciated: function splito error - PHP 5.3 and Virtuemart

Started by Penn Wooding, May 31, 2013, 14:17:00 PM

Previous topic - Next topic

Penn Wooding

I have just found out that if you use PHP 5.3 with the latest version of VM, you get a depreciated : function splito error coming up on all the modules that have anything to do with VM.  However, in order for me to be able to use the latest version of Akeeba, I was required to add "AddType application/x-httpd-php53 .php  " to my .htaccess file.  Anyway, I have removed this line of code and the website is okay.  I just thought I would let everybody know what to do if you get this problem

AH

just turn off the notice messages in php.ini file



<?php

// Turn off all error reporting
error_reporting(0);

// Report simple running errors
error_reporting(E_ERROR E_WARNING E_PARSE);

// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR E_WARNING E_PARSE E_NOTICE);

// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL E_NOTICE);

// Report all PHP errors (see changelog)
error_reporting(E_ALL);

// Report all PHP errors
error_reporting(-1);

// Same as error_reporting(E_ALL);
ini_set('error_reporting'E_ALL);

?>



Regards
A

Joomla 4.4.5
php 8.1