- Posts: 5
- Thank you received: 0
Deprecated Functions
- 1a-websolutions
- Topic Author
- Offline
- New Member
Less
More
13 years 3 weeks ago #401
by 1a-websolutions
Deprecated Functions was created by 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
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
Please Log in or Create an account to join the conversation.
13 years 3 weeks ago #403
by Simpel
Replied by Simpel on topic Re: Deprecated Functions
MarvikShop was not tested yet on PHP-version 5.3.8
But what you can do is:
change into
hope this help
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
Please Log in or Create an account to join the conversation.
13 years 2 weeks ago - 13 years 2 weeks ago #404
by Simpel
Replied by Simpel on topic Re: Deprecated Functions
Maybe it's better to use explode. Because I got now problems with my own shop.
try:
to
The function split() is deprecated in PHP 5.3 php 5.3
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
Last edit: 13 years 2 weeks ago by Simpel.
Please Log in or Create an account to join the conversation.
- 1a-websolutions
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 weeks ago - 13 years 2 weeks ago #405
by 1a-websolutions
Replied by 1a-websolutions on 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
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
Last edit: 13 years 2 weeks ago by 1a-websolutions.
Please Log in or Create an account to join the conversation.
13 years 2 weeks ago #406
by Simpel
Replied by Simpel on 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.
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.
Please Log in or Create an account to join the conversation.
13 years 2 weeks ago - 13 years 2 weeks ago #407
by Simpel
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:
change to:
Replied by Simpel on 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, '->')) {
Last edit: 13 years 2 weeks ago by Simpel.
Please Log in or Create an account to join the conversation.
- 1a-websolutions
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 weeks ago #408
by 1a-websolutions
Replied by 1a-websolutions on 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
thanks for your help
Have you a German language for the shop or exist at this moment not a german file?
best regards
Please Log in or Create an account to join the conversation.