Yii Framework Forum: ERunActions::touchUrl() not working in the server - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ERunActions::touchUrl() not working in the server Discuss about the Background Process with touchUrl() Rate Topic: ***** 1 Votes

#1 User is offline   Chinmay Sahu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 30-March 17

Posted 04 December 2017 - 08:47 AM

   public function actionTouchUrl() {
        $url = 'http://'.$_SERVER['HTTP_HOST'].'/test/timeConsumingProcess';
        echo $url; echo '<br>';
        $params = array('str'=>'Hello John');
        //ini_set("error_log", "php-error.log");
        //error_log("Log text here..." . time().'----Test');
        $postData = null;
        $contentType = null;
        ERunActions::touchUrl($url,$postData,$contentType,$params);
        echo "Touched";
    }


    public function actionTimeConsumingProcess(){
       //Email code notification here...
    }




link : http://myurl.com/test/touchUrl

My Yii version is 1.1 also I have downloaded runactions.1.1.zip extension from http://www.yiiframew...ion/runactions/
ERunActions::touchUrl() is working fine for my localhost. But not working in server. If I direct hit timeConsumingProcess then email working fine.


Please help..
Chinmay Sahu
Senior Software Engineer
Muvi - Launch your video platform in 1-Click
www.muvi.com
Recognized as “Enterprise OTT” platform of the year by FierceOnlineVideo
0

#2 User is offline   Arockia Johnson SR 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 192
  • Joined: 25-June 13
  • Location:Singapore

Posted 13 December 2017 - 09:51 PM

Hi Chinmay Sahu,

Have you checked the case sensitivity? may be?
மகிழ்ச்சியாக குறியிடுங்கள்!..... Happy Coding!.....


Thanks & Regards,
ஜான்சன் ( Arockia Johnson SR )
www.arojohnson.tk

Hit (+) button If my replies really helped you!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users