help guys ?

i upgrade my cs cart to Upgrade 2.2.3 - 2.2.4 then THIS MASSAGE shows every where i go as on web or on the admin



here is the massage ( Warning: Division by zero in /core/fn.images.php on line 37







Is any one know what should i do ?





Thanks so much

[quote name='hussain2007' timestamp='1323741268' post='127764']

i upgrade my cs cart to Upgrade 2.2.3 - 2.2.4 then THIS MASSAGE shows every where i go as on web or on the admin



here is the massage ( Warning: Division by zero in /core/fn.images.php on line 37







Is any one know what should i do ?





Thanks so much

[/quote]







sorry guys the line is 48



core/fn.images.php on line 48

Hello, hussain2007!



Check if the following line of the code exists in the “config.local.php” file located in the root directory of your CS-Cart installation:


define('MAX_FILES_IN_DIR', 1000);

[quote name='orangegirl' timestamp='1323757464' post='127775']

Hello, hussain2007!



Check if the following line of the code exists in the “config.local.php” file located in the root directory of your CS-Cart installation:


define('MAX_FILES_IN_DIR', 1000);


[/quote]





I don' see this line exist , but where should i put this line on which line on file

mine is right near the bottom, but dont think it matters



// Maximum number of files, stored in directory. You may change this parameter straight after a store was installed. And you must not change it when the store has been populated with products already.
define('MAX_FILES_IN_DIR', 1000);
// Developer configuration file
if (file_exists(DIR_ROOT . '/local_conf.php')) {
include(DIR_ROOT . '/local_conf.php');
}
define('AUTH_CODE', '');
?>

I wish I had a massage in my cs-cart installation.

Thanks so much guys problem solved



:grin: :mrgreen: :grin: :mrgreen: :grin: :mrgreen:

Hy

I have the same error and another error in website

First one is when i try to modify something in admin panel in product i have this:

This website has restrictions on inserting HTML code. Some HTML tags like ,

×

Then in the error log file i have a lot of this error:

[15-Apr-2016 14:10:49 Europe/Minsk] PHP Warning: Division by zero in /home/zenon/public_html/app/lib/vendor/smarty/smarty/libs/plugins/function.math.php(76) : eval()'d code on line 1

[15-Apr-2016 13:58:47 Europe/Minsk] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/zenon/public_html/app/Tygh/Backend/Database/Pdo.php on line 146
[11-Apr-2016 11:15:31 Europe/Minsk] PHP Warning: chmod() has been disabled for security reasons in /home/zenon/public_html/app/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php on line 193
Please help!

First off you are updating a thread that is several years old and for versions that are probably 20 releases back.

It sounds like you have some hosting restrictions or the html editor you are using is restricting the use of certain tags. You might try switching to a different editor (though I've not seen this problem before so that is a guess). Chmod should certainly not be disabled so again, this is probably a hosting issues. It sounds like you are using shared hosting so a different provider may be a better choice for you or a different type of hosting plan.