Firstly, thank you to all the hard work you do on Drupal!

Despite trying with all the latest code, I get the following error (on my localhost installation):

Fatal error: require_once() [function.require]: Failed opening required 'C:\ProgramData\Apache Group\www\chess_drupal_7//engine/parser.inc' (include_path='.;C:\php5\pear') in C:\ProgramData\Apache Group\www\chess_drupal_7\sites\all\modules\coder\coder_upgrade\includes\settings.inc on line 34

The actual code at this line is:

require_once DRUPAL_ROOT . '/' . libraries_get_path('grammar_parser') . '/engine/parser.inc';

As a workaround I have hard-coded my path as follows:

require_once DRUPAL_ROOT . '/' . 'sites/all/modules/grammar_parser' . '/engine/parser.inc';

I have tried with all the latest code:
Coder Upgrade 7.x-1.x-dev
Grammar Parser 7.x-1.2
Grammar Parser Library 7.x-1.x-dev
Libraries 7.x-2.x-dev

Let me know if I can be any help.

Comments

drupalshrek’s picture

Maybe it's my fault. I also have this error message:

Grammar Parser should NOT be installed and enabled as a module.
Grammar Parser should be installed as a library using a 2.x release of Libraries API module.

solotandem’s picture

Category: bug » support
Status: Active » Fixed

Did you resolve the library issue? Seems like you did given you posted the following day this issue #1400210: Consider supporting nested braces?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

muschpusch’s picture

you need to move the files to the libraries folder

Erich Schulz’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Active

sorry... I've just installed these modules:

drush @d7 dl coder --dev
drush @d7 dl grammar_parser_lib
drush @d7 en coder_review
drush @d7 en coder_upgrade

and I'm getting the above error - obviously doing something wrong... but have searched and cant find the fix... move what files? where???

Erich Schulz’s picture

Status: Active » Fixed

so to expand on #1 and #5...

the grammar_parser "module" needs to be downloaded and moved to sites/all/libraries

hth someone :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.