-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SassContextException not found #189
Comments
This type of a support question should go on drupal.org because it's not phpsass specific, phpsass does not need Drupal, however sassy needs prepro, Drupal and the phpsass library https://www.drupal.org/project/sassy Installation Process This module has 3 requirements to work: Prepro (http://www.drupal.org/project/prepro), Libraries (http://www.drupal.org/project/libraries) and PHPSass (http://github.com/richthegeek/phpsass). Place Sassy, Prepro, and Libraries in your modules directory (sites/all/modules) and PHPSass(NOTE: rename phpsass-master to simply phpsass) in your libraries directory (sites/all/libraries, create it if it doesn't exist). Enable Sassy and any SASS/SCSS files served by your site should be compiled! |
Thanks for the reply @joejoseph00 I have already installed Prepro, Libraries and sassy. Also this library PHPSass was used included. The PHPSass lib is renamed as phpsass. But error is thrown from the phphsass library. If you check the error which I posted earlier your can see that it says "Class SassContextException not found". It says that no such class defined in the library, but exception is thrown from the class SassContext "tree/SassContext.php". I can see that the class is defined in the file tree/SassNodeExceptions.php Coming back to the file tree\SassContext.php , The above mentioned classes are not included in the file. Is this causing the issue? Thanks & regards |
I was trying to use this lib in Drupal. After adding phphsass in the drupal library I got the following fatal error.
Fatal error: Class 'SassContextException' not found in C:\xampp\htdocs\drupal-7.51\sites\all\libraries\phpsass\tree\SassContext.php on line 102
The class SassContextException is not defined in the library. Is there any other dependencies for phphsass ?
The text was updated successfully, but these errors were encountered: