Open hdushku opened 7 years ago
You install vai composer or web install?
On Aug 19, 2017 1:42 PM, "hdushku" notifications@github.com wrote:
After successfuly installing the repository in c9 by going to HOST_NAME/installer.php and installing demo data the sample pages that are shown for frontend and admin are: [image: dotplant2] https://user-images.githubusercontent.com/8830905/29484217-5598202e-84ba-11e7-91a9-dbc1243fe264.jpg
[image: dotplant2_2] https://user-images.githubusercontent.com/8830905/29484219-592c1f38-84ba-11e7-9e5a-ec392f92ed3e.jpg
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DevGroup-ru/dotplant2/issues/384, or mute the thread https://github.com/notifications/unsubscribe-auth/AExDLZglh8a0wfG9oeDvcaSIPitVWHuSks5sZoPsgaJpZM4O8Puy .
web install followed the manual in here: http://docs.dotplant.ru/en/install.html
I suggest you to check the point where it asks for domain.
On Aug 19, 2017 1:49 PM, "hdushku" notifications@github.com wrote:
web install followed the manual in here: http://docs.dotplant.ru/en/install.html http://url
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DevGroup-ru/dotplant2/issues/384#issuecomment-323505227, or mute the thread https://github.com/notifications/unsubscribe-auth/AExDLdkPJ6e24CLeKbX-QXTB9MMAvwEsks5sZoVxgaJpZM4O8Puy .
I have typed this domain: https://dotplant2-myusernameinc9.c9users.io/
Is that your local server? You should check /application/config/common-local.php At modules -> core -> serverName
On Aug 19, 2017, at 1:52 PM, hdushku notifications@github.com wrote:
I have typed this domain: https://dotplant2-myusernameinc9.c9users.io/ <x-msg://5/url> — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DevGroup-ru/dotplant2/issues/384#issuecomment-323505344, or mute the thread https://github.com/notifications/unsubscribe-auth/AExDLfGc4I-KNGIcZ-pHCHMbLYBXy9WWks5sZoZAgaJpZM4O8Puy.
I checked , it was the same. Somehow it is now working I removed the https:// part . Thanks!
Yes on wampserver I adjusted the following file located at: C:\wamp64\www\dotplant2\web\theme\views\modules\basic\layouts\main.php
and changed the https to http so that it could be tested locally on my wampserver.
<base href="https://<?= Yii::$app->getModule('core')->getBaseUrl() ?>">
and this is my dotplant2/config/web.php ... defaulttheme setting.
'DefaultTheme' => [ 'class' => 'app\extensions\DefaultTheme\Module', ],
Also worth changing, in case you get missing fontawesome icons using the backend/dashboard route, ....(after assigning the role 'admin' to user_id 1 in the auth_assignment table directly by inserting in phpmyadmin because I could not get access to the backend)... , is the following file:
dotplant2/assets/AppAsset.php
<?php
namespace app\assets;
use yii\web\AssetBundle;
/**
* Default DotPlant2 asset bundle for frontend.
* You can use your own, but don't forget to include CMS js and css files.
*
* @package app\assets
*/
class AppAsset extends AssetBundle
{
public $sourcePath = '@app/assets/app';
public $css = [
'css/dotplant.css',
'//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', <---- INSERT!!
];
public $js = [
'js/main.js',
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
'yii\web\JqueryAsset',
'yii\validators\ValidationAsset',
'yii\widgets\ActiveFormAsset',
//'\kartik\icons\FontAwesomeAsset',** <----- REMOVE!!
];
}
After successfuly installing the repository in c9 by going to HOST_NAME/installer.php and installing demo data the sample pages that are shown for frontend and admin are: