philippfrenzel / yii2fullcalendar

JQuery Fullcalendar Yii2 Extension
GNU General Public License v2.0
132 stars 95 forks source link

all .css and .js files not found !! #140

Open paskuale75 opened 5 years ago

paskuale75 commented 5 years ago

fullcalendar.min.css not found locale-all.js not found fullcalendar.js not found locale-all.js not found .... why ?!

philippfrenzel commented 5 years ago

hmm, need to check where they moved due to update to 4.x release

paskuale75 commented 5 years ago

Do you know the solution to do this? if I go back to version ^3. it return me another error, it doesn't find bower-asset / moment !! Thanks

paskuale75 commented 5 years ago

in my composer.json I added this : "philippfrenzel/yii2fullcalendar": "*", composer update response:

Updates: philippfrenzel/yii2fullcalendar:4.0.2
  - Downgrading philippfrenzel/yii2fullcalendar (dev-master 453c997 => 4.0.2):  Checking out 53c8b2f524c5f5d85bd30f6ed7ba34b563479782
    Rolling back changes:
      453c997 - Philipp Frenzel: Update .travis.yml
      ff209eb - Philipp Frenzel: Update composer.json
      51241c9 - Philipp Frenzel: Update README.md
    REASON: Required by the root package: Install command rule (install philippfrenzel/yii2fullcalendar dev-master|install philippfrenzel/yii2fullcalendar 1.5.4|install philippfrenzel/yii2fullcalendar 2.1.1|install philippfrenzel/yii2fullcalendar 2.2.5|install philippfrenzel/yii2fullcalendar 2.2.6|install philippfrenzel/yii2fullcalendar 2.2.7|install philippfrenzel/yii2fullcalendar 2.3.2|install philippfrenzel/yii2fullcalendar 2.3.3|install philippfrenzel/yii2fullcalendar 2.4.0|install philippfrenzel/yii2fullcalendar 2.4.2|install philippfrenzel/yii2fullcalendar 2.5.0|install philippfrenzel/yii2fullcalendar 2.5.1|install philippfrenzel/yii2fullcalendar 2.5.2|install philippfrenzel/yii2fullcalendar 2.5.3|install philippfrenzel/yii2fullcalendar 3.0.0|install philippfrenzel/yii2fullcalendar 3.0.1|install philippfrenzel/yii2fullcalendar 3.0.2|install philippfrenzel/yii2fullcalendar 3.0.3|install philippfrenzel/yii2fullcalendar 3.5.4|install philippfrenzel/yii2fullcalendar 3.5.5|install philippfrenzel/yii2fullcalendar 3.5.6|install philippfrenzel/yii2fullcalendar 3.5.7|install philippfrenzel/yii2fullcalendar 3.6.0|install philippfrenzel/yii2fullcalendar 3.6.1|install philippfrenzel/yii2fullcalendar 3.6.2|install philippfrenzel/yii2fullcalendar 3.6.4|install philippfrenzel/yii2fullcalendar 3.6.6|install philippfrenzel/yii2fullcalendar 3.6.7|install philippfrenzel/yii2fullcalendar 3.6.8|install philippfrenzel/yii2fullcalendar 3.7.0|install philippfrenzel/yii2fullcalendar 3.7.1|install philippfrenzel/yii2fullcalendar 3.8.0|install philippfrenzel/yii2fullcalendar 3.8.0.1|install philippfrenzel/yii2fullcalendar 3.9.0|install philippfrenzel/yii2fullcalendar 4.0.2|install philippfrenzel/yii2fullcalendar dev-fullcalendar16|install philippfrenzel/yii2fullcalendar dev-master)

why ?

philippfrenzel commented 5 years ago

hmm, looks like you switched from dev-master to * -> and you prefere stable... ;) I removed the momentassets from coreassets -> i will check the assets this evening (18 CET)

paskuale75 commented 5 years ago

the strange thing is that if I open the CoreAsset.php file I still see this on line 62, why not update it at your last commit (ec5f9fd27f66c52d44d92d4cf5d0bc16629176ff) ?

/**
     * [$depends description]
     * @var array
     */
    public $depends = [
        'yii\web\YiiAsset',
        'yii2fullcalendar\MomentAsset',
        'yii2fullcalendar\PrintAsset'
    ];

thanks, see you later ;)

paskuale75 commented 5 years ago

my composer.json contain this

"minimum-stability": "dev",
    "prefer-stable": true,

can this be the reason why the coreAsset.php file is not updated ? Thanks

Reyemneirda commented 5 years ago

I actually have the same problem fullcalendar.min.css not found locale-all.js not found fullcalendar.js not found locale-all.js not found

mcki0127 commented 5 years ago

Same

mcki0127 commented 5 years ago

My composer config looks like this:

"minimum-stability": "dev",
"require": {
    ...
    philippfrenzel/yii2fullcalendar":"*",
    ...
}
"config": {
    "process-timeout": 1800,
    "fxp-asset": {
        "installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }
}

@vendor/bower contains fullcalendar and fullcalendar-scheduler

But when I try to load the yii2fullcalendar widget, I get 404 Not Found errors for: /assets/a67ed08d/fullcalendar.print.css /assets/a67ed08d/fullcalendar.min.css /assets/a67ed08d/fullcalendar.js /assets/a67ed08d/locale-all.js

I can't say exactly when this broke, but it was working up until recently.

The yii2fullcalendar composer has:

"require": {
    "yiisoft/yii2" : "*",
    "yiisoft/yii2-jui" : "*",
    "bower-asset/fullcalendar" : "^4.0.2@stable",
    "bower-asset/fullcalendar-scheduler" : "^4.0.2@stable"
},

Will bower-asset/fullcalendar find bower full-calendar as I have it written in my config "bower-asset-library": "vendor/bower"? It doesn't appear so. What do I need to change?

mcki0127 commented 5 years ago

It's not finding the assets because they're not there. The CoreAsset sourcepath is: public $sourcePath = '@bower/fullcalendar/dist'; But there are no files in the dist directory. bower

Just for kicks, I manually copied the files from another extension and pasted them into bower/fullcalendar/dist and it's working fine. Why would the files not be there?

erichatfield commented 5 years ago

I have a new install and I am seeing the same thing. I have found most of the js files and copied them into the requested location, but I can't find the fullcalendar.js file.

mcki0127 commented 5 years ago

https://github.com/ColorlibHQ/AdminLTE/tree/master/bower_components/fullcalendar/dist

erichatfield commented 5 years ago

Thanks