Deprecated Functions

Meer
13 jaren 3 weken geleden #401 door 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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden #403 door Simpel
Beantwoord door Simpel in topic Re: Deprecated Functions
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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden - 13 jaren 3 weken geleden #404 door Simpel
Beantwoord door Simpel in topic Re: Deprecated Functions
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
Laatst bewerkt 13 jaren 3 weken geleden doorSimpel.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden - 13 jaren 3 weken geleden #405 door 1a-websolutions
Beantwoord door 1a-websolutions in topic Re: Deprecated Functions
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
Laatst bewerkt 13 jaren 3 weken geleden door1a-websolutions.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden #406 door Simpel
Beantwoord door Simpel in topic Re: Deprecated Functions
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.


Bijlage:

Bestandsnaam: config.zip
Bestandsgrootte:4 KB
Bijlagen:

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden - 13 jaren 3 weken geleden #407 door Simpel
Beantwoord door Simpel in topic Re: Deprecated Functions
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, '->')) {
Laatst bewerkt 13 jaren 3 weken geleden doorSimpel.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 3 weken geleden #408 door 1a-websolutions
Beantwoord door 1a-websolutions in topic Re: Deprecated Functions
Hello,

thanks for your help :-)

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

best regards

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

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