Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSAT Error: You need to enable the ActiveRecord module in your application configuration file. #1

Open
sicutdeux opened this issue Apr 9, 2020 · 0 comments

Comments

@sicutdeux
Copy link

Hi, new thing with wsat here:

Even though i have this modules on my config file:

		<using namespace="System.Data.*" />
		<using namespace="System.Web.UI.ActiveControls.*"/>

and set up correcty the connection on the config:

                <module class="System.Data.ActiveRecord.TActiveRecordConfig" EnableCache="true">
    		<database ConnectionString="mysql:host=localhost;dbname=db-testing"
        		Username="root" Password="" />
  		</module>

Wsat was throwing the error of the active records not being active:
So i edited the file TWsatBaseGenerator.php on line: 43 to comment the Exception and worked, there must be something wrong on class include detection on wsat.

@ctrlaltca ctrlaltca transferred this issue from pradosoft/prado Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant