Jump to content


BHruska

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

#18156 All Links In Emails Broken

Posted by BHruska on 12 June 2015 - 02:34 PM

My email campaign items have broken links in them.  I can't figure out how to fix it.  

 

Here's an example internal tracking link url:

 

http://zurmo.instyle...id=NWpUWG40OVNn (hash abreviated)

 

Not sure where the

 

./zurmoc

 

is coming from.

 

It should be:  

 

/app/index.php

 

As in:

 

http://zurmo.instyle...id=NWpUWG40OVNn

 

Ideas?   

 

Thanks,

Brian




#15533 JobMonitor Stuck Issue

Posted by BHruska on 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.