Code Monkey home page Code Monkey logo

plugin-skeleton-generator's People

Contributors

darknailblue avatar

Stargazers

 avatar David Monaghan avatar

Watchers

David Monaghan avatar James Cloos avatar  avatar

plugin-skeleton-generator's Issues

New plugin folder created but not contents... [development branch, maybe both]

Got this error back:

Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580 
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580 
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580 
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580 
Warning: mkdir(): Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 580 

Warning: fopen(/var/www/vhost/dev.allstruck.org/public/wp-content/plugins/psg-first-test/readme.txt): failed to open stream: Permission denied in /var/www/vhost/dev.allstruck.org/public/wp-content/plugins/plugin-skeleton-generator/psg-class.php on line 598 can't open file

Permissions:

drwxr-xr-x 11 www-data www-data 4096 Mar  9 17:07 backupbuddy
drwxr-xr-x 10 www-data www-data 4096 Apr 17 12:31 cdn-sync-tool
drwxr-xr-x  3 www-data www-data 4096 Apr 23 07:26 google-analyticator
drwxr-xr-x  6 www-data www-data 4096 May  8 18:10 groups
-rw-r--r--  1 www-data www-data   30 Mar  9 16:54 index.php
drwxr-xr-x  2 www-data www-data 4096 Apr 17 12:32 intensedebate
drwxr-xr-x 11 www-data www-data 4096 May  8 18:10 jigoshop
drwxr-xr-x  4 www-data www-data 4096 May  8 05:24 jigoshop-headway-connect
drwxr-xr-x  5 www-data www-data 4096 Apr 17 11:30 member-access
drwxr-xr-x  3 www-data www-data 4096 May  8 05:17 pagelines-sections
drwxr-xr-x  8 www-data www-data 4096 May  8 22:02 plugin-skeleton-generator
drwxr-xr-x  5 www-data www-data 4096 May  8 18:10 shortcodes-ui
drwxr-xr-x  6 www-data www-data 4096 May  8 18:10 types
drwxr-xr-x  2 www-data www-data 4096 May  8 18:10 welcome-email-editor
drwxr-xr-x  3 www-data www-data 4096 Apr 18 02:24 wordpress-importer
drwxr-xr-x  9 www-data www-data 4096 Apr 16 13:41 wordpress-seo
drwxr-xr-x  4 www-data www-data 4096 Apr 17 12:31 wp-super-cache
drwxr-xr-x  6 www-data www-data 4096 Apr 16 13:50 wp-views
drwxr-xr-x  2 www-data www-data 4096 Apr 18 02:31 wufoo-shortcode


-rw-r--r--  1 www-data www-data  662 Apr 17 12:33 advanced-cache.php
drwxr-xr-x  2 www-data www-data 4096 Apr 17 12:43 cache
-rw-r--r--  1 www-data www-data   30 Mar  9 16:54 index.php
drwxr-xr-x 21 www-data www-data 4096 May  8 22:19 plugins
drwxr-xr-x  6 www-data www-data 4096 May  8 04:54 themes
drwxr-xr-x  2 www-data www-data 4096 May  8 18:10 upgrade
drwxr-xr-x  4 www-data www-data 4096 May  8 18:06 uploads
-rw-r--r--  1 www-data www-data 3087 Apr 17 12:33 wp-cache-config.php

And here is the offending section of code:


                    foreach ( $this->new_plugin_settings['plugin_directories'] as $directory ) {
                        $newDirectory = $pluginDirectory . '/' . $directory;

                        if ( mkdir($newDirectory, 0644) )
                            $successMessage[] = $newDirectory . ' directory successfully created!';
                        else
                            $errorMessage[] = $newDirectory . ' directory could not be created!';
                    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.