Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Webbased database-setup

#45

Hey based on your new config-file I have created a webbased installer.

Features: - it checks if config-file exists - if config-file exists it proofs connection to the database and checks chmod of folder /config/ (for security reasons) - if connection to database fails -> error message - checks if folders /cache/ and /config/ are set to 777 (for writing the config-file) - formular-based database-settings entry - checks connection to database with the entered settings and only if this works config-file will be written to folder /config/ - if connection fails entered settings are loaded into formular and user can edit them again

If you like it you have to add folder /config/ to the source and have to change the files which links to config.php in base-directory and let them link to config/config.php.

I also defined a constant for global language. Maybe it is possible to set a global language and a user-language so that users can change the language in their profile?

Have a look at it :)

Reported by Johannes Schirge · May 8th, 2009 @ 04:41 AM

State: resolved
Milestone: 0.6

Activity

  1. Brian Jesse Hendrickson
    Brian Jesse Hendrickson
    • State changed from new to open

    you are one cool dude

    May 8th, 2009 @ 10:28 AM

  2. Brian Jesse Hendrickson
    Brian Jesse Hendrickson

    this makes installing a lot of fun! very nice work!

    May 8th, 2009 @ 11:45 PM

  3. Brian Jesse Hendrickson
    Brian Jesse Hendrickson
    • State changed from open to resolved

    thanks Johannes I'm now including your install.php in the download

    May 9th, 2009 @ 10:39 PM

  4. Johannes Schirge
    Johannes Schirge

    Thanks!! :-)

    Maybe it is possible to implement the following settings out of /app/config/config.yml to the installation-process?

    environment settings

    env:

    site_title: Latest Updates site_subtitle: site_description:

    theme: p2

    email_from: root@localhost email_name: Notifier email_server: localhost email_port: 25 email_user: email_pass:

    threaded: false (maybe, I don't really know the function ;-) )

    pretty_urls: false

    If its possible I would add them to the install.php. Users may be confused if there are two config-files to be edited.

    May 9th, 2009 @ 11:55 PM

  5. Johannes Schirge
    Johannes Schirge

    Important install.php-update!

    • fixed: chmod of created files is now set to 666 (before 644). User wasn't able to change / delete the created file by ftp-client on some servers.

    • fixed: keeps checkbox-settings if connection to database fails and site reloads.

    • new feature: if pretty URLs activated, installer generates a configured .htacces-file to /config/. Also removes line 2 and 3 if used on subdomains.

    • new feature: explanation what to do after installation. (change settings in app/config/config.yml) and move .htaccess to main directory if pretty urls enabled.

    May 12th, 2009 @ 11:13 PM

  6. Johannes Schirge

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.