Jump to content

Technical Error: Unable to add the product


Recommended Posts

Hi Mike thanks for your help, I contacted my host and the php mbstring is enabled. here is a screen shot of it, could you have a look to see if it is OK? More information if I go into the cart module and turn ajax of it works. Here is the url

http://agun4you.com/...module_mbstring

 

mbstring

Multibyte Support enabled

Multibyte string engine libmbfl

Multibyte (japanese) regex support enabled

Multibyte regex (oniguruma) version 4.4.4

Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive LocalValue MasterValue mbstring.detect_order no value novalue mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.strict_detection Off Off mbstring.substitute_character no value no value

Edited by eptx (see edit history)
Link to comment
Share on other sites

  • 6 months later...

Changing the code in the tools/smarty/plugins/shared.mb_str_replace.phpworked file worked for me too.

I don't have the error message "Unable to add the product

Error Thrown: (object XMLHttp Request)

Text Status: error".

And the Cart gets updated.

THanks

Link to comment
Share on other sites

Hi guys,

 

Same problem here, but the mbstring is activate.

Changing the code in the tools/smarty/plugins/shared.mb_str_replace.phpworked file worked for me too. I don't have the error message "Unable to add the product Error Thrown: (object XMLHttp Request) Text Status: error". And the Cart gets updated. THanks

 

I have the same problem, and mbstring is activate.

 

in tools/smarty/plugins/shared.mb_str_replace.php, what code i will change?

 

Please guys, i realy need to put this work fast, because is to a RedCross Campain.

 

Thank's in advanced

 

Carlos

post-379355-0-20055200-1355507597_thumb.png

Link to comment
Share on other sites

NPO_Bernardino

 

I used this solution (mentioned in Post #4 and here http://forge.prestashop.com/browse/PSCFI-4464):

 

I just changed one line in the smarty plugin :

File : tools/smarty/plugins/shared.mb_str_replace.php

replace line 30 :

$parts = mb_split(preg_quote($search), $subject);

with :

if (function_exists('mb_split')) {

$parts = mb_split(preg_quote($search), $subject);

} else {

$parts = split(preg_quote($search), $subject);

}

  • Like 2
Link to comment
Share on other sites

I was uploading a csv file and when it was done I went in to make sure all was correct. Upon looking closer I noticed that only half of my csv file uploaded. So I made a new csv file with the information that wouldn't upload and tried again. Still wouldn't upload. I don't get an error message or anything. What it does for me is simply goes to a page with just the headers. And then I check and the information isn't there. I have asked our administrator and on Prestashop facebook if there is a limit to how many items you can have on the website (we have approx 1500) and they each said that there was no limit. I am at a loss. I was trying to add product for the Christmas holiday, but as you can see now.....it is too late to add it. But I am working on the next batch of items to upload and I need to find an answer so that I can add more product to my site.

Link to comment
Share on other sites

  • 4 weeks later...

NPO_Bernardino

 

I used this solution (mentioned in Post #4 and here http://forge.prestas...owse/PSCFI-4464):

 

 

I just changed one line in the smarty plugin :

File : tools/smarty/plugins/shared.mb_str_replace.php

replace line 30 :

$parts = mb_split(preg_quote($search), $subject);

with :

if (function_exists('mb_split')) {

$parts = mb_split(preg_quote($search), $subject);

} else {

$parts = split(preg_quote($search), $subject);

}

 

great, it helped

Link to comment
Share on other sites

  • 1 month later...

I saw a lot of people who have not solved your problem with the apparent solution, including me, someone could find a permanent solution? Best Regards

 

The only way I could solve the problem was to start afresh with a new (prestashop) theme. Then step by step to reintroduce my modifications and css style.

Link to comment
Share on other sites

×
×
  • Create New...