#1 November 7, 2016 9:20am

Terra-IT
Member
Registered: April 18, 2016
Posts: 10

Classes in Extension not found.

Hi Tim,

We have tried creating our own form builder (Needed some special use cases, creating our own was faster than extending). After we created the extension and installed it at a test installation of BigTree it said it couldn't find the Class. Then we tried moving the files back to the custom/inc/modules folder and then it worked. So what we want to know is how to use the Class when it's inside 'extensions/com.terra-it.tit-form/...'.

Can you help us? (Again wink )

Thanks.

Last edited by Terra-IT (November 11, 2016 6:01am)

Offline

#2 November 11, 2016 5:22am

daansk44
Member
From: Amersfoort, The Netherlands
Registered: September 12, 2016
Posts: 42

Re: Classes in Extension not found.

We got the same problem sad

Offline

#3 November 14, 2016 6:47pm

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

Re: Classes in Extension not found.

Sorry for the delayed response! The module class cache looks in the appropriate directory based on the assigned extension column in the bigtree_modules table. If you move the extension from com.fastspot.form-builder to com.terra-it.tit-form you'll need to also update the extension column in bigtree_modules so it knows where to find the class file.

Offline

#4 November 15, 2016 4:24am

Terra-IT
Member
Registered: April 18, 2016
Posts: 10

Re: Classes in Extension not found.

timbuckingham wrote:

Sorry for the delayed response! The module class cache looks in the appropriate directory based on the assigned extension column in the bigtree_modules table. If you move the extension from com.fastspot.form-builder to com.terra-it.tit-form you'll need to also update the extension column in bigtree_modules so it knows where to find the class file.


No worries about the late reply wink. The right extension link was already in 'extension column' in the bigtree_modules table. We created the extension on a different Bigtree installation, and later installed it on this one for testing. It worked on the one we created the extension in, but not in this one.

Added: screenshots of DB and Fatal error.

Screen_Shot_2016_11_15_at_10_19_57.png
Screen_Shot_2016_11_15_at_10_20_14.png
Screen_Shot_2016_11_15_at_10_24_32.png

Last edited by Terra-IT (November 15, 2016 4:25am)

Offline

#5 November 15, 2016 11:43am

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

Re: Classes in Extension not found.

Can you email me the extension package so I can try installing it locally to replicate the error?

Offline

#6 November 16, 2016 7:13am

Terra-IT
Member
Registered: April 18, 2016
Posts: 10

Re: Classes in Extension not found.

Yes, i've just send you an email.

Offline

Board footer

Powered by FluxBB

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