Skip to content

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

Description

@sicutdeux

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions