Closed phillipsic closed 12 years ago
When trying to download the session file and error message is displayed:
Apr 04 17:10:44 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/_) for /sessions/download/id/2 with parameters array ( 'module' => 'sessions', 'action' => 'download', 'id' => '2',) Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter" Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfBasicSecurityFilter" Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter" Apr 04 17:10:44 symfony [info] {sessionsActions} Call "sessionsActions->executeDownload()" Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - () Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS stester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (2) Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : UPDATE sessions SET status_id = ?, tester = ?, updated_at = ? WHERE id = ? - (3, Admin, 2012-04-04 17:10:44, 2) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 196 (scandir() [function.scandir]: Directory name cannot be empty) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 198 (Invalid argument supplied for foreach()) Apr 04 17:10:44 symfony [info] {sessionsActions} filename Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS stester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (2) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 212 (copy(uploads/template/) [function.copy]: failed to open stream: No such file or directory) Apr 04 17:10:44 symfony [info] {sessionsActions} uploads/template/et-todo-yymmdd-4-Final-Validation-of-New-Feature-XYZ.ses Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTMprojects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 214 (fopen(et-todo-yymmdd-4-Final-Validation-of-New-Feature-XYZ.ses) [function.fopen]: failed to open stream: No such file or directory) Apr 04 17:10:45 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/) for /sessions/download/id/sessions with parameters array ( 'module' => 'sessions', 'action' => 'download', 'id' => 'sessions',) Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter" Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfBasicSecurityFilter" Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter" Apr 04 17:10:45 symfony [info] {sessionsActions} Call "sessionsActions->executeDownload()" Apr 04 17:10:45 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - () Apr 04 17:10:45 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS s__tester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (sessions)
After invesstigation found that the code is looking for a default template that does not exist. Need to add a template to
uploads/template
When trying to download the session file and error message is displayed:
Apr 04 17:10:44 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/_) for /sessions/download/id/2 with parameters array ( 'module' => 'sessions', 'action' => 'download', 'id' => '2',) Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter" Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfBasicSecurityFilter" Apr 04 17:10:44 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter" Apr 04 17:10:44 symfony [info] {sessionsActions} Call "sessionsActions->executeDownload()" Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - () Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS stester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (2) Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : UPDATE sessions SET status_id = ?, tester = ?, updated_at = ? WHERE id = ? - (3, Admin, 2012-04-04 17:10:44, 2) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 196 (scandir() [function.scandir]: Directory name cannot be empty) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 198 (Invalid argument supplied for foreach()) Apr 04 17:10:44 symfony [info] {sessionsActions} filename Apr 04 17:10:44 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS stester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (2) Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTM_projects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 212 (copy(uploads/template/) [function.copy]: failed to open stream: No such file or directory) Apr 04 17:10:44 symfony [info] {sessionsActions} uploads/template/et-todo-yymmdd-4-Final-Validation-of-New-Feature-XYZ.ses Apr 04 17:10:44 symfony [warning] {sfWebDebugLogger} Warning at D:\SBTMprojects\PQASBTM\apps\frontend\modules\sessions\actions\actions.class.php on line 214 (fopen(et-todo-yymmdd-4-Final-Validation-of-New-Feature-XYZ.ses) [function.fopen]: failed to open stream: No such file or directory) Apr 04 17:10:45 symfony [info] {sfPatternRouting} Match route "default" (/:module/:action/) for /sessions/download/id/sessions with parameters array ( 'module' => 'sessions', 'action' => 'download', 'id' => 'sessions',) Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfRenderingFilter" Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfBasicSecurityFilter" Apr 04 17:10:45 symfony [info] {sfFilterChain} Executing filter "sfExecutionFilter" Apr 04 17:10:45 symfony [info] {sessionsActions} Call "sessionsActions->executeDownload()" Apr 04 17:10:45 symfony [info] {Doctrine_Connection_Mysql} exec : SET NAMES 'UTF8' - () Apr 04 17:10:45 symfony [info] {Doctrine_Connection_Statement} execute : SELECT s.id AS sid, s.sessionname AS ssessionname, s.charter AS scharter, s.areas AS sareas, s.testnotes AS stestnotes, s.ready AS sready, s.tester AS s__tester, s.status_id AS sstatus_id, s.project_id AS sproject_id, s.strategy_id AS sstrategy_id, s.todochange_at AS stodochange_at, s.created_at AS screated_at, s.updated_at AS supdated_at FROM sessions s WHERE (s.id = ?) LIMIT 1 - (sessions)