CException

Hello!
 
 
I just install the UB Data Migration Pro and receive this error : Application runtime path /pub/ub-tool/protected/runtime” is not valid. Please make sure it is a directory writable by the Web server process.
 
 
I want to mention that /pub/ is 0755 Permission.
 
What am I doing wrong?
 
 

7 answers

Profile photo of Mall Staff 102560.00 $tone February 2, 2018
Public

Hi there,

The config file was not exists or not ablewrite permission.

Let try run command: chmod -R 777 pub/ub-tool/
And tell me know how it goes then.
Regards,
Mall.

#
Profile photo of ubdev Staff 32620.00 $tone February 2, 2018
Public

Hi Bogdan, 
Kindly check your files / folder permission again, the files should be 644, folder 755. 
If the issue still persists, please provide us the credentials below: 
+ The back-end url, Admin and SSH credentials of your Magento 2 instance
+ Let us know the path of your M2 instance web root folder
We will check further and help you out.
Regards,
Ubertheme team

#1
Profile photo of Bogdan Chirila 20.00 $tone February 2, 2018
Public

 Hello!
 
It was the file permission. I solved!
 
Now I have another problem, at the first step when i set the database name , user, pass, after is showing me this message:
 
The config file was not exists or not ablewrite permission.
Please make writeable for config file and try again.
 
Please help!
Bogdan
 

#2
Profile photo of Mall Staff 102560.00 $tone February 2, 2018
Public

Hi there,

It was the file permission. I solved!

Yeah, let’s contact me if you need further assistance.
Regards,
Mall.

#3
Profile photo of Bogdan Chirila 20.00 $tone February 2, 2018
Public

Hello!
 
Now I have another problem, at the first step when i set the database name , user, pass, after is showing me this message:
 
The config file was not exists or not ablewrite permission.
Please make writeable for config file and try again.
 
Please help!
Bogdan
 

#4
Profile photo of Sam M 0.00 $tone 4 days ago
Public

Hello,
I am getting below error when I click on the “Uber Data Migration” menu item in the admin.
 
CException
Application runtime path “/var/www/mbzr/pub/ub-tool/protected/runtime” is not valid. Please make sure it is a directory writable by the Web server process.

/var/www/mbzr/pub/ub-tool/yii/base/CApplication.php(293)

Warning: include(/var/www/mbzr/pub/ub-tool/yii/web/helpers/CHtml.php): failed to open stream: No such file or directory in /var/www/mbzr/pub/ub-tool/yii/YiiBase.phpon line 406

Warning: include(): Failed opening ‘/var/www/mbzr/pub/ub-tool/yii/web/helpers/CHtml.php’ for inclusion (include_path=’.:/var/www/mbzr/pub/ub-tool/protected/models/mage1:/var/www/mbzr/pub/ub-tool/protected/models/mage2:/var/www/mbzr/pub/ub-tool/protected/models/db/mage2:/var/www/mbzr/pub/ub-tool/protected/models/db:/var/www/mbzr/pub/ub-tool/protected/models:/var/www/mbzr/pub/ub-tool/protected/components:/usr/share/pear:/usr/share/php’) in /var/www/mbzr/pub/ub-tool/yii/YiiBase.php on line 406

Fatal error: Uncaught Error: Class ‘CHtml’ not found in /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php:539 Stack trace: #0 /var/www/mbzr/pub/ub-tool/yii/views/exception.php(169): CErrorHandler->renderSourceCode(‘/var/www/mbzr/p…’, 292, 25) #1 /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php(340): include(‘/var/www/mbzr/p…’) #2 /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php(357): CErrorHandler->render(‘exception’, Array) #3 /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php(218): CErrorHandler->renderException() #4 /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php(131): CErrorHandler->handleException(Object(CException)) #5 /var/www/mbzr/pub/ub-tool/yii/base/CApplication.php(740): CErrorHandler->handle(Object(CExceptionEvent)) #6 [internal function]: CApplication->handleException(Object(CException)) #7 {main} thrown in /var/www/mbzr/pub/ub-tool/yii/base/CErrorHandler.php on line 539
 
 

#5
Profile photo of ubdev Staff 32620.00 $tone 4 days ago
Public

Hi Sam M, 
We’ve replied to you via your another ticket here. Please check and follow up further with us there.
Regards,
Ubertheme team

#6

Please login or Register to Submit Answer

Written By

Comments