← Back to team overview

phpdevshell team mailing list archive

[Bug 659198] Re: Error: Can't find any 'template' because dependancy is wrong

 

The way PHPDS deals with the error is actually 100% correct. It is
rather MySQL that is not consistent in this case. As I explained to
Jason yesterday: If the Windows version of MySQL produces error 0's for
tables that does not exist who knows what else it will produce error 0's
for, fields that does not exist, incorrectly formatted SQL, what else?
My point is that we have to figure out the reason MySQL produce error
0's when it is not appropriate, is it something wrong in PHPDS or have
we stumbled across a bug in the Windows version of MySQL?

-- 
Error: Can't find any 'template' because dependancy is wrong
https://bugs.launchpad.net/bugs/659198
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.

Status in Open Source php gui type development framework.: Triaged

Bug description:
Note: This problem seems to happen on Microsoft Windows specifically.

Steps to reproduce the problem:
1) Create the database
2) Rename the configuration files
3) Run the website, i.e. http://localhost/mysite

PHPDS fails to detect that it is not installed yet and tries to execute database queries on a database structure that is not fully created yet. The following errors and problems occur as a result of this:

Uncaught Exception while running:
Can't find any 'template' because dependancy is wrong

It seems this error is displayed due to another error that is thrown by the database but the error unfortunately does not specifically state what is wrong. I know that the problem is that the table actually doesn't exist but the error displayed is the following:
The MySQL database engine returned with an error (code 0).





References