Page 1 of 1

[SOLVED] Install problem after B3 2.4 update

Posted: 10 Feb 2012, 15:42
by Joric17
Hi,

This is what i get when I install Home Automation after making the admin user in the installation program.

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT d.id, d.telldus_id, d.description, dt.type, dt.text AS typetext, d.date_added FROM devices d INNER JOIN devicetypes dt ON d.type = dt.id WHERE d.telldus_id =

I already installed Home Automation before without any problem. In the mean time I did a full system reinstall and a 2.4 update on my B3.

Any Help?

Thanks,
Eric

Re: Install problem after B3 2.4 update

Posted: 11 Feb 2012, 04:02
by Eek
Is this the only error? or are there more?

Re: Install problem after B3 2.4 update

Posted: 11 Feb 2012, 07:19
by Joric17
Hi Eek,

This is the only error. I can't continue te installation. Tried several times (delete HA directory complete, mysql database), always the same error.

Btw, tdtool works fine

Re: Install problem after B3 2.4 update

Posted: 12 Feb 2012, 15:13
by Eek
strange, could be a mysql version problem.

Re: Install problem after B3 2.4 update

Posted: 21 Feb 2012, 01:28
by DanielM
Hi.
Sorry for the late reply... I don't think this has anything with upgrading B3 to do, rather with upgrading telldus-core. Apparantly telldus changed the output of tdtool slightly in 2.1, breaking our parsing of the output. Replacing your system/functions.php with the file below will fix the problem.

http://www.telldus.com/forum/download/f ... 45dfccabb4

/Daniel

Re: Install problem after B3 2.4 update

Posted: 21 Feb 2012, 15:54
by Joric17
Hi Daniel,

Thanks for the reply but it seems the link to the fix is empty :(

Eric

Re: Install problem after B3 2.4 update

Posted: 22 Feb 2012, 01:13
by DanielM
Joric17 wrote:Thanks for the reply but it seems the link to the fix is empty :(
Strange. Try this one instead: http://www.telldus.com/forum/download/f ... 53bf7b7e55

/Daniel

Re: Install problem after B3 2.4 update

Posted: 22 Feb 2012, 03:23
by Joric17
Great, thanks Daniel

Regards,
Eric