Deprecated Functions

Mehr
12 Jahre 11 Monate her #401 von 1a-websolutions
Hello,

i have this PHP Error-Codes:

Deprecated: Function split() is deprecated in /home/xxxxx/public_html/administrator/components/com_oscommerce/includes/functions/html_output.php on line 38

and PHP-Error-Codes on the Website:

www.1a-easy-cms.ch

PHP-Version = 5.3.8

Best regards

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her #403 von Simpel
MarvikShop was not tested yet on PHP-version 5.3.8

But what you can do is:
Code:
$param_arr = split( '{SEP}', $param_str );

change into
Code:
$param_arr = preg_split( '{SEP}', $param_str );

hope this help

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her - 12 Jahre 11 Monate her #404 von Simpel
Maybe it's better to use explode. Because I got now problems with my own shop.

try:
Code:
$param_arr = split( '{SEP}', $param_str );

to
Code:
$param_arr = explode( '{SEP}', $param_str );

The function split() is deprecated in PHP 5.3 php 5.3
Letzte Änderung: 12 Jahre 11 Monate her von Simpel.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her - 12 Jahre 11 Monate her #405 von 1a-websolutions
Hello,

explode are the solutions for the Frontpage :-)

on the Startsite i have the Error-code

Warning: include(components/com_oscommerce/confignew.php) [function.include]: failed to open stream: No such file or directory

The File confignew.php are not in the Package/ Direction.

Warning: include(/home/easycms/public_html/components/com_oscommerce_personal/languages/english/modules/shipping/upsxml.php) [function.include]: failed to open stream: No such file or directory

A other deprecated Function:

Deprecated: Function ereg() is deprecated in /home/easycms/public_html/administrator/components/com_oscommerce/confignew.php on line 101

Deprecated: Function ereg() is deprecated in /home/easycms/public_html/administrator/components/com_oscommerce/modules.php on line 284

Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 112

Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 171

Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 301


Best regards
Letzte Änderung: 12 Jahre 11 Monate her von 1a-websolutions.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her #406 von Simpel
In the attachment I got 2 files.

confignew.php I got this file only on the adminsite. Not the frontsite and a language file. But if you don't use this shippingmodule, You can also delete this. These are the shippingmodules from oscommerce. Easy to install, just upload in the right directory and install on the back.

about the deprecated Function that's php-version 5.3. I don't have these errors. But we could find to solve this. Many problems where solved by "explode" I think. Maybe it will be nice to share this later. When solved.


Dateianhang:

Dateiname: config.zip
Dateigröße:4 KB
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her - 12 Jahre 11 Monate her #407 von Simpel
Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 112 Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 171 Deprecated: Assigning the return value of new by reference is deprecated in /home/easycms/public_html/components/com_oscommerce/includes/modules/payment/idealm.php on line 301

Just delete Idealm. That not working at the moment. That's a payment method from the Netherlands and an old version.

components/com_oscommerce_personal/languages/english/modules/payment/idealm.php

and

components/com_oscommerce/includes/modules/payment/idealm.php


try:
Code:
if (ereg('->', $use_function)) {

change to:
Code:
if (false !== strpos($use_function, '->')) {
Letzte Änderung: 12 Jahre 11 Monate her von Simpel.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 11 Monate her #408 von 1a-websolutions
Hello,

thanks for your help :-)

Have you a German language for the shop or exist at this moment not a german file?

best regards

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Events Joomla
MarvikShop
Finnaly it's here:
 
No bridges, no look a likes!
This is the ultimate integration
between Oscommerce and Joomla!
Documentation
Site Showcase
Follow us