Title: PHP Version 5.5 – no upload
Last modified: August 30, 2016

---

# PHP Version 5.5 – no upload

 *  Resolved [Netzialist](https://wordpress.org/support/users/netzialist/)
 * (@netzialist)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/)
 * After updating the PHP version on the server (NOT Windows) from 5.3. to 5.5 the
   upload won’t work any more. It says””Sorry, we couldn’t upload…”
    Is there a 
   workaround for this?
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/php-version-55-no-upload/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-version-55-no-upload/page/2/?output_format=md)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560160)
 * It could be any number of things, and may or may not be related to your PHP upgrade.
   I have several setups that are running 5.5 and File Up works fine on all of them,
   so it’s not a compat issue with 5.5 itself. Perhaps some setting.
 * Are you running SSL on your WP backend, but not the front-end?
 * Are there double-dots (..) in the filename?
 * What type of file are you uploading?
 * Does the progress bar get to 100% then it fails, or does it fail before then?
 * Have you tried enabling your error log in WP_Config, then uploading a file, then
   checking the error log?
 *  Thread Starter [Netzialist](https://wordpress.org/support/users/netzialist/)
 * (@netzialist)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560165)
 * Hi thomstark,
 * thanks so much for the quick answer!
    We are not running SSL, there are no dots
   in the file name (it’s “test.pdf” actually) and unfortunately nothing gets written
   in the log.
 * I can choose the file, but after I click the upload the error message appears.
   I think the upload doesn’t start, something happens right before.
 * Regards,
 * Kirsten
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560166)
 * Would I be able to get access to the page?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560167)
 * It sounds like this is happening on the client-side (javascript), which means
   it isn’t even making it to the server, thus PHP isn’t even involved in producing
   the error message (so the upgraded PHP version wouldn’t be the culprit).
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560170)
 * If you’re not able to provide access to me, that’s fine. If you’re able to make
   a few modifications we can do some testing to find the point of failure. We’ll
   rule out the PHP first.
 * Open up `wp-content/plugins/file-away/lib/cls/class.fileaway_management.php`
 * Starting at line 1058, do a text search for the word “system_error”. There are
   ten of these in the script.
 * change each instance of:
 * `echo 'system_error';`
 * numbering them consecutively, like so:
 * `echo 'system_error_1';`
    `echo 'system_error_2';`
 * etc.
 * until you have all ten numbered.
 * Then, open up `wp-content/plugins/file-away/lib/js/management.js`
 * go to line 1607.
 * It should read like this:
 *     ```
       success : function(response)
       {
       	setTimeout(function()
       	{
       		if(response.indexOf(id) != -1)
       		{
       ```
   
 * replace that with this:
 *     ```
       success : function(response)
       {
       	setTimeout(function()
       	{
       		console.log(response);
       		if(response.indexOf(id) != -1)
       		{
       ```
   
 * you’re adding `console.log(response);` above the line that says:
 * `if(response.indexOf(id) != -1)`
 * Save both documents, reload the page, open your browser console, try uploading
   the file, then you should see “system_error_” with a number between 1 and 10.
 * Let me know which number it is.
 *  Thread Starter [Netzialist](https://wordpress.org/support/users/netzialist/)
 * (@netzialist)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560185)
 * Thanks so much, you rock!
    My colleague is just taking the steps you suggested.
 * By the way – we discovered a conflict with another plugin (Foo Gallery).
 * We will keep you posted!
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560189)
 * Yeah, File Away uses Foo Table, so you don’t want to load their scripts on the
   same pages.
 *  [Taxifisch](https://wordpress.org/support/users/taxifisch/)
 * (@taxifisch)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560196)
 * Hi,
    (I am working with Kirsten at this project.) Thanks so much for all the 
   effort you put into this. I did what you told us above but I only got the console
   to display a “0”, no “system_error_”.
 * We did find out though that there seems to be a conflict with the FooGallery 
   plugin. When I turn the FooGallery off everything is fine.
 * I’d gladly give you access to the site on our staging server, just let me know
   your address..
    Thanks again!
 * Elisabeth
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560200)
 * Thanks. Please send to _[ redacted, support is not offered via email, Skype, 
   IM etc. only in the forums ]_
 *  [Taxifisch](https://wordpress.org/support/users/taxifisch/)
 * (@taxifisch)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560202)
 * Oh, just saw your response concerning Foo Table..
    So we cannot use both, I assume?
   FooGallery and FileAway? What a shame.
 * Thanks again,
 * Elisabeth
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560203)
 * A “0” response is a much stranger problem. It means the ajax function isn’t even
   finding its target on the server-side.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560204)
 * I’ll take a look at the Foo Gallery conflict when I get access.
 *  [Taxifisch](https://wordpress.org/support/users/taxifisch/)
 * (@taxifisch)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560209)
 * Send you an email..
    Thanks!
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560220)
 * I’m getting: “ERROR: User has not been activated” when trying to log in.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/#post-6560221)
 * FEHLER: Nutzer wurde nicht aktiviert.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/php-version-55-no-upload/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-version-55-no-upload/page/2/?output_format=md)

The topic ‘PHP Version 5.5 – no upload’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

## Tags

 * [php 5.5](https://wordpress.org/support/topic-tag/php-5-5/)

 * 18 replies
 * 3 participants
 * Last reply from: [Taxifisch](https://wordpress.org/support/users/taxifisch/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/php-version-55-no-upload/page/2/#post-6560261)
 * Status: resolved