MantisBT - ATutor
View Issue Details
0004831ATutorUpgradingpublic2011-08-24 13:092011-08-29 14:11
greg 
cindy 
normalminorhave not tried
closedfixed 
 
2.0.3 
SVN
11415
0004831: Upgrade Broken 203
Upgrading from 163 to 203, after entering a course previously created in 163, I get the following error, and all the tabs and side menus are missing.

Warning: array_intersect(): Argument 0000002 is not an array in /var/www/ATutor163/include/header.inc.php on line 251

This does not occur with a fresh install.
Install 1.6.3
Create a course and import a backup of the howto course
do a standard upgrade
No tags attached.
Issue History
2011-08-24 13:09gregNew Issue
2011-08-24 13:28gregAssigned To => cindy
2011-08-24 13:28gregStatusnew => assigned
2011-08-24 15:53gregNote Added: 0005224
2011-08-24 17:13gregNote Added: 0005225
2011-08-25 13:19cindySVN Revision# => 11415
2011-08-25 13:19cindyNote Added: 0005240
2011-08-25 13:19cindyStatusassigned => resolved
2011-08-25 13:19cindyFixed in Version => 2.0.3
2011-08-25 13:19cindyResolutionopen => fixed
2011-08-29 14:11gregNote Added: 0005271
2011-08-29 14:11gregStatusresolved => closed

Notes
(0005224)
greg   
2011-08-24 15:53   
also test on an upgrade from 2.0.2, with the same result.
(0005225)
greg   
2011-08-24 17:13   
Issue exists in module.class.php where AT_MODULE_PATH is now being modified as a result of the session_path security changes.
(0005240)
cindy   
2011-08-25 13:19   
Solution: as AT_MODULE_PATH is based on AT_INCLUDE_PATH, which needs to be defined in upgrade script pointing to the relative path to the include directory of atutor root rather than the include directory for install.

Affected scripts:
install/include/common.inc.php
install/include/step3.php
install/include/ustep3.php
install/upgrade.php
(0005271)
greg   
2011-08-29 14:11   
2.0.3 bugs resolved and closed round 2