Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page > Installation > SQL script problem(?) Permanent link to this page
 
 
Author Message:
lecterror
SQL script problem(?)
16 October 2006 14:59
Anonymous Hi everyone..

I'm still a Limbo user, so I was very happy to see Drake 0.2a available for download.. I've tried it today and experienced some strange behaviour.. blink

While trying to install Drake (my local setup is WinXP, PHP 4.4.4, MySQL 4.1.21, Apache 2.0.59, but shouldn't really be of any importance here) I got a message regarding DB installation and this line:

file: install5.php
line:

Code:

$query = file_get_contents($d_root.'install/install.sql');



file install5.php was located in install-upqeenw8 folder, which I assume is randomly generated for security purposes.. file_get_contents(...) could not open the stream of course, until I manually changed the line into this:

Code:

$query = file_get_contents($d_root.'install-upqeenw8/install.sql');



Is this a bug or something went terribly wrong with my installation??

Also, the install script reported a lot of "undroppable" tables, I believe this could be easily avoided with a more clever SQL script, this can only be confusing to less experienced users.

Will test further for bugs and missing features, expect mayhem wink

cheerz sideways
 
legolas558
Re:SQL script problem(?)
31 October 2006 11:53
Anonymous lecterror wrote:
Quote:
Hi everyone..

I'm still a Limbo user, so I was very happy to see Drake 0.2a available for download.. I've tried it today and experienced some strange behaviour.. blink

While trying to install Drake (my local setup is WinXP, PHP 4.4.4, MySQL 4.1.21, Apache 2.0.59, but shouldn't really be of any importance here) I got a message regarding DB installation and this line:

file: install5.php
line:

Code:

$query = file_get_contents($d_root.'install/install.sql');



file install5.php was located in install-upqeenw8 folder, which I assume is randomly generated for security purposes.. file_get_contents(...) could not open the stream of course, until I manually changed the line into this:

Code:

$query = file_get_contents($d_root.'install-upqeenw8/install.sql');



Is this a bug or something went terribly wrong with my installation??


You'd better have renamed the install folder back to install! Here's what happened to you:

  1. you installed Drake CMS and all went ok, the install folder was renamed to install-upqeenw8

  2. you wanted to install Drake CMS again, but did not rename the folder, hence the error!

I will add a message for this case.

Quote:

Also, the install script reported a lot of "undroppable" tables, I believe this could be easily avoided with a more clever SQL script, this can only be confusing to less experienced users.

Will test further for bugs and missing features, expect mayhem wink

cheerz sideways

Yes, you are right, the final release will not show those errors.

Your reports are welcome! smile
 
lecterror
Re:SQL script problem(?)
31 October 2006 22:19
Anonymous legolas558 wrote:
Quote:
You'd better have renamed the install folder back to install! Here's what happened to you:

  1. you installed Drake CMS and all went ok, the install folder was renamed to install-upqeenw8

  2. you wanted to install Drake CMS again, but did not rename the folder, hence the error!

I will add a message for this case.

Ah, that's the case.. I thought the install folder is renamed before the installation.. silly thx wink

Quote:
Yes, you are right, the final release will not show those errors.

Your reports are welcome! smile

That's nice to hear, and since I've joined the dev team, I'm sure you'll get more reports, although I have very limited free time. sad
 
Top