View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06260Bug reportsInstallationpublic2012-06-22 23:57
ReporterTMSWhite Assigned Toc_schmitz  
PrioritynormalSeveritycrash 
Status closedResolutionfixed 
Product Version2.00RC4 
Summary06260: unable to complete last step of fresh install
Description

Get this error with url = http://localhost/ls2/index.php/installer/optional
(last step of install, which sets the admin password)

Additional Information

Application runtime path "C:\xampp\htdocs\ls2\tmp\runtime" is not valid. Please make sure it is a directory writable by the Web server process.

C:\xampp\htdocs\ls2\framework\base\CModule.php(483)

471 }
472 }
473
474 /*
475
Configures the module with the specified configuration.
476 @param array $config the configuration array
477
/
478 public function configure($config)
479 {
480 if(is_array($config))
481 {
482 foreach($config as $key=>$value)
483 $this->$key=$value;
484 }
485 }
486
487 /*
488
Loads static application components.
489 */
490 protected function preloadComponents()
491 {
492 foreach($this->preload as $id)
493 $this->getComponent($id);
494 }
495
Stack Trace
#0

  • C:\xampp\htdocs\ls2\framework\base\CComponent.php(153): CApplication->setRuntimePath("C:\xampp\htdocs\ls2\tmp\runtime")
    #1
  • C:\xampp\htdocs\ls2\framework\base\CModule.php(483): CComponent->__set("runtimePath", "C:\xampp\htdocs\ls2\tmp\runtime")
    #2
  • C:\xampp\htdocs\ls2\framework\base\CApplication.php(144): CModule->configure(array("runtimePath" => "C:\xampp\htdocs\ls2\tmp\runtime", "name" => "LimeSurvey", "defaultController" => "survey", "import" => array("application.core.", "application.models.", "application.controllers.*"), ...))
    #3
    – C:\xampp\htdocs\ls2\application\core\LSYii_Application.php(36): CApplication->__construct("C:\xampp\htdocs\ls2/application/config/config.php")
    31 {
    32 if (!file_exists($config))
    33 {
    34 $config = APPPATH . 'config/config-sample' . EXT;
    35 }
    36 parent::__construct($config);
    37 // Load the default and environmental settings from different files into self.
    38 $ls_config = require(APPPATH . '/config/config-defaults.php');
    39 $email_config = require(APPPATH . '/config/email.php');
    40 $version_config = require(APPPATH . '/config/version.php');
    41
    #4
  • C:\xampp\htdocs\ls2\framework\YiiBase.php(127): LSYii_Application->__construct("C:\xampp\htdocs\ls2/application/config/config.php")
    #5
    – C:\xampp\htdocs\ls2\index.php(171): YiiBase::createApplication("LSYii_Application", "C:\xampp\htdocs\ls2/application/config/config.php")
    166
    167
    /
    168 require_once BASEPATH . 'yii' . EXT;
    169 require_once APPPATH . 'core/LSYii_Application' . EXT;
    170
    171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run();
    172
    173 / End of file index.php /
    174 / Location: ./index.php /
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120624
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-06-22 22:02

reporter   ~19486

fixable by forcing creation of directory /tmp/runtime
(and deleting /application/config/config.php and dropping database and re-doing fresh install)

c_schmitz

c_schmitz

2012-06-22 23:27

administrator   ~19495

The directory should have been created automatically on a full Git pull.

TMSWhite

TMSWhite

2012-06-22 23:42

reporter   ~19500

The directory is not created on a full Git pull. I just tested twice - on Windows and Linux

c_schmitz

c_schmitz

2012-06-22 23:56

administrator   ~19506

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8847

c_schmitz

c_schmitz

2012-06-22 23:56

administrator   ~19508

I see, my fault. Git preferred to give priority to the ignore file and had to be forced first to add it. Thank you!

Related Changesets

LimeSurvey: Yii 49f26827

2012-06-22 14:56:27

c_schmitz

Details Diff
Dev Fixed issue 06260: Unable to complete last step of fresh install Affected Issues
06260
add - tmp/runtime/index.html Diff File

Issue History

Date Modified Username Field Change
2012-06-22 21:57 TMSWhite New Issue
2012-06-22 22:02 TMSWhite Note Added: 19486
2012-06-22 23:27 c_schmitz Note Added: 19495
2012-06-22 23:27 c_schmitz Status new => closed
2012-06-22 23:27 c_schmitz Assigned To => c_schmitz
2012-06-22 23:27 c_schmitz Resolution open => no change required
2012-06-22 23:42 TMSWhite Note Added: 19500
2012-06-22 23:42 TMSWhite Status closed => feedback
2012-06-22 23:42 TMSWhite Resolution no change required => reopened
2012-06-22 23:56 c_schmitz Changeset attached => LimeSurvey Yii 49f26827
2012-06-22 23:56 c_schmitz Note Added: 19506
2012-06-22 23:56 c_schmitz Note Added: 19508
2012-06-22 23:56 c_schmitz Status feedback => resolved
2012-06-22 23:56 c_schmitz Resolution reopened => fixed
2012-06-22 23:57 c_schmitz Status resolved => closed