atkphpframework / achievo

[ARCHIVED] Achievo is a web-based Business Support Services (BSS) application for organizations.
Other
19 stars 21 forks source link

timereg weekview gives atk illegal string offset error (achievo-1.4.5) #4

Open dalers opened 11 years ago

dalers commented 11 years ago

I'm getting an ATK error testing an Achievo 1.4.6 alpha (working through the Guided Tour on the GitHub wiki), and see an error after clicking weekview in time registration.

Procedure: from menu, access Time registration / Time Registration and click 'weekview'.

Results:

error: [+0.25623s / 0.00035s] [Warning] Illegal string offset 'id' in /usr/local/www/achievo-1.4.5/atk/attributes/class.atknumberattribute.inc (line 362)[/code]

I'm testing with xampp on Win7 (php 5.4.4, mysql 5.5.25). My 1.4.5 production server (unmodified) has the same behavior (FreeBSD 8.3, php 5 4.6, mysql 5.5.16).

I don't imagine 1.4.5 was released with this behavior, so I wonder if it's related to the php or mysql version (or if in fact, has been there for a while). For what it's worth, I converted all the Achievo tables to MyISAM in both systems (local xampp, and FreeBSD production server), as mysql created them as InnoDB by default.

gverduci commented 10 years ago

Same problem. I'm testing with VM bitnami Lampstack (php 5.4.9, mysql 5.5.28)