ryancramerdesign / ProcessWire-2.0

THIS IS AN OLD VERSION. Get the new one at the URL below:
https://github.com/ryancramerdesign/ProcessWire
GNU General Public License v2.0
39 stars 5 forks source link

Ambiguous error on install when DB port left blank #20

Closed circular closed 13 years ago

circular commented 13 years ago

v2. Leaving the DB port blank (as in, "please pick a sane default for me; no idea really") results in an error that is not traceable back to its cause without enabling debug mode and looking inside source.

ryancramerdesign commented 13 years ago

Thanks, I have updated the installer to default to port 3306 for when it is unable to detect the default from PHP. I haven't used a PHP that doesn't return the correct default before, so glad to know about this one. Also, in the event that it does get submitted as blank, the installer will now send you back to the DB config screen.

ryancramerdesign commented 13 years ago

Forgot to close this one before, but this is fixed.