View Issue Details

IDProjectCategoryView StatusLast Update
0001740OXID eShop (all versions)4.03. 3rd party librariespublic2010-04-26 14:27
Reportervilma_liorensaityte Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.0 revision 26948 
Fixed in Version4.3.1 revision 27257 
Summary0001740: Warnings about "deprecated functions" occurs from PHP 5.3 because function in ccval
DescriptionIn ccval script there is function used ereg_replace(), which is deprecated since PHP 5.3.0. Calling this function issues an E_DEPRECATED notice.
Solution would be:
- Replace this function to alternative function preg_replace().
TagsNo tags attached.
Theme
BrowserAll
PHP Version6
Database Versionany

Activities

dainius.bigelis

2010-04-14 09:02

reporter   ~0002527

Decision from PM:
As it's an component which OXID eShop is using this is not allowed to be changed (see also /core/3RD_PARTY_LICENSES), use Luhn algorithm http://en.wikipedia.org/wiki/Luhn_algorithm [^] instead.

Consider also Terms of Use: http://wikimediafoundation.org/wiki/Terms_of_Use [^]

arvydas_vapsva

2010-04-15 14:24

reporter   ~0002549

function CCVal() replaced by oxCcValidator::isValidCard( $sNumber, $sType = "", $sDate = "" )