I installed uploadprogress using this build https://github.com/Jan-E/uploadprogress.git and successfully installed the PECL extension on CentOS 7. This is uploadprogress running on PHP 7.

However, when i switch image upload to use 'Bar with progress meter' and test uploading image on a content type, i get this error message (see below). The progress bar shows up for a second before disappearing and prompt with the error message instead. Furthermore, when i wait for awhile, it does complete the upload even though this error message appears.

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /file/progress/1879435365
StatusText: Internal Server Error
ResponseText: {"message":"Starting upload...","percentage":-1}

Has anyone come across this issue before? and how did you manage to resolve it?

Comments

onejam’s picture

And here's what's showing in my error log:

#15 /public_html/vendor/symfony/http-kernel/HttpKernel.php(62): Symfony\Component\HttpKernel\HttpKernel-handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel-handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session-handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(207): Drupal\Core\StackMiddleware\KernelPreHandle-handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(121): Drupal\page_cache\StackMiddleware\PageCache-fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(75): Drupal\page_cache\StackMiddleware\PageCache-lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)

-----------------------------------------------------------------
We build engaging websites and intuitive designs that will benefit your business.
Duvien