Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

PHP Include other code, How!?!?

$
0
0

@Alexr03 wrote:

Hi all!

I’m currently experiencing an issue where I need to use some PHP code outside of Dreamfactory.
I am currently unable to do so as I keep receiving this error
[2018-07-11 22:22:53] local.ERROR: Class 'SourceQuery' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'SourceQuery' not found at C:\\Bitnami\\dreamfactory-2.12.0-1\\apps\\dreamfactory\\htdocs\\vendor\\dreamfactory\\df-script\\src\\Engines\\Php.php(49) : eval()'d code:34)"}

This is part of the code experiencing the issues: https://i.Alexr03.com/kid39sG88284.png

How would I use the require and use that class as so I have heard Dreamfactory will not allow you to use require or use statements.

Many Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles