Jump to content
Sign in to follow this  
Alexander19871

Помогите - при попытке загрузки excel файл через export/import выдает ошибку.

Recommended Posts

Fatal Error: Uncaught exception 'Exception' with message 'Multibyte function overloading in PHP must be disabled for string functions (2).' in /home/c/cl137801/xxx.ru/public_html/system/PHPExcel/Classes/PHPExcel/Autoloader.php:32 Stack trace: #0 /home/c/cl137801/xxx.ru/public_html/system/PHPExcel/Classes/PHPExcel.php(32): require() #1 /home/c/cl137801/xxx.ru/public_html/admin/model/tool/export.php(1779): require_once('/home/c/cl13780...') #2 /home/c/cl137801/xxx.ru/public_html/admin/controller/tool/export.php(13): ModelToolExport->upload('/tmp/phpORjEGL') #3 [internal function]: ControllerToolExport->index() #4 /home/c/cl137801/xxx.ru/public_html/system/engine/front.php(47): call_user_func_array(Array, Array) #5 /home/c/cl137801/xxx.ru/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #6 /home/c/cl137801/xxxx.ru/public_html/admin/index.php(157): Front->dispatch(Object(Action), Object(Action)) #7 {main} thrown in /home/c/cl137801/xxx.ru/public_html/system/PHPExcel/Classes/PHPExcel/Autoloader.php on line 32

Share this post


Link to post
Share on other sites

подозреваю где то настройка должна быть по ограничению размера загружаемого файла, наверное изза этого. а вот где эта настройка?

Share this post


Link to post
Share on other sites

Всем спасибо разобрался.Оказывается в файле htacces надо было изменить строку

#php_value mbstring.func_overload 6

на

php_value mbstring.func_overload 0

Share this post


Link to post
Share on other sites
Файл php.ini  , находится в корне сайта в папке .php
mbstring.func_overload = 0

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.