I can't upload or save anything. The file management is set to filesystem.
This is from the log file:
<?php die(); ?>
Session "default" started at 2008-10-13T00:35:06+0000
#1 DEBUG: WARNING: Calling getProject() on an object with multiple workspaces.
Time since start: 0.17999792099 seconds
-------------------------------------------------------------------------------
Session "default" started at 2008-10-13T00:36:34+0000
#1 DEBUG: WARNING: Calling getProject() on an object with multiple workspaces.
Time since start: 0.179155111313 seconds
-------------------------------------------------------------------------------
Session "default" started at 2008-10-13T00:40:31+0000
#1 ERROR: Error: Invalid argument supplied for foreach() in '/Applications/xampp/xamppfiles/htdocs/opengoo/application/views/project/workspace_selector.php' on line 11 (error code: 2)
#2 ERROR: Error: Invalid argument supplied for foreach() in '/Applications/xampp/xamppfiles/htdocs/opengoo/application/views/project/workspace_selector.php' on line 14 (error code: 2)
Time since start: 0.163017988205 seconds
-------------------------------------------------------------------------------
Session "default" started at 2008-10-13T00:41:31+0000
#1 DEBUG: WARNING: Calling getProject() on an object with multiple workspaces.
#2 DEBUG: WARNING: Calling getProject() on an object with multiple workspaces.
Time since start: 0.450109004974 seconds
-------------------------------------------------------------------------------
Session "default" started at 2008-10-13T00:41:35+0000
#1 ERROR: Error: Invalid argument supplied for foreach() in '/Applications/xampp/xamppfiles/htdocs/opengoo/application/views/project/workspace_selector.php' on line 11 (error code: 2)
#2 ERROR: Error: Invalid argument supplied for foreach() in '/Applications/xampp/xamppfiles/htdocs/opengoo/application/views/project/workspace_selector.php' on line 14 (error code: 2)
Time since start: 0.166949987411 seconds
-------------------------------------------------------------------------------
Session "default" started at 2008-10-13T00:42:41+0000
#1 DEBUG: WARNING: Calling getProject() on an object with multiple workspaces.
Time since start: 0.242319107056 seconds
-------------------------------------------------------------------------------
I created a new user. Pretty sure I didn't do anything else, but now I get this:
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 ') AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5' at line 1'
Error params:
File: /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 371
Sql: SELECT * FROM `og_project_charts` WHERE (project_id in () AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5
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 ') AND show_in_parents = 1) ORDER BY updated_on DESC LIMIT 0, 5' at line 1
Backtrace:
#0 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/adapters/AbstractDBAdapter.class.php(289): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/library/database/DB.class.php(194): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/dataaccess/DataManager.class.php(182): DB::executeAll('SELECT * FROM `...')
#3 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(109): DataManager->find(Array)
#4 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/dataaccess/DataManager.class.php(210): BaseProjectCharts->find(Array)
#5 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(126): DataManager->findAll(Array)
#6 /Applications/xampp/xamppfiles/htdocs/opengoo/application/models/project_charts/base/BaseProjectCharts.class.php(128): BaseProjectCharts->findAll(Array)
#7 /Applications/xampp/xamppfiles/htdocs/opengoo/application/controllers/DashboardController.class.php(56): BaseProjectCharts->findAll(Array)
#8 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/controller/Controller.class.php(69): DashboardController->index()
#9 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/controller/PageController.class.php(62): Controller->execute('index')
#10 /Applications/xampp/xamppfiles/htdocs/opengoo/environment/classes/Env.class.php(152): PageController->execute('index')
#11 /Applications/xampp/xamppfiles/htdocs/opengoo/init.php(150): Env::executeAction('dashboard', 'index')
#12 /Applications/xampp/xamppfiles/htdocs/opengoo/index.php(9): require('/Applications/x...')
#13 {main}
Autoglobal varibles:
$_GET:
$_POST:
$_COOKIE: Array (
['PHPSESSID'] => (string) 'b98ec06bf2353abea1dfd7bc79ff58d8'
['id'] => (string) '1'
['token'] => (string) 'cc594f5d466c363acd6ba56aa18cfff5682c50b4'
)
$_SESSION: Array (
['script_installer_executed_steps'] => Array (
[0] => (int)1
[1] => (int)2
[2] => (int)3
[3] => (int)1
[4] => (int)2
[5] => (int)3
[6] => (int)3
)
['cal_version'] => true
['cal_month'] => (string) '10'
['cal_year'] => (string) '2008'
['cal_day'] => (string) '10'
)
Execution time:
Total execution time: 0.151149 seconds