Jump to content


nengineer

Member Since 26 Feb 2013
Offline Last Active Nov 12 2015 08:49 PM
-----

Posts I've Made

In Topic: Groups, Module Rights, Deny prevents user login

17 October 2013 - 02:05 PM

I created a user Jason Bourne.

 

You can duplicate it with any user. Create a group like I did, Deny access to everything except the Account tab, then check the "Hide welcome page" box on the user's General Configuration page.


In Topic: Groups, Module Rights, Deny prevents user login

15 October 2013 - 07:10 PM

Also, if you check "Hide welcome page" on the user profile, you get this error in the Demo system.

 

 

An error has occurred. Please click here to continue to the home page. If the error persists please contact your administrator.

Undefined variable: welcomeView
The reference id for this error is 320b2bb19d1843b0bbfa962ec435068f.

In Topic: Groups, Module Rights, Deny prevents user login

15 October 2013 - 07:04 PM

No, but I'm running version 2.2.3 and the demo runs 2.2.6.

 

I setup group Users, and configured it exactly like I have it in mine system, then added user Jason Bourne, placing him in the group.

 

He can login and doesn't appear to have access to the Dashboards, BUT he still has access to the email Inbox when that is also denied.


In Topic: Show advanced saved searches all the time

25 September 2013 - 03:03 PM

Ditto.

 

It would also be nice if we could define global saved searches that every user has access to.


In Topic: Upgrade from 2.0.11 to 2.0.13

22 August 2013 - 12:42 PM

Using the second Method i get the following errors:

 

Upgrade from 2.0.11 to 2.0.22

 

Webinterface: Database upgrade not completed. Please try again later.

 

Error While running

./zurmoc updateSchema super
 Starting schema update process.
Info - Sample model AuditEvent-> 85632 deleted.
Info - Sample model User-> 24 deleted.
Info - Sample model Group-> 4 deleted.
Info - Sample model Currency-> 4 deleted.
Info - Sample model Role-> 1 deleted.
Info - Sample model EmailBox-> 3 deleted.
Info - Sample model EmailFolder-> 10 deleted.
Info - Sample model EmailAccount-> 17 deleted.
Info - Sample model EmailMessage-> 32 deleted.
Info - Sample model Account-> 98 deleted.
exception 'MissingBeanException' in /var/www/zurmo/app/protected/core/models/RedBeanModel.php:455
Stack trace:
#0 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(3005): RedBeanModel->__construct(false, Object(RedBean_OODBBean))
#1 /var/www/zurmo/app/protected/core/models/RedBeanModels.php(188): RedBeanModel::makeModel(Object(RedBean_OODBBean), 'ProductCategory')
#2 /var/www/zurmo/app/protected/core/models/RedBeanModels.php(104): RedBeanModels->getByIndex(0)
#3 /var/www/zurmo/app/protected/core/models/RedBeanMutableRelatedModels.php(118): RedBeanModels->offsetGet(0)
#4 /var/www/zurmo/app/protected/core/models/RedBeanMutableRelatedModels.php(158): RedBeanMutableRelatedModels->removeByIndex(0)
#5 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2297): RedBeanMutableRelatedModels->removeAll()
#6 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2201): RedBeanModel->deleteManyManyRelations('Product')
#7 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2145): RedBeanModel->unrestrictedDelete()
#8 /var/www/zurmo/app/protected/modules/zurmo/models/Item.php(114): RedBeanModel->delete()
#9 /var/www/zurmo/app/protected/modules/zurmo/models/SecurableItem.php(402): Item->delete()
#10 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(329): SecurableItem->delete()
#11 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(238): RedBeanDatabaseBuilderUtil::deleteSampleModelFromStatePersisterAndDatabase('Product', 53, Object(MessageLogger))
#12 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(89): RedBeanDatabaseBuilderUtil::deleteAllSampleModelsFromStatePersisterAndDatabase(Object(MessageLogger))
#13 /var/www/zurmo/app/protected/modules/install/utils/InstallUtil.php(626): RedBeanDatabaseBuilderUtil::autoBuildModels(Array, Object(MessageLogger))
#14 /var/www/zurmo/app/protected/modules/install/utils/InstallUtil.php(1109): InstallUtil::autoBuildDatabase(Object(MessageLogger))
#15 /var/www/zurmo/app/protected/commands/UpdateSchemaCommand.php(90): InstallUtil::runAutoBuildFromUpdateSchemaCommand(Object(MessageLogger))
#16 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): UpdateSchemaCommand->run(Array)
#17 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run(Array)
#18 /var/www/zurmo/yii/framework/base/CApplication.php(169): CConsoleApplication->processRequest()
#19 /var/www/zurmo/app/protected/commands/bootstrap.php(60): CApplication->run()
#20 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once('/var/www/zurmo/...')
#21 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once('/var/www/zurmo/...')
#22 {main}

 

now the following error occurs

 

    Starting schema update process.
exception 'MissingBeanException' in /var/www/zurmo/app/protected/core/models/RedBeanModel.php:455
Stack trace:
#0 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(3005): RedBeanModel->__construct(false, Object(RedBean_OODBBean))
#1 /var/www/zurmo/app/protected/core/models/RedBeanModels.php(188): RedBeanModel::makeModel(Object(RedBean_OODBBean), 'ProductCategory')
#2 /var/www/zurmo/app/protected/core/models/RedBeanModels.php(104): RedBeanModels->getByIndex(0)
#3 /var/www/zurmo/app/protected/core/models/RedBeanMutableRelatedModels.php(118): RedBeanModels->offsetGet(0)
#4 /var/www/zurmo/app/protected/core/models/RedBeanMutableRelatedModels.php(158): RedBeanMutableRelatedModels->removeByIndex(0)
#5 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2297): RedBeanMutableRelatedModels->removeAll()
#6 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2201): RedBeanModel->deleteManyManyRelations('Product')
#7 /var/www/zurmo/app/protected/core/models/RedBeanModel.php(2145): RedBeanModel->unrestrictedDelete()
#8 /var/www/zurmo/app/protected/modules/zurmo/models/Item.php(114): RedBeanModel->delete()
#9 /var/www/zurmo/app/protected/modules/zurmo/models/SecurableItem.php(402): Item->delete()
#10 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(329): SecurableItem->delete()
#11 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(238): RedBeanDatabaseBuilderUtil::deleteSampleModelFromStatePersisterAndDatabase('Product', 53, Object(MessageLogger))
#12 /var/www/zurmo/app/protected/core/utils/RedBeanDatabaseBuilderUtil.php(89): RedBeanDatabaseBuilderUtil::deleteAllSampleModelsFromStatePersisterAndDatabase(Object(MessageLogger))
#13 /var/www/zurmo/app/protected/modules/install/utils/InstallUtil.php(626): RedBeanDatabaseBuilderUtil::autoBuildModels(Array, Object(MessageLogger))
#14 /var/www/zurmo/app/protected/modules/install/utils/InstallUtil.php(1109): InstallUtil::autoBuildDatabase(Object(MessageLogger))
#15 /var/www/zurmo/app/protected/commands/UpdateSchemaCommand.php(90): InstallUtil::runAutoBuildFromUpdateSchemaCommand(Object(MessageLogger))
#16 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): UpdateSchemaCommand->run(Array)
#17 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run(Array)
#18 /var/www/zurmo/yii/framework/base/CApplication.php(169): CConsoleApplication->processRequest()
#19 /var/www/zurmo/app/protected/commands/bootstrap.php(60): CApplication->run()
#20 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once('/var/www/zurmo/...')
#21 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once('/var/www/zurmo/...')
#22 {main}

Maybe someone can help?

 

 

Be sure that you have replaced all of the existing code files with the correct version. Except for the config files perInstance.php and debug.php, of course.

 

I was able to upgrade from 2.0.11 to 2.0.22 following the above instructions without any errors.