Skip to content

Domain setup has an issue #8

Open

Description

@drmike

Tried doing the domain comment line:

bash setup-debian.sh domain cynix.us

And got the following:

Created cynix (OWQ1ZTdmYjc2O) with all permissions on cynix_us
setup-debian.sh: line 512: name: command not found
Reloading nginx configuration: nginx.
Created /var/www/cynix.us, /var/www/log/cynix.us, and /etc/nginx/sites-enabled/cynix.us.conf

The script creates an index.php within root with the following contents:

exec("CREATE TABLE IF NOT EXISTS ( varchar(100)) ENGINE=MyISAM"); $result = $db->query("SHOW TABLES"); while ($row = $result->fetch()) { var_dump($row); }

Activity

  1. drmike commented on Jun 20, 2011

    @drmike
    Author

    bumpie :)

    This is a showstopper for us.

  2. ovizii commented on Jun 28, 2011

    @ovizii

    not sure what it is supposed to do, I got the same problem line 511-512 reads:

    # Create sample database script cat > "/var/www/$1/index.php" <<END

    so I guess its not a big deal...

  3. ovizii commented on Jun 28, 2011

    @ovizii

    more concerned about the few lines before those:

    # Save the new MySQL user/pass in a file in that directory echo "Created $userid ($passwd) with all permissions on $dbname"
    not sure where that file should be located and if my DB has been created?

  4. added a commit that references this issue on Nov 18, 2012
  5. added a commit that references this issue on May 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions