cancel
Showing results for 
Search instead for 
Did you mean: 

Error while adding products into the shopping cart

Error while adding products into the shopping cart

At the moment we get an error message, that the product can´t be added to the shopping cart.

We tried following things: Copy the file.php from / vendor / magento / zendframework1 / bibliothek / Zend / Cache / Backend folder out to code/local etc, and editing there the line 'cache_dir' => null, to 'var/cache' or 'var/tmp' also, if we do these changes in the Zendframework folder its taking effects and works fine, when we copy the file into local/code, magento won´t do the changes.

We edited htacces with following line: add "php_value session.save_path /www/htdocs/xxxx/domain/temp/" and created the temp folder in magento root, no effect, the folder is full accessable, thanks to 777 rights

 

We added

ini_set('upload_tmp_dir','/www/htdocs/xxxx/domain/temp/');

before the line:

$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);

in the file:

index.php

with no effect, we checked if magento taking the htaccess data right, so we added extra error into htaccess, and there we go, the shop is stop working and crashing into an php extension error, but the "fix" doesn´t work...

 

We won´t do this fix at / vendor / magento / zendframework1 / bibliothek / Zend / Cache / Backend everytime we update the Shop

 

Our shop is hosted at all-inkl.com, so we have no access to php.ini and can´t edit anything in there or copy the file to create an costum php.ini

 

Anyone an idea what we can do? :-)

 

Thanks & greetings

 

 

1 REPLY

Re: Error while adding products into the shopping cart

Hello @ZiWuSoft

 

Can you please share your URL?

 

send me url via private msg.