Jump to content


flatglass

Member Since 30 Apr 2012
Offline Last Active Oct 22 2014 09:08 PM
-----

Topics I've Started

Upgrading from 3.0.2

12 June 2014 - 08:14 AM

I am attempting to upgrade from 3.0.2 and am getting a php notice:

 

I have run the requirement checker, and that does not report any issues.

 

Any ideas?

 

PHP notice

Undefined index: fileList

/var/www/html/protected/controllers/AdminController.php(3119)

3107 $updateData['updaterCheck'] = $updaterCheck;
3108
3109
3110 if (!isset($updateData['errors'])) {
3111 $updateData['scenario'] = 'update';
3112 foreach(array('updaterCheck','updaterVersion','version','unique_id') as $var)
3113 $updateData[$var] = ${$var};
3114 $updateData['edition'] = 'opensource';
3115 if(isset(Yii::app()->params->admin->edition))
3116 $updateData['edition'] = Yii::app()->params->admin->edition;
3117 $updateData['url'] = 'x2planet';
3118 // Ready to run the updater.
3119 $newFiles = $updateData['fileList'];
3120 if(!empty($updateData['nonFreeFileList']))
3121 $newFiles = array_merge($newFiles,$updateData['nonFreeFileList']);
3122 $this->render('updater', $updateData);
3123 } else { // Scenario $updateData['errors'] is set; server denied/dropped request
3124 // Redirect, with the appropriate error message
3125 $this->render('updater', array(
3126 'scenario' => 'error',
3127 'message' => Yii::t('admin', "Could not retrieve update data."),
3128 'longMessage' => Yii::t('admin', $updateData['errors'])
3129 ));
3130 }
3131 } else { // Scenario $updateData === False; request failed
Stack Trace #0
+
  /var/www/html/framework/web/actions/CInlineAction.php(50): AdminController->actionUpdater()
 
#1
+
  /var/www/html/framework/web/CController.php(309): CInlineAction->runWithParams(array())
 
#2
+
  /var/www/html/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction)
 
#3
  /var/www/html/protected/controllers/AdminController.php(354): CFilterChain->run()
349 */
350 public function filterClearCache($filterChain) {
351 $cache = Yii::app()->cache;
352 if(isset($cache))
353 $cache->flush();
354 $filterChain->run();
355 }
356
357 /**
358 * A filter to clear the authItem cache.
359 * @param type $filterChain The filter chain Yii is currently acting on.
#4
+
  /var/www/html/framework/web/filters/CInlineFilter.php(59): AdminController->filterClearCache(CFilterChain)
 
#5
+
  /var/www/html/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain)
 
#6
+
  /var/www/html/framework/web/CController.php(292): CFilterChain->run()
 
#7
+
  /var/www/html/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array("clearCache"))
 
#8
+
  /var/www/html/framework/web/CWebApplication.php(276): CController->run("updater")
 
#9
+
  /var/www/html/framework/web/CWebApplication.php(135): CWebApplication->runController("admin/updater")
 
#10
+
  /var/www/html/framework/base/CApplication.php(162): CWebApplication->processRequest()
 
#11
  /var/www/html/index.php(58): CApplication->run()
53 if (file_exists($filename)) {
54 header('Location: ' . $matches[1] . $filename);
55 exit();
56 }
57 $config=dirname(__FILE__).'/protected/config/main.php';
58 Yii::createWebApplication($config)->run();
59 } else {
60 // Command line entry script
61 $config=dirname(__FILE__).'/protected/config/console.php';
62 Yii::createConsoleApplication($config)->run();
63 }
2014-06-13 02:05:12 Apache/2.2.15 (CentOS) Yii Framework/1.1.9