[Vtigercrm-developers] tabdata.php - recreation of
Alan Lord (News)
alanslists at gmail.com
Thu May 19 06:45:25 GMT 2016
On 19/05/16 00:00, Richard Hills - Technologywise wrote:
>
> Just wondering if someone can give me some information about how I
> should go about fixing this issue.
> Thanks in advance
I have a file lying around I use for all our development work - it
regenerates the tabdata and user_privileges files.
I run the from the command line as the webserver owner (or another
privileged user if you can't get a shell for the web server)
> <?php
> $Vtiger_Utils_Log = true;
> ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
> ini_set('display_startup_errors', 1);
> ini_set('display_errors', 1);
>
> require_once('include/utils/CommonUtils.php');
>
> echo "Regerating tabdata files ..." . PHP_EOL;
> perform_post_migration_activities();
> echo "Done" . PHP_EOL;
>
> echo "Recalculate Sharing Rules" . PHP_EOL;
> RecalculateSharingRules();
> echo "Done" . PHP_EOL;
HTH
Al
--
Libertus Solutions
http://www.libertus.co.uk
More information about the vtigercrm-developers
mailing list