Jump to content


BHruska

Member Since 06 Jan 2014
Offline Last Active Jun 12 2015 02:29 PM
****-

Posts I've Made

In Topic: Reports - Extending the use of Date filters (default value: now)

04 March 2015 - 04:14 PM

 It drives me nuts that I can't search for a date field that is empty, or null.  Am I missing something.

 

Yesterday

Today

Tomorow

Before

After

On 

Between

Next 7 days

Last 7 days, 

etc.

 

But not blank?


In Topic: PHP Error[8]: Undefined index: SERVER_NAME

08 January 2015 - 01:59 PM

I fixed this issue by putting this line at the bottom of console.php:

 

    $common_config['components']['request']['hostInfo']         = 'http://myzurmourl.com';
 
This is similar to this line in perinstance.php:
 
    $instanceConfig['components']['request']['hostInfo']         = 'http://myzurmourl.com';
 
It seems console commands weren't initiating the $_SERVER variable, so yii was freaking out on this line:
 
$this->_hostInfo=$http.'://'.$_SERVER['SERVER_NAME'];
 
Thus giving this error in the log above:
 
2015/01/07 16:20:05 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
 
Perhaps the zurmo developers can make changes to avoid this problem in future versions, but in the meantime this might help some of you with the same issue.

In Topic: JobMonitor Stuck Issue

08 January 2015 - 01:59 PM

I fixed this issue by putting this line at the bottom of console.php:

 

    $common_config['components']['request']['hostInfo']         = 'http://myzurmourl.com';
 
This is similar to this line in perinstance.php:
 
    $instanceConfig['components']['request']['hostInfo']         = 'http://myzurmourl.com';
 
It seems console commands weren't initiating the $_SERVER variable, so yii was freaking out on this line:
 
$this->_hostInfo=$http.'://'.$_SERVER['SERVER_NAME'];
 
Thus giving this error in the log above:
 
2015/01/07 16:20:05 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
 
Perhaps the zurmo developers can make changes to avoid this problem in future versions, but in the meantime this might help some of you with the same issue.

In Topic: PHP Error[8]: Undefined index: SERVER_NAME

31 December 2014 - 07:48 PM

I am having this issue trying to run marketing campaigns.  The perinstance.php file has that line correctly identifying my host.  

 

    $instanceConfig['components']['request']['hostInfo']         = 'http://zurmo.instylesuites.com';
 

Here's my application log:

 

2014/12/21 18:30:06 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
Stack trace:
#0 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(149): MonitorJob->run()
#1 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(106): runMonitorJob()
#2 /var/www/zurmo/app/protected/commands/JobManagerCommand.php(120): runFromJobManagerCommandOrBrowser()
#3 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): JobManagerCommand->run()
#4 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run()
#5 /var/www/zurmo/yii/framework/base/CApplication.php(169): ConsoleApplication->processRequest()
#6 /var/www/zurmo/app/protected/commands/bootstrap.php(64): ConsoleApplication->run()
#7 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once()
#8 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once()
 
2014/12/29 15:20:06 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
Stack trace:
#0 /var/www/zurmo/app/protected/modules/marketing/utils/GlobalMarketingFooterUtil.php(248): resolveAbsoluteUrlWithHashAndPreviewForFooter()
#1 /var/www/zurmo/app/protected/modules/marketing/utils/GlobalMarketingFooterUtil.php(121): resolveUnsubscribeUrl()
#2 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(196): resolveUnsubscribeUrlByArray()
#3 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(182): resolveGlobalMarketingFooterUrl()
#4 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(72): resolveUnsubscribeUrl()
#5 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/MergeTagsToModelAttributesAdapter.php(107): resolve()
#6 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/MergeTagsToModelAttributesAdapter.php(65): resolveMergeTagToStandardOrRelatedAttribute()
#7 /var/www/zurmo/app/protected/modules/emailTemplates/utils/MergeTagsUtil.php(123): resolveMergeTagsArrayToAttributesFromModel()
#8 /var/www/zurmo/app/protected/modules/emailTemplates/utils/MergeTagsUtil.php(144): ContactMergeTagsUtil->resolveMergeTagsArrayToAttributes()
#9 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(217): ContactMergeTagsUtil->resolveMergeTags()
#10 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(169): resolveMergeTags()
#11 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(162): resolveContentForMergeTags()
#12 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(153): resolveContentsForMergeTags()
#13 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(90): resolveContent()
#14 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(131): processDueItem()
#15 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(91): CampaignQueueMessagesInOutboxJob->processCampaignItemInQueue()
#16 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(61): CampaignQueueMessagesInOutboxJob->processRun()
#17 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(205): CampaignQueueMessagesInOutboxJob->run()
#18 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(110): runNonMonitorJob()
#19 /var/www/zurmo/app/protected/commands/JobManagerCommand.php(120): runFromJobManagerCommandOrBrowser()
#20 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): JobManagerCommand->run()
#21 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run()
#22 /var/www/zurmo/yii/framework/base/CApplication.php(169): ConsoleApplication->processRequest()
#23 /var/www/zurmo/app/protected/commands/bootstrap.php(64): ConsoleApplication->run()
#24 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once()
#25 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once()
 
2014/12/30 09:20:05 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
Stack trace:
#0 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(149): MonitorJob->run()
#1 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(106): runMonitorJob()
#2 /var/www/zurmo/app/protected/commands/JobManagerCommand.php(120): runFromJobManagerCommandOrBrowser()
#3 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): JobManagerCommand->run()
#4 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run()
#5 /var/www/zurmo/yii/framework/base/CApplication.php(169): ConsoleApplication->processRequest()
#6 /var/www/zurmo/app/protected/commands/bootstrap.php(64): ConsoleApplication->run()
#7 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once()
#8 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once()
 
2014/12/30 09:20:05 [error] [php] Undefined index: SERVER_NAME (/var/www/zurmo/yii/framework/web/CHttpRequest.php:305)
Stack trace:
#0 /var/www/zurmo/app/protected/modules/marketing/utils/GlobalMarketingFooterUtil.php(248): resolveAbsoluteUrlWithHashAndPreviewForFooter()
#1 /var/www/zurmo/app/protected/modules/marketing/utils/GlobalMarketingFooterUtil.php(121): resolveUnsubscribeUrl()
#2 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(196): resolveUnsubscribeUrlByArray()
#3 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(182): resolveGlobalMarketingFooterUrl()
#4 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/SpecialMergeTagsAdapter.php(72): resolveUnsubscribeUrl()
#5 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/MergeTagsToModelAttributesAdapter.php(107): resolve()
#6 /var/www/zurmo/app/protected/modules/emailTemplates/adapters/MergeTagsToModelAttributesAdapter.php(65): resolveMergeTagToStandardOrRelatedAttribute()
#7 /var/www/zurmo/app/protected/modules/emailTemplates/utils/MergeTagsUtil.php(123): resolveMergeTagsArrayToAttributesFromModel()
#8 /var/www/zurmo/app/protected/modules/emailTemplates/utils/MergeTagsUtil.php(144): ContactMergeTagsUtil->resolveMergeTagsArrayToAttributes()
#9 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(217): ContactMergeTagsUtil->resolveMergeTags()
#10 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(169): resolveMergeTags()
#11 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(162): resolveContentForMergeTags()
#12 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(153): resolveContentsForMergeTags()
#13 /var/www/zurmo/app/protected/modules/autoresponders/utils/AutoresponderAndCampaignItemsUtil.php(90): resolveContent()
#14 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(131): processDueItem()
#15 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(91): CampaignQueueMessagesInOutboxJob->processCampaignItemInQueue()
#16 /var/www/zurmo/app/protected/modules/campaigns/jobs/CampaignQueueMessagesInOutboxJob.php(61): CampaignQueueMessagesInOutboxJob->processRun()
#17 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(205): CampaignQueueMessagesInOutboxJob->run()
#18 /var/www/zurmo/app/protected/modules/jobsManager/utils/JobsManagerUtil.php(110): runNonMonitorJob()
#19 /var/www/zurmo/app/protected/commands/JobManagerCommand.php(120): runFromJobManagerCommandOrBrowser()
#20 /var/www/zurmo/yii/framework/console/CConsoleCommandRunner.php(67): JobManagerCommand->run()
#21 /var/www/zurmo/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run()
#22 /var/www/zurmo/yii/framework/base/CApplication.php(169): ConsoleApplication->processRequest()
#23 /var/www/zurmo/app/protected/commands/bootstrap.php(64): ConsoleApplication->run()
#24 /var/www/zurmo/app/protected/commands/zurmoc.php(38): require_once()
#25 /var/www/zurmo/app/protected/commands/zurmoc(4): require_once()

In Topic: Report link in mobile version

07 November 2014 - 10:45 PM

Any word on a version of reports for the mobile mode?  

 

Would really love to have this.  Even if you tag only certain reports to show up, that would be great.