I just upgraded from 1.3.1 (I think) to 1.4RC. I can't end my task. I get the following:
Error (DBQueryError)
Query failed with message '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'
Error params:
File: /home/XXX/public_html/goo/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 386
Sql: SELECT * FROM `og_workspace_billings` WHERE project_id = '144' AND billing_id =
Error number: 1064
Error message: 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
Backtrace:
#0 /home/XXX/public_html/goo/environment/library/database/adapters/AbstractDBAdapter.class.php(304):
AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /home/XXX/public_html/goo/environment/library/database/DB.class.php(199):
AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /home/XXX/public_html/goo/environment/classes/dataaccess/DataManager.class.php(231):
DB::executeAll('SELECT * FROM `...')
#3
/home/XXX/public_html/goo/application/models/workspace_billing/base/BaseWorkspaceBillings.class.php(
112): DataManager->find(Array)
#4 /home/XXX/public_html/goo/environment/classes/dataaccess/DataManager.class.php(277):
BaseWorkspaceBillings->find(Array)
#5
/home/XXX/public_html/goo/application/models/workspace_billing/base/BaseWorkspaceBillings.class.php(
146): DataManager->findOne(Array)
#6
/home/XXX/public_html/goo/application/models/workspace_billing/base/BaseWorkspaceBillings.class.php(
148): BaseWorkspaceBillings->findOne(Array)
#7 /home/XXX/public_html/goo/application/models/projects/Copy of Project.class.php(455):
BaseWorkspaceBillings->findOne(Array)
#8 /home/XXX/public_html/goo/application/controllers/TimeslotController.class.php(164):
Project->getBillingAmount(0)
#9 /home/XXX/public_html/goo/environment/classes/controller/Controller.class.php(75):
TimeslotController->close()
#10 /home/XXX/public_html/goo/environment/classes/controller/PageController.class.php(62):
Controller->execute('close')
#11 /home/XXX/public_html/goo/environment/classes/Env.class.php(133):
PageController->execute('close')
#12 /home/XXX/public_html/goo/init.php(150): Env::executeAction('timeslot', 'close')
#13 /home/XXX/public_html/goo/index.php(9): require('/home/XXX/...')
#14 {main}
Autoglobal varibles:
$_GET: Array (
['active_project'] => (string) '0'
['ajax'] => (string) 'true'
['c'] => (string) 'timeslot'
['a'] => (string) 'close'
['id'] => (string) '317'
['current'] => (string) 'overview-panel'
)
$_POST: Array (
['timeslot'] => Array (
['description'] => (string) 'XXX'
)
)
$_COOKIE: Array (
['exp_last_visit'] => (string) '1242701756'
['exp_last_activity'] => (string) '1242772504'
['exp_perpage'] => (string) '50'
['exp_mode'] => (string) 'normal'
['id'] => (string) '1'
['token'] => (string) 'a51b7a4143bb5a1c400dead9f4eaecd1bacebdc4'
['remember'] => (string) '1'
['PHPSESSID'] => (string) 'd9b245e9d8ae2a58be36d194f85f4817'
)
$_SESSION: Array (
['cal_version'] => true
['month'] => (string) '5'
['year'] => (string) '2009'
['day'] => (string) '19'
['cal_loginfailed'] => (int)0
['cal_user'] => (string) 'tamalita'
['cal_userid'] => (int)1
)
Execution time:
Total execution time: 0.156226 seconds
I was able to Complete the task and the time was ended, but I got an error:
Error:
App.modules.addTaskForm is undefined
When I try to navigate around the dashboard, the calendar also gives me an error:
Error
og.CalendarTopToolbar is not a constructor
If I look at the calendar and click on a task I get a duplicate error as above:
Error
App.modules.addTaskForm is undefined.
I have also tried to view the tasks and they are not showing up under Tasks on the dashboard. I get an error:
ogTasks is not defined
If I try to add a task I get
Og.CSVCombo is not a constructor
og.DateField is not a constructor
og.DateField is not a constructor
if I try to edit the milestone, I get:
Og.CSVCombo is not a constructor
og.DateField is not a constructor
If I try to save the changes I get
Fatal error: Call to a member function getMonth() on a non-object
in /home/XXX/public_html/goo/application/controllers/MilestoneController.class.php on line 297