patternlab-php icon indicating copy to clipboard operation
patternlab-php copied to clipboard

baseDir with spaces throws 500

Open ErikFontanel opened this issue 9 years ago • 2 comments

When I have a project in a dir like ~/cool websites/project/patternlab and I start the server, the server returns a 500 error in the browser.

After tailing my php_error.log I noticed


Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required '/Users/erik/cool' (include_path='.:') in Unknown on line 0

Apparently including fails on the space in the path. Not entirely sure what causes this, since php should support spaces in filenames.

I'm using pattern lab 2.7.0

ErikFontanel avatar Jan 16 '17 16:01 ErikFontanel

Experiencing the same.

venerated avatar Jun 14 '17 16:06 venerated

Me too. Anyone know the fix?

kristywelli avatar Aug 07 '17 00:08 kristywelli