Errors in steps

Hi,
 
The first step loads ok, but all others give this error:
CHttpException
Your request is invalid. (/var/www/html/magecore/pub/ub-tool/protected/components/Controller.php:52)

#0 /var/www/html/magecore/pub/ub-tool/protected/controllers/BaseController.php(22): Controller->init()
#1 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/web/CWebApplication.php(281): BaseController->init()
#2 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/base/CErrorHandler.php(368): CWebApplication->runController('base/error')
#3 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/base/CErrorHandler.php(351): CErrorHandler->renderError()
#4 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/base/CErrorHandler.php(218): CErrorHandler->renderException()
#5 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/base/CErrorHandler.php(131): CErrorHandler->handleException(Object(CHttpException))
#6 /var/www/html/magecore/pub/ub-tool/yii-1.1.19/base/CApplication.php(750): CErrorHandler->handle(Object(CExceptionEvent))
#7 [internal function]: CApplication->handleException(Object(CHttpException))
#8 {main}

Server is running nginx, I have included the config as per the readme
  1. Profile photo of dwsmartdwsmart 0.00 $tone September 18, 2019
    OK, seems like I needed to change $validURLPart2 = "/(pub\/ub-tool)/i";to $validURLPart2 = "/(ub-tool)/i";in pub/ub-tool/protected/components/Controller.php line 52I assume this is because the nginx.config from magento is rewriting the /pub/ path already

1 answer

Profile photo of Mall Staff 184060.00 $tone September 19, 2019
Public

Hi there,

OK, seems like I needed to change $validURLPart2 = “/(pub\/ub-tool)/i”;to $validURLPart2 = “/(ub-tool)/i”;in pub/ub-tool/protected/components/Controller.php line 52I assume this is because the nginx.config from magento is rewriting the /pub/ path already

Yes, please continue with that workaround. If you need further assistance, please get back to us here.

Regards,
Mall.
 

#1

Please login or Register to Submit Answer

Written By

Comments