sunsandsalt Posted January 5, 2015 Share Posted January 5, 2015 Hello! I was trying to upload an image to the description of a product (catalog>products>description), as well as to the description of the category, using the standard PS link/file manager of the description box. However I get the following message and cannot upload anything: FILE MANAGER Fatal error: Call to undefined function mb_internal_encoding() inD:\Inetpub\webs\DOMAINNAME\shop\adminXX\filemanager\config\config.php on line 3 Does anybody know how to fix this? Thanks a lot! Link to comment Share on other sites More sharing options...
vekia Posted January 5, 2015 Share Posted January 5, 2015 what is your PS version? Link to comment Share on other sites More sharing options...
PascalVG Posted January 6, 2015 Share Posted January 6, 2015 What is your php version? This function is a php core function, from version 4.0.6 and higher more info here hope this helps, pascal. Link to comment Share on other sites More sharing options...
sunsandsalt Posted January 6, 2015 Author Share Posted January 6, 2015 Hello! PS version is 1.6.0.9 PHP version is 5.2.14 Cheers! Link to comment Share on other sites More sharing options...
bellini13 Posted January 6, 2015 Share Posted January 6, 2015 The mbstring extension is either not installed, not compiled into your PHP version, or has been disabled. you should work with your hosting company to ensure it is enabled and available to you http://stackoverflow.com/questions/25776389/fatal-error-call-to-undefined-function-mb-internal-encoding-in-home-blabla-b Link to comment Share on other sites More sharing options...
tom52 Posted January 9, 2015 Share Posted January 9, 2015 Hello! PS version is 1.6.0.9 PHP version is 5.2.14 Cheers! Hello, Did you got it to work? Link to comment Share on other sites More sharing options...
sunsandsalt Posted January 11, 2015 Author Share Posted January 11, 2015 I contacted the hosting company and they fixed it Link to comment Share on other sites More sharing options...
Szkudi Posted February 9, 2016 Share Posted February 9, 2016 Hi, I have similar problem with file manager. I've created additional accounts for some employees that should be allowed just to add and edit posts in PrestaBlog module. Unfortunately when they try to add new file (like image) or choose one via FileManager then "fatal error" pops out (like this). I guess there is something wrong with given permissions (screenshot), on SuperAdmin profile all works fine. Is there any way to fix that? My PS is 1.6.0.14 Link to comment Share on other sites More sharing options...
Xab Posted March 15, 2016 Share Posted March 15, 2016 Hello Everyone, I have exactly the same problem as Szkudi with File Manager. My module for blogging is "Blog for Prestashop" and my PS version is 1.6.0.11. Any idea to deal with this issue? Thanks in advance! Link to comment Share on other sites More sharing options...
emejotace Posted June 24, 2016 Share Posted June 24, 2016 Hi, I have the same problem as Szkudi and Xab: fatal error in File Manager when trying to upload images from an employee account. The strange thing is that if I enter to that employee account from another computer, File Manager works perfectly. I can't understand why... This happens in Prestablog module (version 3.6.5) Any idea? Thank you. I'm using Prestashop 1.5.1.5 Link to comment Share on other sites More sharing options...
Szkudi Posted October 21, 2017 Share Posted October 21, 2017 Ok, maybe it's a little late for a fix for "fatal error" message showing in file manager, but I've found a solution (or maybe a workaround) and it can help for the future.. It seems filemanager is checking user permissions for some content. In filemanager/config/config.php file around line 15 there is: $products_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminProducts')); $cms_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminCmsContent')); if (!$products_accesses['edit'] && !$cms_accesses['edit']) { die(Tools::displayError()); } after deleting "if" condition everything works just fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now