• Resolved Bernard46

    (@bernard46)


    I’m running WordPress under MAMP for Windows (Win 7 64 bit) and everything has been great until I got a notification that there was an update for my Avada Theme. No problem I thought and I went ahead and clicked on the necessary boxes to perform the update – however a few seconds later I get this message:

    An error occurred while updating Avada: Download failed. Could not open handle for fopen() to C:\MAMP\htdocs\firstsite/wp-content/uploads/Avada.zipAWSAccessKeyIdAKIAJYG5ROGJ6X7Z3M6QExpires1439196345SignatureE%2FTXSCWnyGAnKoerk7EeK92MTT4%3Dresponse-content-dispositionattachment%3B-filename%3Dthemeforest-2833226-avada-responsive-multipurpose-theme-wordpress_theme.tmp

    I did a bit of research on the web and it seemed like this was a permission problem (I’m not really sure how Unix permissions translate into Windows), however it was suggested that I should modify my wp-config.php file in the C:\MAMP\htdocs\firstsite directory by adding this line define(‘WP_TEMP_DIR’,ABSPATH.’wp-content/uploads/’);, but this did not change anything other than the file referred to in the error message.

    Could someone suggest what else I could try to resolve this problem please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    An error occurred while updating Avada

    For pro or commercial product support please contact the author directly on their site.

    As the author is aware, commercial products are not supported in these forums. As you are their customer I am sure they will have no problem supporting you there.

    Thread Starter Bernard46

    (@bernard46)

    With all due respect I think you have mis-read what I wrote. I’m not asking for help with Avada, and I’m not asking for help with MAMP – I’m asking for help with an error message from WordPress. The error message I quoted comes up in WordPress and says WordPress could not do something. As it stands the error message is unhelpful since it gives no clue as to why there was a failure in WordPress and therefore what one should do about it. When I was coding it was drummed into us that there was no point saying “an error occurred”! You needed to explain in a decent message exactly what the error was, what the return and reason codes where and if possible an explanation of what to do about it to resolve it – much modern programming seems to fail this basic test.

    I would be grateful for an explanation of what this WordPress error message is supposed to be trying to tell me. Thank you.

    Thread Starter Bernard46

    (@bernard46)

    Is there anyone else there who could suggest what this WordPress error message is trying to tell me please?

    Thread Starter Bernard46

    (@bernard46)

    I resolved this myself in the end but since it is 3 months ago I have forgotten exactly how but I believe it was an issue with WordPress not being able to handle an automatic update of the Avada theme. A manual update of the theme resolved the issue.

    matjozio

    (@matjozio)

    If there is anyone still looking for the answer, try the following link https://core.trac.ww.wp.xz.cn/ticket/33053. Seems like a WordPress code problem in file.php (which cannot read long strings on Windows properly). Worked for me!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fopen error updating Theme’ is closed to new replies.