Notice (8): Undefined index: Setting [APP/Controller/AppController.php, line 120]
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 15]
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 21]
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068e514-trace').style.display = (document.getElementById('cakeErr5e86ad068e514-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/View/Layouts/login.ctp</b>, line <b>28</b>]<div id="cakeErr5e86ad068e514-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068e514-code').style.display = (document.getElementById('cakeErr5e86ad068e514-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068e514-context').style.display = (document.getElementById('cakeErr5e86ad068e514-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068e514-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">        </span><span style="color: #007700">echo </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Html</span><span style="color: #007700">-></span><span style="color: #0000BB">charset</span><span style="color: #007700">(); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">    ?></span></span></code> <span class="code-highlight"><code><span style="color: #000000">    <title><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'title'</span><span style="color: #007700">]; </span><span style="color: #0000BB">?></span> Video Platform - <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$title_for_layout</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span></title></span></code></span></pre><pre id="cakeErr5e86ad068e514-context" class="cake-context" style="display: none;">$viewFile = '/var/www/dev.brid.tv/View/Layouts/login.ctp' $dataForView = array( 'truncateStringLen' => (int) 80, 'debugGroupOrderValue' => 'Site Admin', 'timeFormatForm' => 'd-m-Y', 'timeFormatTiny' => 'M jS, y', 'timeFormatShort' => 'M jS, Y', 'timeFormat' => 'F jS, Y', 'partnerId' => null, 'isUserVerificationExpired' => false, 'isUserVerified' => false, 'facebookLoginUrl' => 'https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&state=41940590e7fb1f413167e49431d808cc&response_type=code&sdk=php-sdk-5.4.4&redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&scope=email%2C+user_location', 'requestQuery' => '', 'OAuthParams' => array(), 'isIPBlacklisted' => false, 'platformName' => null, 'settings' => array(), 'subdomain' => 'dev-services', 'content_for_layout' => '<div id="fb-root"></div> <div class="login form-new box text-center" style="display:block;"> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="row"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-trace').style.display = (document.getElementById('cakeErr5e86ad068ceb6-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/Lib/Subdomain/Subdomain.php</b>, line <b>21</b>]<div id="cakeErr5e86ad068ceb6-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-code').style.display = (document.getElementById('cakeErr5e86ad068ceb6-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-context').style.display = (document.getElementById('cakeErr5e86ad068ceb6-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068ceb6-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//return&nbsp;(in_array($this-&gt;settings['Setting']['subdomain'],&nbsp;array_merge($this-&gt;devDomains,&nbsp;$this-&gt;liveDomains))&nbsp;||&nbsp;$this-&gt;host&nbsp;==&nbsp;$this-&gt;settings['Setting']['domain'])&nbsp;?&nbsp;true&nbsp;:&nbsp;false;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'subdomain'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">devDomains</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">liveDomains</span><span style="color: #007700">))&nbsp;||&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">host&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'domain'</span><span style="color: #007700">]){</span></span></code></span></pre><pre class="stack-trace">Subdomain::isSubPlatform() - APP/Lib/Subdomain/Subdomain.php, line 21 BridhtmlHelper::isSubPlatform() - APP/View/Helper/BridhtmlHelper.php, line 89 include - APP/View/Users/login.ctp, line 23 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> <div class="small-12 columns text-left"> <h3>Sign in using <span><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-trace').style.display = (document.getElementById('cakeErr5e86ad068cff8-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/View/Users/login.ctp</b>, line <b>45</b>]<div id="cakeErr5e86ad068cff8-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-code').style.display = (document.getElementById('cakeErr5e86ad068cff8-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-context').style.display = (document.getElementById('cakeErr5e86ad068cff8-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068cff8-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"small-12&nbsp;columns&nbsp;text-left"</span><span style="color: #007700">&gt;</span></span></code> <span class="code-highlight"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Sign&nbsp;in&nbsp;using&nbsp;&lt;span&gt;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">$settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'title'</span><span style="color: #007700">];&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;/span&gt;&nbsp;credentials&lt;/h3&gt;</span></code></span></pre><pre id="cakeErr5e86ad068cff8-context" class="cake-context" style="display: none;">$viewFile = &#039;/var/www/dev.brid.tv/View/Users/login.ctp&#039; $dataForView = array( &#039;truncateStringLen&#039; =&gt; (int) 80, &#039;debugGroupOrderValue&#039; =&gt; &#039;Site Admin&#039;, &#039;timeFormatForm&#039; =&gt; &#039;d-m-Y&#039;, &#039;timeFormatTiny&#039; =&gt; &#039;M jS, y&#039;, &#039;timeFormatShort&#039; =&gt; &#039;M jS, Y&#039;, &#039;timeFormat&#039; =&gt; &#039;F jS, Y&#039;, &#039;partnerId&#039; =&gt; null, &#039;isUserVerificationExpired&#039; =&gt; false, &#039;isUserVerified&#039; =&gt; false, &#039;facebookLoginUrl&#039; =&gt; &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039;, &#039;requestQuery&#039; =&gt; &#039;&#039;, &#039;OAuthParams&#039; =&gt; array(), &#039;isIPBlacklisted&#039; =&gt; false, &#039;platformName&#039; =&gt; null, &#039;settings&#039; =&gt; array(), &#039;subdomain&#039; =&gt; &#039;dev-services&#039; ) $truncateStringLen = (int) 80 $debugGroupOrderValue = &#039;Site Admin&#039; $timeFormatForm = &#039;d-m-Y&#039; $timeFormatTiny = &#039;M jS, y&#039; $timeFormatShort = &#039;M jS, Y&#039; $timeFormat = &#039;F jS, Y&#039; $partnerId = null $isUserVerificationExpired = false $isUserVerified = false $facebookLoginUrl = &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039; $requestQuery = &#039;&#039; $OAuthParams = array() $isIPBlacklisted = false $platformName = null $settings = array() $subdomain = &#039;dev-services&#039; $query_string = &#039;&#039;</pre><pre class="stack-trace">include - APP/View/Users/login.ctp, line 45 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre></span> credentials</h3> </div> <div class="small-12 columns text-left"> <div class="input text required"><label for="UserUsername">Email</label><input name="data[User][username]" placeholder="Email or username" data-visible="1" class="loginInput" autocomplete="on" maxlength="60" type="text" id="UserUsername" required="required"/></div> </div> </div> <div class="row"> <div class="small-12 columns text-left"> <p style="position: absolute;right: 18px;font-size: 12px; z-index:9999"><a href="/users/reset" class="forgot" style="font-size: 12px;color:var(--light-gray-2)">Forgot your password?</a></p> <div class="input password required"><label for="UserPassword">Password</label><input name="data[User][password]" data-visible="1" placeholder="Password" class="loginInput" type="password" id="UserPassword" required="required"/></div> <a href="#" id="showHidePass"></a> </div> </div> <div class="row formWradpperLogin"> <div class="small-12 columns text-right"> <div class="submit"><input type="submit" id="registerButton" class="button radius" value="SIGN IN"/></div> </div> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-trace').style.display = (document.getElementById('cakeErr5e86ad068d4a9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/View/Users/login.ctp</b>, line <b>70</b>]<div id="cakeErr5e86ad068d4a9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-code').style.display = (document.getElementById('cakeErr5e86ad068d4a9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-context').style.display = (document.getElementById('cakeErr5e86ad068d4a9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068d4a9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <span class="code-highlight"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000BB">&lt;?php&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">$settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'disable_signup'</span><span style="color: #007700">]&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">$isIPBlacklisted</span><span style="color: #007700">){&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code></span></pre><pre id="cakeErr5e86ad068d4a9-context" class="cake-context" style="display: none;">$viewFile = &#039;/var/www/dev.brid.tv/View/Users/login.ctp&#039; $dataForView = array( &#039;truncateStringLen&#039; =&gt; (int) 80, &#039;debugGroupOrderValue&#039; =&gt; &#039;Site Admin&#039;, &#039;timeFormatForm&#039; =&gt; &#039;d-m-Y&#039;, &#039;timeFormatTiny&#039; =&gt; &#039;M jS, y&#039;, &#039;timeFormatShort&#039; =&gt; &#039;M jS, Y&#039;, &#039;timeFormat&#039; =&gt; &#039;F jS, Y&#039;, &#039;partnerId&#039; =&gt; null, &#039;isUserVerificationExpired&#039; =&gt; false, &#039;isUserVerified&#039; =&gt; false, &#039;facebookLoginUrl&#039; =&gt; &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039;, &#039;requestQuery&#039; =&gt; &#039;&#039;, &#039;OAuthParams&#039; =&gt; array(), &#039;isIPBlacklisted&#039; =&gt; false, &#039;platformName&#039; =&gt; null, &#039;settings&#039; =&gt; array(), &#039;subdomain&#039; =&gt; &#039;dev-services&#039; ) $truncateStringLen = (int) 80 $debugGroupOrderValue = &#039;Site Admin&#039; $timeFormatForm = &#039;d-m-Y&#039; $timeFormatTiny = &#039;M jS, y&#039; $timeFormatShort = &#039;M jS, Y&#039; $timeFormat = &#039;F jS, Y&#039; $partnerId = null $isUserVerificationExpired = false $isUserVerified = false $facebookLoginUrl = &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039; $requestQuery = &#039;&#039; $OAuthParams = array() $isIPBlacklisted = false $platformName = null $settings = array() $subdomain = &#039;dev-services&#039; $query_string = &#039;&#039;</pre><pre class="stack-trace">include - APP/View/Users/login.ctp, line 70 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-trace').style.display = (document.getElementById('cakeErr5e86ad068d620-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/Lib/Subdomain/Subdomain.php</b>, line <b>21</b>]<div id="cakeErr5e86ad068d620-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-code').style.display = (document.getElementById('cakeErr5e86ad068d620-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-context').style.display = (document.getElementById('cakeErr5e86ad068d620-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068d620-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//return&nbsp;(in_array($this-&gt;settings['Setting']['subdomain'],&nbsp;array_merge($this-&gt;devDomains,&nbsp;$this-&gt;liveDomains))&nbsp;||&nbsp;$this-&gt;host&nbsp;==&nbsp;$this-&gt;settings['Setting']['domain'])&nbsp;?&nbsp;true&nbsp;:&nbsp;false;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'subdomain'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">devDomains</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">liveDomains</span><span style="color: #007700">))&nbsp;||&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">host&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'domain'</span><span style="color: #007700">]){</span></span></code></span></pre><pre class="stack-trace">Subdomain::isSubPlatform() - APP/Lib/Subdomain/Subdomain.php, line 21 BridhtmlHelper::isSubPlatform() - APP/View/Helper/BridhtmlHelper.php, line 89 include - APP/View/Users/login.ctp, line 72 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> </div> </form> </div> <script> $(document).ready(function(){ // We will use this link to login to Facebook for getting data for registring user var facebookLoginUrl = 'https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&state=41940590e7fb1f413167e49431d808cc&response_type=code&sdk=php-sdk-5.4.4&redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&scope=email%2C+user_location'; $('#registerButton').prop({disabled : true}); $('#UserUsername, #UserPassword').on('paste', enableSubmit); $('#UserUsername, #UserPassword').click(enableSubmit).keyup(enableSubmit).change(enableSubmit); $('#UserUsername').focus(); $('.formWradpperLogin').find('div.input').on('mousemove',enableSubmit); $('#showHidePass').click(function(){ if ($('#UserPassword').attr('type') == 'password') { $('#UserPassword').attr('type', 'text'); $(this).css('opacity', 0.3); } else { $('#UserPassword').attr('type', 'password'); $(this).css('opacity', 1); } return false; }); $('#UserPassword').keypress(function(e){ if(e.which == 13) { $('#UserLoginForm').submit(); return false; } }); $('#UserUsername').keypress(function(e){ if(e.which == 13) { if($('#UserPassword').val()!=''){ $('#UserLoginForm').submit(); return false; } } }); $('.checkbox').click(function(){ var chk = $(this).find(':checkbox'); var chkId = chk.attr('id'); if($(chk).is(':checked')) { $(chk).prev().hide(); $(chk).prop('checked', false); $(chk).attr('value', 0); alert('Add logic with Jquery Cookie'); }else{ $(chk).prop('value', $(chk).attr('data-value')); $(chk).prop('checked', true); $(chk).prev().show(); } }); // Shoot to Facebook. $('#fbConnectButton').click(function(){ window.location = facebookLoginUrl; }); var intervalCounter = 0; var inetrvalId =setInterval(function(){ //debug.log(intervalCounter); enableSubmit(); if($("#registerButton").is(":disabled")===false || intervalCounter>=30){ window.clearInterval(inetrvalId); } intervalCounter++; },500); }); function enableSubmit() { var u = $('#UserUsername').val(), p = $('#UserPassword').val(); var maxopacity = 1; if ($('#UserPassword').attr('type') == 'text') { maxopacity = 0.3; } if (p.length > 0) { $('#showHidePass').css('opacity', maxopacity); } else { $('#showHidePass').css('opacity', 0); } if (u!='' && p!='' && p.length >= 6 && p.length < 50) // && isValidEmailAddress(u) { $('#registerButton').prop({disabled : false}); } else { $('#registerButton').prop({disabled : true}); } } function onSignIn(googleUser) { // Useful data for your client-side scripts: var profile = googleUser.getBasicProfile(); var id_token = googleUser.getAuthResponse().id_token; if(id_token && id_token!='') { $('.login').css({opacity : '0.2', 'pointer-events' : 'none'}); $.ajax({ url: '/users/google.json', type : 'POST', data : 'idtoken=' + id_token, success: function(data) { if(data.error!=undefined){ $('.login').css({opacity : '1', 'pointer-events' : 'auto'}); var auth2 = gapi.auth2.getAuthInstance(); auth2.signOut() } if(data.url){ window.location = data.url; } }, error : function(){ console.error('Login error'); $('.login').css({opacity : '1', 'pointer-events' : 'auto'}); }, complete : function(){ } }); } } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Users' ) $truncateStringLen = (int) 80 $debugGroupOrderValue = 'Site Admin' $timeFormatForm = 'd-m-Y' $timeFormatTiny = 'M jS, y' $timeFormatShort = 'M jS, Y' $timeFormat = 'F jS, Y' $partnerId = null $isUserVerificationExpired = false $isUserVerified = false $facebookLoginUrl = 'https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&state=41940590e7fb1f413167e49431d808cc&response_type=code&sdk=php-sdk-5.4.4&redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&scope=email%2C+user_location' $requestQuery = '' $OAuthParams = array() $isIPBlacklisted = false $platformName = null $settings = array() $subdomain = 'dev-services' $content_for_layout = '<div id="fb-root"></div> <div class="login form-new box text-center" style="display:block;"> <form action="/users/login" id="UserLoginForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="row"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-trace').style.display = (document.getElementById('cakeErr5e86ad068ceb6-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/Lib/Subdomain/Subdomain.php</b>, line <b>21</b>]<div id="cakeErr5e86ad068ceb6-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-code').style.display = (document.getElementById('cakeErr5e86ad068ceb6-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068ceb6-context').style.display = (document.getElementById('cakeErr5e86ad068ceb6-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068ceb6-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//return&nbsp;(in_array($this-&gt;settings['Setting']['subdomain'],&nbsp;array_merge($this-&gt;devDomains,&nbsp;$this-&gt;liveDomains))&nbsp;||&nbsp;$this-&gt;host&nbsp;==&nbsp;$this-&gt;settings['Setting']['domain'])&nbsp;?&nbsp;true&nbsp;:&nbsp;false;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'subdomain'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">devDomains</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">liveDomains</span><span style="color: #007700">))&nbsp;||&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">host&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'domain'</span><span style="color: #007700">]){</span></span></code></span></pre><pre class="stack-trace">Subdomain::isSubPlatform() - APP/Lib/Subdomain/Subdomain.php, line 21 BridhtmlHelper::isSubPlatform() - APP/View/Helper/BridhtmlHelper.php, line 89 include - APP/View/Users/login.ctp, line 23 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> <div class="small-12 columns text-left"> <h3>Sign in using <span><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-trace').style.display = (document.getElementById('cakeErr5e86ad068cff8-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/View/Users/login.ctp</b>, line <b>45</b>]<div id="cakeErr5e86ad068cff8-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-code').style.display = (document.getElementById('cakeErr5e86ad068cff8-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068cff8-context').style.display = (document.getElementById('cakeErr5e86ad068cff8-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068cff8-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"small-12&nbsp;columns&nbsp;text-left"</span><span style="color: #007700">&gt;</span></span></code> <span class="code-highlight"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Sign&nbsp;in&nbsp;using&nbsp;&lt;span&gt;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">$settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'title'</span><span style="color: #007700">];&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;/span&gt;&nbsp;credentials&lt;/h3&gt;</span></code></span></pre><pre id="cakeErr5e86ad068cff8-context" class="cake-context" style="display: none;">$viewFile = &#039;/var/www/dev.brid.tv/View/Users/login.ctp&#039; $dataForView = array( &#039;truncateStringLen&#039; =&gt; (int) 80, &#039;debugGroupOrderValue&#039; =&gt; &#039;Site Admin&#039;, &#039;timeFormatForm&#039; =&gt; &#039;d-m-Y&#039;, &#039;timeFormatTiny&#039; =&gt; &#039;M jS, y&#039;, &#039;timeFormatShort&#039; =&gt; &#039;M jS, Y&#039;, &#039;timeFormat&#039; =&gt; &#039;F jS, Y&#039;, &#039;partnerId&#039; =&gt; null, &#039;isUserVerificationExpired&#039; =&gt; false, &#039;isUserVerified&#039; =&gt; false, &#039;facebookLoginUrl&#039; =&gt; &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039;, &#039;requestQuery&#039; =&gt; &#039;&#039;, &#039;OAuthParams&#039; =&gt; array(), &#039;isIPBlacklisted&#039; =&gt; false, &#039;platformName&#039; =&gt; null, &#039;settings&#039; =&gt; array(), &#039;subdomain&#039; =&gt; &#039;dev-services&#039; ) $truncateStringLen = (int) 80 $debugGroupOrderValue = &#039;Site Admin&#039; $timeFormatForm = &#039;d-m-Y&#039; $timeFormatTiny = &#039;M jS, y&#039; $timeFormatShort = &#039;M jS, Y&#039; $timeFormat = &#039;F jS, Y&#039; $partnerId = null $isUserVerificationExpired = false $isUserVerified = false $facebookLoginUrl = &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039; $requestQuery = &#039;&#039; $OAuthParams = array() $isIPBlacklisted = false $platformName = null $settings = array() $subdomain = &#039;dev-services&#039; $query_string = &#039;&#039;</pre><pre class="stack-trace">include - APP/View/Users/login.ctp, line 45 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre></span> credentials</h3> </div> <div class="small-12 columns text-left"> <div class="input text required"><label for="UserUsername">Email</label><input name="data[User][username]" placeholder="Email or username" data-visible="1" class="loginInput" autocomplete="on" maxlength="60" type="text" id="UserUsername" required="required"/></div> </div> </div> <div class="row"> <div class="small-12 columns text-left"> <p style="position: absolute;right: 18px;font-size: 12px; z-index:9999"><a href="/users/reset" class="forgot" style="font-size: 12px;color:var(--light-gray-2)">Forgot your password?</a></p> <div class="input password required"><label for="UserPassword">Password</label><input name="data[User][password]" data-visible="1" placeholder="Password" class="loginInput" type="password" id="UserPassword" required="required"/></div> <a href="#" id="showHidePass"></a> </div> </div> <div class="row formWradpperLogin"> <div class="small-12 columns text-right"> <div class="submit"><input type="submit" id="registerButton" class="button radius" value="SIGN IN"/></div> </div> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-trace').style.display = (document.getElementById('cakeErr5e86ad068d4a9-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/View/Users/login.ctp</b>, line <b>70</b>]<div id="cakeErr5e86ad068d4a9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-code').style.display = (document.getElementById('cakeErr5e86ad068d4a9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d4a9-context').style.display = (document.getElementById('cakeErr5e86ad068d4a9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068d4a9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <span class="code-highlight"><code><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000BB">&lt;?php&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">$settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'disable_signup'</span><span style="color: #007700">]&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">$isIPBlacklisted</span><span style="color: #007700">){&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code></span></pre><pre id="cakeErr5e86ad068d4a9-context" class="cake-context" style="display: none;">$viewFile = &#039;/var/www/dev.brid.tv/View/Users/login.ctp&#039; $dataForView = array( &#039;truncateStringLen&#039; =&gt; (int) 80, &#039;debugGroupOrderValue&#039; =&gt; &#039;Site Admin&#039;, &#039;timeFormatForm&#039; =&gt; &#039;d-m-Y&#039;, &#039;timeFormatTiny&#039; =&gt; &#039;M jS, y&#039;, &#039;timeFormatShort&#039; =&gt; &#039;M jS, Y&#039;, &#039;timeFormat&#039; =&gt; &#039;F jS, Y&#039;, &#039;partnerId&#039; =&gt; null, &#039;isUserVerificationExpired&#039; =&gt; false, &#039;isUserVerified&#039; =&gt; false, &#039;facebookLoginUrl&#039; =&gt; &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039;, &#039;requestQuery&#039; =&gt; &#039;&#039;, &#039;OAuthParams&#039; =&gt; array(), &#039;isIPBlacklisted&#039; =&gt; false, &#039;platformName&#039; =&gt; null, &#039;settings&#039; =&gt; array(), &#039;subdomain&#039; =&gt; &#039;dev-services&#039; ) $truncateStringLen = (int) 80 $debugGroupOrderValue = &#039;Site Admin&#039; $timeFormatForm = &#039;d-m-Y&#039; $timeFormatTiny = &#039;M jS, y&#039; $timeFormatShort = &#039;M jS, Y&#039; $timeFormat = &#039;F jS, Y&#039; $partnerId = null $isUserVerificationExpired = false $isUserVerified = false $facebookLoginUrl = &#039;https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&amp;state=41940590e7fb1f413167e49431d808cc&amp;response_type=code&amp;sdk=php-sdk-5.4.4&amp;redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&amp;scope=email%2C+user_location&#039; $requestQuery = &#039;&#039; $OAuthParams = array() $isIPBlacklisted = false $platformName = null $settings = array() $subdomain = &#039;dev-services&#039; $query_string = &#039;&#039;</pre><pre class="stack-trace">include - APP/View/Users/login.ctp, line 70 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-trace').style.display = (document.getElementById('cakeErr5e86ad068d620-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Setting [<b>APP/Lib/Subdomain/Subdomain.php</b>, line <b>21</b>]<div id="cakeErr5e86ad068d620-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-code').style.display = (document.getElementById('cakeErr5e86ad068d620-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5e86ad068d620-context').style.display = (document.getElementById('cakeErr5e86ad068d620-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5e86ad068d620-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//return&nbsp;(in_array($this-&gt;settings['Setting']['subdomain'],&nbsp;array_merge($this-&gt;devDomains,&nbsp;$this-&gt;liveDomains))&nbsp;||&nbsp;$this-&gt;host&nbsp;==&nbsp;$this-&gt;settings['Setting']['domain'])&nbsp;?&nbsp;true&nbsp;:&nbsp;false;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'subdomain'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">devDomains</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">liveDomains</span><span style="color: #007700">))&nbsp;||&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">host&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'Setting'</span><span style="color: #007700">][</span><span style="color: #DD0000">'domain'</span><span style="color: #007700">]){</span></span></code></span></pre><pre class="stack-trace">Subdomain::isSubPlatform() - APP/Lib/Subdomain/Subdomain.php, line 21 BridhtmlHelper::isSubPlatform() - APP/View/Helper/BridhtmlHelper.php, line 89 include - APP/View/Users/login.ctp, line 72 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> </div> </form> </div> <script> $(document).ready(function(){ // We will use this link to login to Facebook for getting data for registring user var facebookLoginUrl = 'https://www.facebook.com/v2.5/dialog/oauth?client_id=311449372966560&state=41940590e7fb1f413167e49431d808cc&response_type=code&sdk=php-sdk-5.4.4&redirect_uri=http%3A%2F%2Fdev-services.brid.tv%2Fusers%2Fregister%2Ffacebook%2F&scope=email%2C+user_location'; $('#registerButton').prop({disabled : true}); $('#UserUsername, #UserPassword').on('paste', enableSubmit); $('#UserUsername, #UserPassword').click(enableSubmit).keyup(enableSubmit).change(enableSubmit); $('#UserUsername').focus(); $('.formWradpperLogin').find('div.input').on('mousemove',enableSubmit); $('#showHidePass').click(function(){ if ($('#UserPassword').attr('type') == 'password') { $('#UserPassword').attr('type', 'text'); $(this).css('opacity', 0.3); } else { $('#UserPassword').attr('type', 'password'); $(this).css('opacity', 1); } return false; }); $('#UserPassword').keypress(function(e){ if(e.which == 13) { $('#UserLoginForm').submit(); return false; } }); $('#UserUsername').keypress(function(e){ if(e.which == 13) { if($('#UserPassword').val()!=''){ $('#UserLoginForm').submit(); return false; } } }); $('.checkbox').click(function(){ var chk = $(this).find(':checkbox'); var chkId = chk.attr('id'); if($(chk).is(':checked')) { $(chk).prev().hide(); $(chk).prop('checked', false); $(chk).attr('value', 0); alert('Add logic with Jquery Cookie'); }else{ $(chk).prop('value', $(chk).attr('data-value')); $(chk).prop('checked', true); $(chk).prev().show(); } }); // Shoot to Facebook. $('#fbConnectButton').click(function(){ window.location = facebookLoginUrl; }); var intervalCounter = 0; var inetrvalId =setInterval(function(){ //debug.log(intervalCounter); enableSubmit(); if($("#registerButton").is(":disabled")===false || intervalCounter>=30){ window.clearInterval(inetrvalId); } intervalCounter++; },500); }); function enableSubmit() { var u = $('#UserUsername').val(), p = $('#UserPassword').val(); var maxopacity = 1; if ($('#UserPassword').attr('type') == 'text') { maxopacity = 0.3; } if (p.length > 0) { $('#showHidePass').css('opacity', maxopacity); } else { $('#showHidePass').css('opacity', 0); } if (u!='' && p!='' && p.length >= 6 && p.length < 50) // && isValidEmailAddress(u) { $('#registerButton').prop({disabled : false}); } else { $('#registerButton').prop({disabled : true}); } } function onSignIn(googleUser) { // Useful data for your client-side scripts: var profile = googleUser.getBasicProfile(); var id_token = googleUser.getAuthResponse().id_token; if(id_token && id_token!='') { $('.login').css({opacity : '0.2', 'pointer-events' : 'none'}); $.ajax({ url: '/users/google.json', type : 'POST', data : 'idtoken=' + id_token, success: function(data) { if(data.error!=undefined){ $('.login').css({opacity : '1', 'pointer-events' : 'auto'}); var auth2 = gapi.auth2.getAuthInstance(); auth2.signOut() } if(data.url){ window.location = data.url; } }, error : function(){ console.error('Login error'); $('.login').css({opacity : '1', 'pointer-events' : 'auto'}); }, complete : function(){ } }); } } </script> ' $scripts_for_layout = '' $title_for_layout = 'Users' $cakeDescription = 'Video Platform'</pre><pre class="stack-trace">include - APP/View/Layouts/login.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 105</pre></div></pre> Video Platform - Users
Notice (8): Undefined index: Setting [APP/Lib/Subdomain/Subdomain.php, line 21]background:var(--primary-color)">
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 55]" id="go-to">  Go to
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 55]
Notice (8): Undefined index: Setting [APP/Lib/Subdomain/Subdomain.php, line 21]
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 68]
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 75]
Notice (8): Undefined index: Setting [APP/View/Layouts/login.ctp, line 85]'>
Notice (8): Undefined index: Setting [APP/View/Elements/privacy.ctp, line 3]
Terms & Conditions |
Notice (8): Undefined index: Setting [APP/View/Elements/privacy.ctp, line 3]
Privacy Policy
Copyright © 2020 -
Notice (8): Undefined index: Setting [APP/View/Elements/privacy.ctp, line 6]