View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001077 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2009-07-06 20:40 | 2012-12-10 13:45 |
Reporter | riess | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | V-Server | OS | CentOS | OS Version | 5.3 (64bit) |
Fixed in Version | 4.1.4 revision 21266 | ||||
Summary | 0001077: Deprecated warnings on PHP5.3.0 (split, eregi) | ||||
Description | OxidShop (Community-Edition) running on a System with php 5.3.0 throws multiple warnings. I will change the code on my local System and report the changes on this ticket. I think, i dont have write-permissions on svn ;) | ||||
Additional Information | Deprecated: Function ereg_replace() is deprecated in /var/kunden/webs/customer/core/oxutilsstring.php on line 97 -> preg_replace() -> new warning: $ ist unknown modifier - !? Deprecated: Function eregi_replace() is deprecated in /var/kunden/webs/customer/core/oxutilspic.php on line 224 -> preg_replace() -> new warning: + ist unknown modifier ?! Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/oxutilsdate.php on line 98 -> explode() Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/oxutilsdate.php on line 107 -> explode() Deprecated: Function ereg() is deprecated in /var/kunden/webs/customer/core/oxutilsfile.php on line 505 -> preg_match() Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/adodblite/adodb-perf.inc.php on line 91 -> explode() Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/adodblite/adodb-perf.inc.php on line 94 -> explode() Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/adodblite/adodb-perf.inc.php on line 91 -> explode() Deprecated: Function split() is deprecated in /var/kunden/webs/customer/core/adodblite/adodb-perf.inc.php on line 94 -> explode() | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.3 | ||||
Database Version | 5.0.45 | ||||
has duplicate | 0002784 | closed | birute_meilutyte | PHP 5.3 Error Deprecated: Function split() is deprecated in |
related to | 0001546 | resolved | vilma_liorensaityte | PHP 5.3.0: Function split() is deprecated |
|
unknown modifier (like described in additional information above) fixed, by slashes at start and the end of the reg-expression. - i'am new on php, so i had to learn this :) i have fixed the code (on my system) - oxidshop seems to work fine now .. |
|
try to disable E_DEPRECATED error warnings more: http://www.php.net/manual/en/migration53.deprecated.php |
|
hello alfonsas_cirtautas thank you for your hint! i had some problems in php-configuration, therefore oxidshop doesn't work correctly. meanwhile the problems are fixed. i had problems to divide the strange behavior of the system into php and oxidshop relations. i think, to fix the code is a better solution than switch of the warnings. if someone want to do the work the description in this ticket could give a good hint to locate the source. regards |
|
changed deprecated functions in oxid classes, cannot do it in third party libraries (like adodblite, phpmailer...). So you have to disable E_DEPRECATED error warnings. |