- Berichten: 1
- Ontvangen bedankjes 0
Can't add products or pictures
12 jaren 8 maanden geleden - 12 jaren 8 maanden geleden #449
door noratx
Can't add products or pictures werd gestart door 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
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
Laatst bewerkt 12 jaren 8 maanden geleden doornoratx.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
12 jaren 8 maanden geleden #450
door Simpel
Beantwoord door Simpel in topic Re: Can't add products or pictures
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
to
* 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 );
};
}
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.
- Matthewcig
- Offline
- Nieuw lid
Minder
Meer
- Berichten: 1
- Ontvangen bedankjes 0
1 dag 4 uren geleden #2267
door Matthewcig
Beantwoord door Matthewcig in topic Found a Great Resource Online
Hi all,
I recently discovered a useful site that made things easier when I was searching for trusted platforms. The website provides easy-to-follow comparisons and made everything so clear.
If you’re interested exciting options, I highly recommend checking it out: casinospro.net/
Let me know what you think.
I recently discovered a useful site that made things easier when I was searching for trusted platforms. The website provides easy-to-follow comparisons and made everything so clear.
If you’re interested exciting options, I highly recommend checking it out: casinospro.net/
Let me know what you think.
Graag Inloggen of een account aanmaken deelnemen aan het gesprek.