Can't add products or pictures

Mehr
12 Jahre 8 Monate her - 12 Jahre 8 Monate her #449 von noratx
For some reason, I am not able to add products or pictures.
When I am trying to add them, nothing happens on the site, but I get this in my apache error logs:


[Thu Mar 08 14:29:26 2012] [error] [client 217.208.**.***] PHP Deprecated: Function split() is deprecated in /var/www/administrator/components/com_oscommerce/includes/functions/html_output.php on line 403, referer: http://webshop.***.eu/administrator/index.php?option=com_oscommerce&osMod=categories&page=1&cPath=&action=new_product
[Thu Mar 08 14:29:26 2012] [error] [client 217.208.**.***] PHP Deprecated: Function split() is deprecated in /var/www/administrator/components/com_oscommerce/includes/functions/html_output.php on line 405, referer: http://webshop.***.eu/administrator/index.php?option=com_oscommerce&osMod=categories&page=1&cPath=&action=new_product
[Thu Mar 08 14:29:26 2012] [error] [client 217.208.**.***] PHP Deprecated: Function split() is deprecated in /var/www/administrator/components/com_oscommerce/includes/functions/html_output.php on line 405, referer: http://webshop.***.eu/administrator/index.php?option=com_oscommerce&osMod=categories&page=1&cPath=&action=new_product

PHP version is 5.3.3-7, running on Debian Squeeze with Apache 2.2.16 and MySQL 5.1.49
Letzte Änderung: 12 Jahre 8 Monate her von noratx.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Jahre 8 Monate her #450 von Simpel
Did you read you the changelog?

* development: fixes in files to run with PHP 5.3. it seems some code in the html_output.php is not compatible with PHP 5.3 yet.

Split function does not work anymore in PHP 5.3. Please change to explode

change this on line 403-405
Code:
if ($action_par != '') { $action_params = array(); $action_params = split('&',$action_par); foreach ($action_params AS $this_par) { list($key, $value) = split('=',$this_par); $form .= tep_draw_hidden_field( $key, $value ); }; }


to
Code:
if ($action_par != '') { $action_params = array(); $action_params = explode('&',$action_par); foreach ($action_params AS $this_par) { list($key, $value) = explode('=',$this_par); $form .= tep_draw_hidden_field( $key, $value ); }; }

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