#1 July 6, 2015 8:13am

randyhook
Member
Registered: February 25, 2015
Posts: 6

Build Extension Issue on Windows

I kept having the Extension Builder bomb out on me on the last step with a bunch of "failed to open stream" errors. I traced it down to BigTree::makeDirectory().

I dumped out the paths as the function attempts to create directories for the new extension. Line 1394 begins the path with a "/". If I change this line to:

$dir_path = "";

the function works fine. So I'm assuming that the leading slash is really only for Linux systems?

Offline

#2 July 23, 2015 10:37am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: Build Extension Issue on Windows

Sorry for not getting back to you on this earlier! For some reason the forum never emailed me about this post. I'm going to check into this now (currently in WAMP land on other bugs) and will get back to you shortly!

Offline

#3 July 23, 2015 10:52am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: Build Extension Issue on Windows

You're completely right -- the leading slash only mattered for *NIX. I've pushed a commit here to fix this on Windows systems:
https://github.com/bigtreecms/BigTree-C … c700159d25

Thanks for tracking down this bug!

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.