Support » Plugin: Advanced Code Editor » patches to fix theme download ("error ziping files", zip file name)

  • Resolved neenack

    (@neenack)


    I ran into two problems while trying to install the plugin and use theme download.

    1. “error ziping files” — wordpress installation did not have permission to write the zip file. Fixed with this patch:
    554c554
    < $zipname = date(‘Ymdhis’) . ‘.zip’;

    > $zipname = ‘/tmp/’.date(‘Ymdhis’) . ‘.zip’;

    2. Once that was fixed, file downloaded with name “zip”. Fixed with this patch:
    567c567
    < header(“Content-Disposition: attachment; filename=\””.strtolower($t->Name) . ‘.zip’.”\””);

    > header(“Content-Disposition: attachment; filename=\””.strtolower($t->Template) . ‘.zip’.”\””);

    The issue was that the theme did not have a name, so I used the directory name instead.

    http://wordpress.org/extend/plugins/advanced-code-editor/

Viewing 1 replies (of 1 total)
  • Plugin Author Bainternet

    (@bainternet)

    1. Will not work at most hosting!
    2. if theme has no name then the problem is not with the plugin obviously 🙂

    thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘patches to fix theme download ("error ziping files", zip file name)’ is closed to new replies.