Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
20
Reporter ?
Mike
Bugdar / 1.0.1
Status ?
Closed
Severity ?
Enhancement
Duplicate Of ?
- none -
Fixed in Revision ?
770
Mstone ?
Summary ?
Easier install
Report Time ?
April 22, 2006 06:32 PM
Assignment ?
- none -
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

April 22, 2006 06:32 PM Mike
Currently, when you haven't installed Bugdar and browse to index.php, you get a SQL error. It would be nicer if you detected the software wasn't installed and gave a link or redirect to the install page. Also, the install directory has no index file, I would've thought that the first step in the installation would be index.php not install.php (that might just be me :P) A redirect or link would be helpful there, too.

That's my only complaint so far, and that's just becuase I was to lazy to read the install directions until after I tried that. :)

April 23, 2006 01:30 AM Robert
I'll look into doing something about the SQL error before installation on the main index.php. I think I can find a way to trap the first SQL query of the data cache, and if that throws an error post a link to the installer.

As for why there's no install/index.php, it's a protection measure so that you don't run the installer accidentally without thinking. This way, you need to explicitly run the installer or upgrader.

April 23, 2006 12:09 PM Mike
Why not just add one query to the beginning which checks if one of the necesscary tables exists, and if not, then ask them to install.

I see your point on the second though, I could see myself trying to install it multiple times. :)

April 23, 2006 05:02 PM Robert
Because that adds an extra query, which I really don't want.

April 24, 2006 11:22 PM Mike
Maybe you could add an extra bit in the error message of the first query ran saying that this may be caused becuase you haven't installed Bugdar yet.


April 29, 2006 07:04 PM Robert
I did the installation message, but I'm not going to put in the index.php file (for stated security reasons). Fixed in r770.

--------------- AUTOMATIC RESPONSE ---------------
Thank you for your bug report. This issue has been closed and fixed in Subversion. In a future release, this change will be available, but you can download the change at any time from the Subversion server.

On April 29, 2006 07:04 PM, Robert changed: