-
Notifications
You must be signed in to change notification settings - Fork 59
There was a major error during installation! #122
Comments
Does this error pop at the start of installation? Can you show me your config for Podium and for UrlManager? |
Yes, instantly after clicking on "Start Podium installation". Below the configs... ---------Url Manager--------- |
Actually I'm hoping for this /* I have many customized rules */ part. I'm guessing there might be one of them causing error. |
These are the complete rules (some of them are commented): 'rules' => [
|
It's because of this line:
When you remove it it works fine. Or you can enter installation screen with route I must modify Podium routing to prevent this error. |
The route Should I comment this rule line to process to installation? The forum will work if I uncomment it later? |
Oh, this is surprise. I've just made clean installation of basic app 2.0.12 with Podium and it was fine. Are any other addresses like /site/contact working for you? How is your virtual host set? |
Yes http://localhost/myapp/site/contact is working My app is under apache2, which kind of details do you need to know about it? |
Virtual host setup, either in Apache configuration or .htaccess file. |
.htaccess file:
|
Does the first RewriteRule work at all? Anyway, it looks good in general and I'm not sure why |
Yes, the first rule works. My App is working since many years. I removed the previously mentioned UrlManager rule, got the same errors, even after removing the three rules
|
Can I see your whole config file? Remember to remove personal data. |
Find attached config files... |
|
OK, now the forum has been installed! |
The error below appears instantly after clicking on "Start Podium installation". Yii 2.012 and PHP 7.0.15
----------------------------------ERROR MESSAGE-----------------------------------------
There was a major error during installation! Check your runtime log for details.
--------------------------------------------LOG-------------------------------------------------
POST http://localhost/myapp/podium/install/import at 2017-06-08 02:03:16 pm by 127.0.0.1
error yii\web\HttpException:404 yii\web\NotFoundHttpException: Page not found. in /var/www/html/myapp/vendor/yiisoft/yii2/web/Request.php:195
Stack trace:
#0 /var/www/html/myapp/vendor/yiisoft/yii2/web/Application.php(82): yii\web\Request->resolve()
#1 /var/www/html/myapp/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(yii\web\Request))
#2 /var/www/html/myapp/index.php(11): yii\base\Application->run()
#3 {main}
The text was updated successfully, but these errors were encountered: