← Back to team overview

phpdevshell team mailing list archive

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

 

Hi Greg,

I did two installation on two different Linux Ubuntu PC's and it worked
fine. I have also tried it on two separate Windows 7 installations which
have got the latest XAMPP installed, both failed to run properly on the
Windows 7 installations.

The config files were renamed as per installation instructions:
_default.config.php
_host.local.config.php

Host file contents:
$configuration['host'][$_SERVER['SERVER_NAME']] = '_default';

The correct configuration files are read by PHPDS. I tested this by
filling in an incorrect database password and the correct MySQL Access
Denied error is shown.

The problem is that MySQL returns with error code 0 (which is usually a
service related error) instead of error 1146 or 2002 which is checked
for. As I have mentioned before, the MySQL service is running because
other local sites works fine.

-- 
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