WordPress theme install problems

 

‘Are you sure you want to do this?’

‘Try again’

 

This seems to be a rather common issue and I ran into it today. I have not seen a valid resolution from anyone else, so here is what I’ve found that worked for me.

Description: When you try to upload a theme and install it, you get a big white page that says ‘Are you sure you want to do this?’ and a button that says ‘Try again’. After you click the ‘Try Again’ button, you will be able to repeat your previous steps. After you do this about 8 times are ready to throw your computer through the nearest window, you can try this.

In my case I’m using a theme I purchased and downloaded as a zipped verions. I was trying to upload the zip file of the theme using the WordPress ‘upload your theme page’. I was uploading the correct zip file (make sure you are uploading only the installable zip file, and not all of the source code files zipped up).  I decided to remote desktop to my server which is a Windows IIS server, and download the zip file from the source. I could have ftp’d it to the server so the point is to get the zip file on the server and look at it on the Windows server. Unzip the file on the server and prepare to put it in your website’s wwwroot/wp-content/themes/ folder.

Here is where it got interesting. When I unzipped the zip file, there was an extra folder in my unzipped folder called ‘__MACOSX’. The ‘__MACOSX’ folder and my unzipped theme folder were both labeled with green font.

encryptedfiles

 

When I had looked at this same file on my own Mac, I don’t see this __MACOSX folder, nor is it green. This only appears when it gets onto a windows machine and the green text means the files are encrypted.

To fix the issue, I deleted the __MACOSX folder completely. Then I right click the ‘MyAwesomeTheme’ folder, select Properties and on the General tab, click the ‘Advanced’ button. On the Advanced window, uncheck the ‘Encrypt contents to secure data’ checkbox, and click ‘OK’, then close out of the properties windows. Now your folder will appear with black text to indicate it is not encrypted. You can now copy this into your wwwroot/wp-content/themes/ folder, and when you login to your WordPress administration site, you will see your theme on your ‘Themes’ page.

For those of you using a shared host, you will need the help of your webhost to perform these steps on the server unless you have a windows machine you can do this on. There might have been a way I could have done this within my Mac OS so that I could have uploaded the cleaned up zip file.

I have Parallels installed so I could probably have unzipped it on that, performed the above cleanup steps, then re-compressed it as an unecrypted folder. I expect that would work and I could then have uploaded it using the WordPress UI to install. Feel free to try that.

 

Determining an ideal Sprint Length

All the articles I find tend toward it being better to have shorter sprints. The arguments are for shorter sprints sprints in most cases. Here are few articles on the subject.

 

https://agilepainrelief.com/notesfromatooluser/2013/07/choosing-sprint-length-shorter-trumps-longer.html#.VrSLbFMrLUo

https://www.mountaingoatsoftware.com/blog/who-picks-the-sprint-length-on-a-scrum-team

http://www.agilehelpline.com/2011/03/sprint-length.html

 

Related Article:
http://www.agilehelpline.com/2011/03/definition-of-done.html
Important excerpts from above article:

  • If you never heard about DoD then please learn more about it. You may read articles in the reference section and work with your team to define DONE. A new team (less mature) might have a simple definition of DONE and may be tempted to create lots of tasks to reflect process.  A more mature team will have a stronger definition of DONE and will be less tempted to create process-tasks and will focus more on software deliverables.
  • DoD is not static. It changes over time. Organizational support and the team’s ability to remove impediments may enable the inclusion of additional activities into the DoD for features or sprints. 
  • DoD is an audit checklist. It can be used to validate whether all major tasks are accounted for. Also, after a feature or sprint is done, DoD is used as a checklist to verify whether all necessary value-added activities were completed.
  • A definition of DONE is only good if it is living and is part of a team’s DNA.  If the team does not know its DONE by heart then the practice is no good.  It would be smart to put a team’s “done” in front of it at the beginning and end of each iteration – if only for a moment to remind them & to create an opportunity to upgrade it.   Team members should be encouraged to tape the definition to their monitor.
  • ScrumMasters may do well to put it in front of the team at Scrum regularly until it sinks in. A Scrum Master should be on the lookout for opportunities to improve a team’s DONE.  Process problems often indicate a need for an upgrade.