Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Problem when updating - CAssetManager.basePath invalid (panic?)

Problem when updating - CAssetManager.basePath invalid (panic?) 5 months 2 days ago #105640

Hi everyone!
I was doing an update on my limesurvey install and when clicking the button for the final step of the comfort update, I got the following message:
Internal Server Error
CAssetManager.basePath "/home/artisticresearch/surveys.artisticresearch.ch/tmp/assets" is invalid. Please make sure the directory exists and is writable by the Web server process.

My questions are:
  1. Should I panic? :unsure:
  2. How can I solve the issue? :blink:
Looking through the forums and the manual I could not find anything useful. Perhaps one of you could help?
Many many thanks!
Hernando

Note to Forum admins: I had to create a new account because my usual one, "iosononando", would not login what so ever...
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 5 months 1 day ago #105647

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2554
  • Thank you received: 288
  • Karma: 105
Have a look at the folder with your FTP programm and check if it is writeable. I assue it is not.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 5 months 1 day ago #105650

Hi Holch,
thanks for the reply!!!
I indeed went to check the privileges of said folder... just to discover that IT IS INDEED MISSING :(
That's why I feel I'm stuck here....
Any Ideas of what could have happened, and how to overcome the issue?
Thanks a lot!
Hernando
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 5 months 1 day ago #105654

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2554
  • Thank you received: 288
  • Karma: 105
I have no idea, but have you tried to create the folder via FTP?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 5 months 1 day ago #105660

Dear Holch,
thanks again for the reply!
As you suggested, I created the folder myself via FTP and by doing so the process that was blocked finally decided to move on. So great!
The down side is that a new problem emerged :blink: ... Here the message I get:
Internal Server Error
Property "LSYii_Application.bootstrap" is not defined.
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.

In other words... I'm still blocked.
How can I define LSYii_Application.bootstrap????
Thanks again!!!!
Hernando
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 4 months 2 weeks ago #106236

  • Brimfulof
  • Brimfulof's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I've had exactly the same problem.

Created the assets folder, was then able to log in but now getting the same error message:

Property "LSYii_Application.bootstrap" is not defined.

Anyone got an idea on how to solve this?
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 4 months 2 weeks ago #106237

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
Is the /tmp folder and everything below it writeable? What php version are you using?
Could you edit your /application/config.php to change debug value from 0 to 2 and tell us what you see
---
Menno Dekker
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 4 months 2 weeks ago #106240

  • Brimfulof
  • Brimfulof's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
PHP is 5.3.27
tmp is set to 775 (I just changed this from 755 to see if it would make a difference) - everything below is set to 755
A lot comes up when I set debug to 2
/home/q20invo/public_html/ask/framework/base/CModule.php(105)
 
093     /**
094      * Getter magic method.
095      * This method is overridden to support accessing application components
096      * like reading module properties.
097      * @param string $name application component or property name
098      * @return mixed the named property value
099      */
100     public function __get($name)
101     {
102         if($this->hasComponent($name))
103             return $this->getComponent($name);
104         else
105             return parent::__get($name);
106     }
107 
108     /**
109      * Checks if a property value is null.
110      * This method overrides the parent implementation by checking
111      * if the named application component is loaded.
112      * @param string $name the property name or the event name
113      * @return boolean whether the property value is null
114      */
115     public function __isset($name)
116     {
117         if($this->hasComponent($name))
Stack Trace
#0	
+  /home/q20invo/public_html/ask/framework/base/CModule.php(105): CComponent->__get("bootstrap")
#1	
–  /home/q20invo/public_html/ask/application/extensions/bootstrap/widgets/TbSelect2.php(76): CModule->__get("bootstrap")
71    * Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin
72    * in order to attach events if any
73    */
74   public function registerClientScript($id)
75   {
76     Yii::app()->bootstrap->registerAssetCss('select2.css');
77     Yii::app()->bootstrap->registerAssetJs('select2.js');
78 
79     $options = !empty($this->options) ? CJavaScript::encode($this->options) : '';
80 
81     ob_start();
#2	
–  /home/q20invo/public_html/ask/application/extensions/bootstrap/widgets/TbSelect2.php(67): TbSelect2->registerClientScript("loginlang")
62     } else
63       echo $this->asDropDownList ?
64         CHtml::dropDownList($name, $this->value, $this->data, $this->htmlOptions) :
65         CHtml::hiddenField($name, $this->value, $this->htmlOptions);
66 
67     $this->registerClientScript($id);
68   }
69 
70   /**
71    * Registers required client script for bootstrap select2. It is not used through bootstrap->registerPlugin
72    * in order to attach events if any
#3	
+  /home/q20invo/public_html/ask/framework/web/CBaseController.php(174): TbSelect2->run()
#4	
–  /home/q20invo/public_html/ask/application/views/admin/authentication/login.php(61): CBaseController->widget("bootstrap.widgets.TbSelect2", array("name" => "loginlang", "data" => array("default" => "Default", "he" => " עברית - Hebrew", "be" => "Беларускі - Belarusian", "mk" => "Македонски - Macedonian", ...), "options" => array("width" => "230px"), "htmlOptions" => array("id" => "loginlang"), ...))
56                 ),
57                 'htmlOptions' => array(
58                     'id' => 'loginlang'
59                 ),
60                 'value' => 'default'
61             ));
62             echo CHtml::closeTag('li');
63             ?>
64         </ul>
65         <p><input type='hidden' name='action' value='login' />
66             <input class='action' type='submit' name='login_submit' value='<?php $clang->eT("Login"); ?>' /><br />
#5	
+  /home/q20invo/public_html/ask/framework/web/CBaseController.php(127): require("/home/q20invo/public_html/ask/application/views/admin/authentica...")
#6	
+  /home/q20invo/public_html/ask/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/q20invo/public_html/ask/application/views/admin/authentica...", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => PluginEventContent), "display" => array("menu_bars" => false), ...), true)
#7	
+  /home/q20invo/public_html/ask/framework/web/CController.php(870): CBaseController->renderFile("/home/q20invo/public_html/ask/application/views/admin/authentica...", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => PluginEventContent), "display" => array("menu_bars" => false), ...), true)
#8	
+  /home/q20invo/public_html/ask/application/core/Survey_Common_Action.php(306): CController->renderPartial("/admin/authentication/login", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => PluginEventContent), "display" => array("menu_bars" => false), ...))
#9	
+  /home/q20invo/public_html/ask/application/controllers/admin/authentication.php(283): Survey_Common_Action->_renderWrappedTemplate("authentication", "login", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => PluginEventContent), "display" => array("menu_bars" => false)))
#10	
+  /home/q20invo/public_html/ask/application/controllers/admin/authentication.php(68): Authentication->_renderWrappedTemplate("authentication", "login", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => PluginEventContent)))
#11	
 unknown(0): Authentication->index()
#12	
+  /home/q20invo/public_html/ask/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(Authentication, array())
#13	
+  /home/q20invo/public_html/ask/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(Authentication, ReflectionMethod, array("sa" => "login"))
#14	
+  /home/q20invo/public_html/ask/framework/web/CController.php(309): Survey_Common_Action->runWithParams(array("sa" => "login"))
#15	
+  /home/q20invo/public_html/ask/framework/web/CController.php(287): CController->runAction(Authentication)
#16	
+  /home/q20invo/public_html/ask/framework/web/CController.php(266): CController->runActionWithFilters(Authentication, array())
#17	
+  /home/q20invo/public_html/ask/application/controllers/AdminController.php(169): CController->run("authentication")
#18	
+  /home/q20invo/public_html/ask/framework/web/CWebApplication.php(276): AdminController->run("authentication")
#19	
+  /home/q20invo/public_html/ask/framework/web/CWebApplication.php(135): CWebApplication->runController("admin/authentication/sa/login")
#20	
+  /home/q20invo/public_html/ask/framework/base/CApplication.php(180): CWebApplication->processRequest()
#21	
+  /home/q20invo/public_html/ask/index.php(178): CApplication->run()
The administrator has disabled public write access.

Problem when updating - CAssetManager.basePath invalid (panic?) 4 months 2 weeks ago #106242

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
Might be the problem that not all files where uploaded correctly. Check if you have /application/config/internal.php and if it has components and bootstrap around line 21. If not, i think it would be best to manually overwrite all file from a fresh download. Probably a permission ussue on update.
---
Menno Dekker
The administrator has disabled public write access.
The following user(s) said Thank You: Brimfulof

Problem when updating - CAssetManager.basePath invalid (panic?) 4 months 2 weeks ago #106244

  • Brimfulof
  • Brimfulof's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thanks very much for your help.

So I should just delete all the files in the limesurvey directory and upload the new files by FTP?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.189 seconds
Donation Image