philippfrenzel / yii2fullcalendar

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

Class 'yii2fullcalendar\yii2fullcalendar' not found #122

Open edmundopolos opened 6 years ago

edmundopolos commented 6 years ago

hi i'm new to yii and don't really get why i am getting this error but when i use my composer to install your widget i get this issue. [RuntimeException] Failed to clone git+ssh://git@github.com/isaacs/abbrev-js.git, git was not found, check that it is installed and in your PATH env.

'git' is not recognized as an internal or external command, operable program or batch file. tried to manually add the file from github but it still gives the class not found error

philippfrenzel commented 6 years ago

Hi, I guess you haven't added git to you env or even didn't install it on your os? Which operating system are you using? Actually the error you are listing above doesn't seem to have a relation to this project?!

edmundopolos commented 6 years ago

hey i figured that out eventually but the issue now is the app comes up weird the css and js files don't seem to be responding I checked the console to find out which files specifically and I manually transferred them but still get an unresponsive weird calendar layout. with zero functionality

edmundopolos commented 6 years ago

This might seem like a waste of your time but if you could help me figure out why this is happening it would mean alot

philippfrenzel commented 6 years ago

Hi, no waste of time ;) don't worry ! Did you install the fxp composer global plugin? If you missed it, then no assets can be loaded ...

edmundopolos commented 6 years ago

i did, in fact it says nothing to update

philippfrenzel commented 6 years ago

hmm, do you see the assets within you vendor/bower directory? And if yes, can you pls. send me the code on how you try to inlcude the extension to your page?

edmundopolos commented 6 years ago

yes....... <?= \yii2fullcalendar\yii2fullcalendar::widget(array( 'events'=> $events, ));?>

philippfrenzel commented 6 years ago

Looks like your code got lost?

edmundopolos commented 6 years ago

sorry bout that

i echo this \yii2fullcalendar\yii2fullcalendar::widget(array( 'events'=> $events, ));?>