We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Audit module gives all kinds of errors when using Safari 7.0.4 (on Mac OS X 10.9.3). Tested with Audit module 1.1.4 and 1.1.7.
Everything works fine without any errors, when;
Here's one of the error pages;
The attribute "AuditError.status" is undefined. (/Library/WebServer/Documents/tnl/framework/base/CComponent.php:173) #0 /Library/WebServer/Documents/tnl/framework/db/ar/CActiveRecord.php(161): CComponent->__set('status', 'new') #1 /Library/WebServer/Documents/tnl/tnl/protected/modules/audit/components/AuditErrorHandler.php(125): CActiveRecord->__set('status', 'new') #2 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(111): AuditErrorHandler->logError(Object(CErrorEvent)) #3 /Library/WebServer/Documents/tnl/framework/base/CApplication.php(816): AuditErrorHandler->handle(Object(CErrorEvent)) #4 /Library/WebServer/Documents/tnl/framework/YiiBase.php(427): CApplication->handleError(2, 'include(FileFor...', '/Library/WebSer...', 427, Array) #5 /Library/WebServer/Documents/tnl/framework/YiiBase.php(427): YiiBase::autoload() #6 [internal function]: YiiBase::autoload('FileForm') #7 [internal function]: spl_autoload_call('FileForm') #8 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(473): unserialize('a:187:{s:8:"fil...') #9 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(336): AuditErrorHandler->getShrinkedSession() #10 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(316): AuditErrorHandler->recordAuditRequest() #11 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(72): AuditErrorHandler->getAuditRequest() #12 /Library/WebServer/Documents/tnl/framework/base/CModule.php(387): AuditErrorHandler->init() #13 /Library/WebServer/Documents/tnl/framework/base/CModule.php(523): CModule->getComponent('errorHandler') #14 /Library/WebServer/Documents/tnl/framework/base/CApplication.php(163): CModule->preloadComponents() #15 /Library/WebServer/Documents/tnl/framework/YiiBase.php(125): CApplication->__construct('/Library/WebSer...') #16 /Library/WebServer/Documents/tnl/framework/YiiBase.php(98): YiiBase::createApplication('CWebApplication', '/Library/WebSer...') #17 /Library/WebServer/Documents/tnl/www/data/index.php(24): YiiBase::createWebApplication('/Library/WebSer...') #18 {main}
The text was updated successfully, but these errors were encountered:
Hi @MickeyD,
In recent versions of AuditModule a field was added to audit_error called status (varchar(32)). Please ensure you have this field in your table.
audit_error
status
In addition, a field was added to audit_error called extra (blob). This field is not required, but it will be good to have it just incase.
extra
Let me know if you still encounter issues.
Sorry, something went wrong.
Thanks,
Adding the following 2 new columns solved the problem. (deleted the Audit tables and had the module (re)create them.
Although it's strange that other browsers and previous Safari versions didn't give any error/warning but Safari 7.0.4 did.
No branches or pull requests
The Audit module gives all kinds of errors when using Safari 7.0.4 (on Mac OS X 10.9.3).
Tested with Audit module 1.1.4 and 1.1.7.
Everything works fine without any errors, when;
Here's one of the error pages;
CException
The attribute "AuditError.status" is undefined. (/Library/WebServer/Documents/tnl/framework/base/CComponent.php:173)
#0 /Library/WebServer/Documents/tnl/framework/db/ar/CActiveRecord.php(161): CComponent->__set('status', 'new')
#1 /Library/WebServer/Documents/tnl/tnl/protected/modules/audit/components/AuditErrorHandler.php(125): CActiveRecord->__set('status', 'new')
#2 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(111): AuditErrorHandler->logError(Object(CErrorEvent))
#3 /Library/WebServer/Documents/tnl/framework/base/CApplication.php(816): AuditErrorHandler->handle(Object(CErrorEvent))
#4 /Library/WebServer/Documents/tnl/framework/YiiBase.php(427): CApplication->handleError(2, 'include(FileFor...', '/Library/WebSer...', 427, Array)
#5 /Library/WebServer/Documents/tnl/framework/YiiBase.php(427): YiiBase::autoload()
#6 [internal function]: YiiBase::autoload('FileForm')
#7 [internal function]: spl_autoload_call('FileForm')
#8 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(473): unserialize('a:187:{s:8:"fil...')
#9 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(336): AuditErrorHandler->getShrinkedSession()
#10 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(316): AuditErrorHandler->recordAuditRequest()
#11 /Library/WebServer/Documents/tnl/protected/modules/audit/components/AuditErrorHandler.php(72): AuditErrorHandler->getAuditRequest()
#12 /Library/WebServer/Documents/tnl/framework/base/CModule.php(387): AuditErrorHandler->init()
#13 /Library/WebServer/Documents/tnl/framework/base/CModule.php(523): CModule->getComponent('errorHandler')
#14 /Library/WebServer/Documents/tnl/framework/base/CApplication.php(163): CModule->preloadComponents()
#15 /Library/WebServer/Documents/tnl/framework/YiiBase.php(125): CApplication->__construct('/Library/WebSer...')
#16 /Library/WebServer/Documents/tnl/framework/YiiBase.php(98): YiiBase::createApplication('CWebApplication', '/Library/WebSer...')
#17 /Library/WebServer/Documents/tnl/www/data/index.php(24): YiiBase::createWebApplication('/Library/WebSer...')
#18 {main}
The text was updated successfully, but these errors were encountered: