Notice (8) : file_put_contents(): write of 279 bytes failed with errno=28 No space left on device [CORE/src/Log/Engine/FileLog.php , line 129 ]Code Context if (! $mask ) {
file_put_contents ( $pathname , $output , FILE_APPEND );
$level = 'warning'
$message = 'DebugKit is disabling itself as your host `e3ampdev.iotalents.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.'
$context = [
'scope' => []
]
$output = '2026-06-03 00:52:09 Warning: DebugKit is disabling itself as your host `e3ampdev.iotalents.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.
'
$filename = 'error.log'
$pathname = '/var/www/e3ampdev.iotalents.com/logs/error.log'
$mask = null file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 129
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 388
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 473
DebugKit\ToolbarService::isSuspiciouslyProduction() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 148
DebugKit\ToolbarService::isEnabled() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 101
DebugKit\Plugin::bootstrap() - ROOT/vendor/cakephp/debug_kit/src/Plugin.php, line 46
Cake\Http\BaseApplication::pluginBootstrap() - CORE/src/Http/BaseApplication.php, line 148
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 113
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 79
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 1113 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 1113 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning (2) : file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Only -1 of 279 bytes written, possibly out of free disk space [CORE/src/Log/Engine/FileLog.php , line 129 ]Code Context if (! $mask ) {
file_put_contents ( $pathname , $output , FILE_APPEND );
$level = 'warning'
$message = 'DebugKit is disabling itself as your host `e3ampdev.iotalents.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.'
$context = [
'scope' => []
]
$output = '2026-06-03 00:52:09 Warning: DebugKit is disabling itself as your host `e3ampdev.iotalents.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.
'
$filename = 'error.log'
$pathname = '/var/www/e3ampdev.iotalents.com/logs/error.log'
$mask = null file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 129
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 388
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 473
DebugKit\ToolbarService::isSuspiciouslyProduction() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 148
DebugKit\ToolbarService::isEnabled() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 101
DebugKit\Plugin::bootstrap() - ROOT/vendor/cakephp/debug_kit/src/Plugin.php, line 46
Cake\Http\BaseApplication::pluginBootstrap() - CORE/src/Http/BaseApplication.php, line 148
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 113
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 79
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 1206 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 1206 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php line=129 [CORE/src/Http/ResponseEmitter.php , line 72 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
} $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>(Dev) NTU EEE Alumni Mentorship Programme (E3AMP)</title>
<link rel="stylesheet" href="/css/plugins.css"/> <link rel="stylesheet" href="/css/styles.css"/> <link rel="stylesheet" href="/css/skin/default.css"/> <link rel="stylesheet" href="/css/intltellinput/intlTelInput.min.css"/>
<script src="/js/jquery.min.js"></script> <script src="/js/popper.min.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/select2.min.js"></script> <script src="/js/aos.js"></script> <script src="/js/perfect-scrollbar.jquery.min.js"></script> <script src="/js/owl.carousel.min.js"></script> <script src="/js/jquery.counterup.min.js"></script> <script src="/js/slick.js"></script> <script src="/js/bootstrap-datepicker.js"></script> <script src="/js/isotope.min.js"></script> <script src="/js/summernote.js"></script> <script src="/js/custom.js"></script> <script src="/js/bootstrap-notify.min.js"></script> <script src="/js/moment.min.js"></script> <script src="/js/intltellinput/intlTelInput.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script type="text/javascript">
var base_url = "https://e3ampdev.iotalents.com/";
if(window.location.href.indexOf("www") > -1) { window.location.href = base_url + window.location.pathname.substring(1); }
if (location.protocol != 'https:') { window.location.href = base_url + window.location.pathname.substring(1); }
</script>
</head>
<body class="red-skin">
<div class="Loader"></div>
<div id="main-wrapper">
<style>
.btn.connect-fb, .btn.connect-linked, .btn.connect-google { padding:12px 5px!important; }
@media (max-width: 991px) {
.modal-footer { display:block}
page-title-wrap {margin-top: -100px!important}
}
.page-title-wrap.pt-img-wrap:before {
opacity:0!important
}
section {padding: 10px 0 80px 0}
</style>
<!-- ============================ Hero Banner Start================================== -->
<div class="page-title-wrap pt-img-wrap" style="align-items:flex-end;background:url(/img/banner3.png) no-repeat;background-size: contain!important;background-position: top;background-color:transparent!important;margin-top: 0px;">
<div class="container">
<div class="col-lg-12 col-md-12">
</div>
</div>
</div>
<div class="clearfix"></div>
<!-- ============================ Hero Banner End ================================== -->
<section>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12 col-md-12">
<div class="pt-caption text-center">
<h1>Log In</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8 col-md-8 col-sm-12">
<div class="alert alert-danger" role="alert" id="sessionExpired" style="display:none">Session expired. Please login again.</div>
<div class="alert alert-success" role="alert" id="emailConfirm" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-success" role="alert" id="emailConfirm2" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-danger" role="alert" id="emailConfirmErr" style="display:none">Your email confirmation link is invalid. Please <a href="javascript:;" onClick="resendEmail()">click here to resend email confirmation</a></div>
<div class="alert alert-success" role="alert" id="emailUnsub" style="display:none">Your email address has been unsubscribed</div>
<div class="modal-body">
<h4 class="modal-header-title">Welcome <span>Back</span></h4>
<div class="login-form">
<form>
<div class="form-group">
<label>Email Address</label>
<div class="input-with-icon">
<input type="email" class="form-control" placeholder="Email Address" id="email_address" required>
<i class="ti-user"></i>
</div>
</div>
<div class="form-group">
<label>Password</label>
<div class="input-with-icon">
<input type="password" class="form-control" placeholder="*******" id="password" required>
<i class="ti-unlock"></i>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-md full-width pop-login">Login</button>
</div>
<div class="modal-footer" style="background: #fff;border-top:0px">
<div class="mf-link"><i class="ti-user"></i> <a href="/register">New to NTU E3AMP? Sign up here</a></div>
<div class="mf-forget"><i class="ti-help"></i> <a href="/login/forget">Forget Password</a></div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
$(function() {
//$(".default-logo").attr("src","/img/logo-light.svg");
})
$("form").submit(function(e){
e.preventDefault();
login();
});
$('#password').keydown(function(e) {
if (e.keyCode == 13) {
e.preventDefault();
login();
}
})
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
function login() {
$.ajax({
url: base_url + "login/post",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#email_address").val(),
password: $("#password").val()
},
success: function(data) {
if (data.success) {
//window.location = "/dashboard";
if (typeof getUrlVars()["redirect"] === "undefined") window.location = "/dashboard";
else {
if (getUrlVars()["redirect"].length>0) window.location = base_url + decodeURIComponent(getUrlVars()["redirect"]).slice(1);
else window.location = "/dashboard";
}
} else {
if (data.error == 2) {
Swal.fire({
title: 'Email Address Not Confirmed',
text: "Please check your email inbox to confirm your email.",
icon: 'warning',
footer: '<a href="javascript:;" onClick="resendEmail2()">Resend Email Confirmation</a>'
})
} else if (data.error == 3) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning'
})
} else $.notify(data.message,{type: 'danger'});
}
}
});
}
function resendEmail() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: ''},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
function resendEmail2() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: $("#email_address").val()},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
</script>
<!-- ============================ Footer Start ================================== -->
<footer class="dark-footer skin-dark-footer">
<div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">About NTU EEE Alumni Mentorship Programme (E3AMP)</h4>
<p>E3AMP was established to BRIDGE GENERATIONS by connecting electrical and electronic engineering students and distinguished alumni mentors, providing essential guidance for their future endeavours.</p>
<p>Our goal is to cultivate a close-knit community between alumni and students, SHAPING CAREERS and offering a platform for impactful contributions to undergraduate growth.</p>
<p>
<a href="https://www.ntu.edu.sg/ntu-privacy-statement#content_c118_col00" target="_blank" style="text-decoration: underline;">NTU Privacy Statement</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#terms" data-dismiss="modal" style="text-decoration: underline;">Terms & Conditions</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#privacy" data-dismiss="modal" style="text-decoration: underline;">Privacy Policy</a>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">Get in Touch</h4>
<div class="fw-address-wrap">
<div class="fw fw-location font-16">
School of Electrical & Electronic Engineering, <br/>50 Nanyang Avenue, Singapore 639798
</div>
<div class="fw fw-mail font-16">
<a href="mailto:E3Alumni@ntu.edu.sg">Contact Us</a>
</div>
<div class="fw fw-kbb font-16">
<a href="https://e3ampdev.iotalents.com/page/faq">Knowledge Base/FAQ</a>
</div>
<div class="fw fw-support font-16">
<a href="https://iotalents.zohodesk.com/portal/en/newticket" target="_blank">Open Support Ticket</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12 col-md-12 text-center">
<p class="mb-0">© 2026 (Dev) NTU EEE Alumni Mentorship Programme (E3AMP). All Rights Reserved</p>
</div>
</div>
</div>
</div>
</footer>
<!-- ============================ Footer End ================================== -->
<script>
$("#newsletter-footer").submit(function(e){
e.preventDefault();
newslettersignup();
});
function newslettersignup() {
$.ajax({
url: base_url + "e/subscribe",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#newsletter-email-address").val()
},
success: function(data) {
if(!data.success) {
Swal.fire({
title: 'Error',
text: data.message,
icon: 'warning',
})
} else {
$("#newsletter-email-address").val("");
Swal.fire({
title: 'Thank you',
text: "You have subscribed to our mailing list",
icon: 'success',
})
}
}
})
}
$(function() {
if (window.location.search.indexOf('suspended') > -1) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning',
})
}
})
</script>
<div class="modal fade" id="terms" tabindex="-1" role="dialog" aria-labelledby="terms" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">Terms & Conditions</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/index.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="privacy" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">PRIVACY STATEMENT - OVERVIEW</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/privacy.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="consent" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">NTU CONSENT STATEMENT</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/ntu_consent_statement.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div> </div>
</body>
</html>
'
}
$file = '/var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php'
$line = (int) 129
$message = 'Unable to emit headers. Headers sent in file=/var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php line=129' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 72
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 601 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 601 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:129) [CORE/src/Http/ResponseEmitter.php , line 169 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
)); $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>(Dev) NTU EEE Alumni Mentorship Programme (E3AMP)</title>
<link rel="stylesheet" href="/css/plugins.css"/> <link rel="stylesheet" href="/css/styles.css"/> <link rel="stylesheet" href="/css/skin/default.css"/> <link rel="stylesheet" href="/css/intltellinput/intlTelInput.min.css"/>
<script src="/js/jquery.min.js"></script> <script src="/js/popper.min.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/select2.min.js"></script> <script src="/js/aos.js"></script> <script src="/js/perfect-scrollbar.jquery.min.js"></script> <script src="/js/owl.carousel.min.js"></script> <script src="/js/jquery.counterup.min.js"></script> <script src="/js/slick.js"></script> <script src="/js/bootstrap-datepicker.js"></script> <script src="/js/isotope.min.js"></script> <script src="/js/summernote.js"></script> <script src="/js/custom.js"></script> <script src="/js/bootstrap-notify.min.js"></script> <script src="/js/moment.min.js"></script> <script src="/js/intltellinput/intlTelInput.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script type="text/javascript">
var base_url = "https://e3ampdev.iotalents.com/";
if(window.location.href.indexOf("www") > -1) { window.location.href = base_url + window.location.pathname.substring(1); }
if (location.protocol != 'https:') { window.location.href = base_url + window.location.pathname.substring(1); }
</script>
</head>
<body class="red-skin">
<div class="Loader"></div>
<div id="main-wrapper">
<style>
.btn.connect-fb, .btn.connect-linked, .btn.connect-google { padding:12px 5px!important; }
@media (max-width: 991px) {
.modal-footer { display:block}
page-title-wrap {margin-top: -100px!important}
}
.page-title-wrap.pt-img-wrap:before {
opacity:0!important
}
section {padding: 10px 0 80px 0}
</style>
<!-- ============================ Hero Banner Start================================== -->
<div class="page-title-wrap pt-img-wrap" style="align-items:flex-end;background:url(/img/banner3.png) no-repeat;background-size: contain!important;background-position: top;background-color:transparent!important;margin-top: 0px;">
<div class="container">
<div class="col-lg-12 col-md-12">
</div>
</div>
</div>
<div class="clearfix"></div>
<!-- ============================ Hero Banner End ================================== -->
<section>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12 col-md-12">
<div class="pt-caption text-center">
<h1>Log In</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8 col-md-8 col-sm-12">
<div class="alert alert-danger" role="alert" id="sessionExpired" style="display:none">Session expired. Please login again.</div>
<div class="alert alert-success" role="alert" id="emailConfirm" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-success" role="alert" id="emailConfirm2" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-danger" role="alert" id="emailConfirmErr" style="display:none">Your email confirmation link is invalid. Please <a href="javascript:;" onClick="resendEmail()">click here to resend email confirmation</a></div>
<div class="alert alert-success" role="alert" id="emailUnsub" style="display:none">Your email address has been unsubscribed</div>
<div class="modal-body">
<h4 class="modal-header-title">Welcome <span>Back</span></h4>
<div class="login-form">
<form>
<div class="form-group">
<label>Email Address</label>
<div class="input-with-icon">
<input type="email" class="form-control" placeholder="Email Address" id="email_address" required>
<i class="ti-user"></i>
</div>
</div>
<div class="form-group">
<label>Password</label>
<div class="input-with-icon">
<input type="password" class="form-control" placeholder="*******" id="password" required>
<i class="ti-unlock"></i>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-md full-width pop-login">Login</button>
</div>
<div class="modal-footer" style="background: #fff;border-top:0px">
<div class="mf-link"><i class="ti-user"></i> <a href="/register">New to NTU E3AMP? Sign up here</a></div>
<div class="mf-forget"><i class="ti-help"></i> <a href="/login/forget">Forget Password</a></div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
$(function() {
//$(".default-logo").attr("src","/img/logo-light.svg");
})
$("form").submit(function(e){
e.preventDefault();
login();
});
$('#password').keydown(function(e) {
if (e.keyCode == 13) {
e.preventDefault();
login();
}
})
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
function login() {
$.ajax({
url: base_url + "login/post",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#email_address").val(),
password: $("#password").val()
},
success: function(data) {
if (data.success) {
//window.location = "/dashboard";
if (typeof getUrlVars()["redirect"] === "undefined") window.location = "/dashboard";
else {
if (getUrlVars()["redirect"].length>0) window.location = base_url + decodeURIComponent(getUrlVars()["redirect"]).slice(1);
else window.location = "/dashboard";
}
} else {
if (data.error == 2) {
Swal.fire({
title: 'Email Address Not Confirmed',
text: "Please check your email inbox to confirm your email.",
icon: 'warning',
footer: '<a href="javascript:;" onClick="resendEmail2()">Resend Email Confirmation</a>'
})
} else if (data.error == 3) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning'
})
} else $.notify(data.message,{type: 'danger'});
}
}
});
}
function resendEmail() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: ''},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
function resendEmail2() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: $("#email_address").val()},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
</script>
<!-- ============================ Footer Start ================================== -->
<footer class="dark-footer skin-dark-footer">
<div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">About NTU EEE Alumni Mentorship Programme (E3AMP)</h4>
<p>E3AMP was established to BRIDGE GENERATIONS by connecting electrical and electronic engineering students and distinguished alumni mentors, providing essential guidance for their future endeavours.</p>
<p>Our goal is to cultivate a close-knit community between alumni and students, SHAPING CAREERS and offering a platform for impactful contributions to undergraduate growth.</p>
<p>
<a href="https://www.ntu.edu.sg/ntu-privacy-statement#content_c118_col00" target="_blank" style="text-decoration: underline;">NTU Privacy Statement</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#terms" data-dismiss="modal" style="text-decoration: underline;">Terms & Conditions</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#privacy" data-dismiss="modal" style="text-decoration: underline;">Privacy Policy</a>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">Get in Touch</h4>
<div class="fw-address-wrap">
<div class="fw fw-location font-16">
School of Electrical & Electronic Engineering, <br/>50 Nanyang Avenue, Singapore 639798
</div>
<div class="fw fw-mail font-16">
<a href="mailto:E3Alumni@ntu.edu.sg">Contact Us</a>
</div>
<div class="fw fw-kbb font-16">
<a href="https://e3ampdev.iotalents.com/page/faq">Knowledge Base/FAQ</a>
</div>
<div class="fw fw-support font-16">
<a href="https://iotalents.zohodesk.com/portal/en/newticket" target="_blank">Open Support Ticket</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12 col-md-12 text-center">
<p class="mb-0">© 2026 (Dev) NTU EEE Alumni Mentorship Programme (E3AMP). All Rights Reserved</p>
</div>
</div>
</div>
</div>
</footer>
<!-- ============================ Footer End ================================== -->
<script>
$("#newsletter-footer").submit(function(e){
e.preventDefault();
newslettersignup();
});
function newslettersignup() {
$.ajax({
url: base_url + "e/subscribe",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#newsletter-email-address").val()
},
success: function(data) {
if(!data.success) {
Swal.fire({
title: 'Error',
text: data.message,
icon: 'warning',
})
} else {
$("#newsletter-email-address").val("");
Swal.fire({
title: 'Thank you',
text: "You have subscribed to our mailing list",
icon: 'success',
})
}
}
})
}
$(function() {
if (window.location.search.indexOf('suspended') > -1) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning',
})
}
})
</script>
<div class="modal fade" id="terms" tabindex="-1" role="dialog" aria-labelledby="terms" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">Terms & Conditions</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/index.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="privacy" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">PRIVACY STATEMENT - OVERVIEW</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/privacy.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="consent" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">NTU CONSENT STATEMENT</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/ntu_consent_statement.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div> </div>
</body>
</html>
'
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 169
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 748 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 748 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:129) [CORE/src/Http/ResponseEmitter.php , line 198 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' , $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>(Dev) NTU EEE Alumni Mentorship Programme (E3AMP)</title>
<link rel="stylesheet" href="/css/plugins.css"/> <link rel="stylesheet" href="/css/styles.css"/> <link rel="stylesheet" href="/css/skin/default.css"/> <link rel="stylesheet" href="/css/intltellinput/intlTelInput.min.css"/>
<script src="/js/jquery.min.js"></script> <script src="/js/popper.min.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/select2.min.js"></script> <script src="/js/aos.js"></script> <script src="/js/perfect-scrollbar.jquery.min.js"></script> <script src="/js/owl.carousel.min.js"></script> <script src="/js/jquery.counterup.min.js"></script> <script src="/js/slick.js"></script> <script src="/js/bootstrap-datepicker.js"></script> <script src="/js/isotope.min.js"></script> <script src="/js/summernote.js"></script> <script src="/js/custom.js"></script> <script src="/js/bootstrap-notify.min.js"></script> <script src="/js/moment.min.js"></script> <script src="/js/intltellinput/intlTelInput.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script type="text/javascript">
var base_url = "https://e3ampdev.iotalents.com/";
if(window.location.href.indexOf("www") > -1) { window.location.href = base_url + window.location.pathname.substring(1); }
if (location.protocol != 'https:') { window.location.href = base_url + window.location.pathname.substring(1); }
</script>
</head>
<body class="red-skin">
<div class="Loader"></div>
<div id="main-wrapper">
<style>
.btn.connect-fb, .btn.connect-linked, .btn.connect-google { padding:12px 5px!important; }
@media (max-width: 991px) {
.modal-footer { display:block}
page-title-wrap {margin-top: -100px!important}
}
.page-title-wrap.pt-img-wrap:before {
opacity:0!important
}
section {padding: 10px 0 80px 0}
</style>
<!-- ============================ Hero Banner Start================================== -->
<div class="page-title-wrap pt-img-wrap" style="align-items:flex-end;background:url(/img/banner3.png) no-repeat;background-size: contain!important;background-position: top;background-color:transparent!important;margin-top: 0px;">
<div class="container">
<div class="col-lg-12 col-md-12">
</div>
</div>
</div>
<div class="clearfix"></div>
<!-- ============================ Hero Banner End ================================== -->
<section>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12 col-md-12">
<div class="pt-caption text-center">
<h1>Log In</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8 col-md-8 col-sm-12">
<div class="alert alert-danger" role="alert" id="sessionExpired" style="display:none">Session expired. Please login again.</div>
<div class="alert alert-success" role="alert" id="emailConfirm" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-success" role="alert" id="emailConfirm2" style="display:none">Thank you for confirming your email. Please proceed to login.</div>
<div class="alert alert-danger" role="alert" id="emailConfirmErr" style="display:none">Your email confirmation link is invalid. Please <a href="javascript:;" onClick="resendEmail()">click here to resend email confirmation</a></div>
<div class="alert alert-success" role="alert" id="emailUnsub" style="display:none">Your email address has been unsubscribed</div>
<div class="modal-body">
<h4 class="modal-header-title">Welcome <span>Back</span></h4>
<div class="login-form">
<form>
<div class="form-group">
<label>Email Address</label>
<div class="input-with-icon">
<input type="email" class="form-control" placeholder="Email Address" id="email_address" required>
<i class="ti-user"></i>
</div>
</div>
<div class="form-group">
<label>Password</label>
<div class="input-with-icon">
<input type="password" class="form-control" placeholder="*******" id="password" required>
<i class="ti-unlock"></i>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-md full-width pop-login">Login</button>
</div>
<div class="modal-footer" style="background: #fff;border-top:0px">
<div class="mf-link"><i class="ti-user"></i> <a href="/register">New to NTU E3AMP? Sign up here</a></div>
<div class="mf-forget"><i class="ti-help"></i> <a href="/login/forget">Forget Password</a></div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
$(function() {
//$(".default-logo").attr("src","/img/logo-light.svg");
})
$("form").submit(function(e){
e.preventDefault();
login();
});
$('#password').keydown(function(e) {
if (e.keyCode == 13) {
e.preventDefault();
login();
}
})
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
function login() {
$.ajax({
url: base_url + "login/post",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#email_address").val(),
password: $("#password").val()
},
success: function(data) {
if (data.success) {
//window.location = "/dashboard";
if (typeof getUrlVars()["redirect"] === "undefined") window.location = "/dashboard";
else {
if (getUrlVars()["redirect"].length>0) window.location = base_url + decodeURIComponent(getUrlVars()["redirect"]).slice(1);
else window.location = "/dashboard";
}
} else {
if (data.error == 2) {
Swal.fire({
title: 'Email Address Not Confirmed',
text: "Please check your email inbox to confirm your email.",
icon: 'warning',
footer: '<a href="javascript:;" onClick="resendEmail2()">Resend Email Confirmation</a>'
})
} else if (data.error == 3) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning'
})
} else $.notify(data.message,{type: 'danger'});
}
}
});
}
function resendEmail() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: ''},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
function resendEmail2() {
if(localStorage.getItem("lastResend") != null) {
var y = new moment();
var duration = moment.duration(y.diff(localStorage.getItem("lastResend")));
console.log(duration.as('seconds'));
if (Math.ceil(5-duration.as('minutes') > 0)) {
Swal.fire({
title: 'Oops',
text: "Email confirmation was sent " + moment(localStorage.getItem("lastResend")).fromNow() + ". Check your inbox or spam folder. Please request again in " + Math.ceil(5-duration.as('minutes')) + " minutes",
icon: 'warning',
})
return;
}
}
Swal.close();
$.notify("Sending Email Confirmation ...",{type: 'info'});
$.ajax({
url: base_url + "login/resendemailconfirmation",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: { email_address: $("#email_address").val()},
success: function(data) {
localStorage.setItem("lastResend", moment());
$.notify("Email Confirmation Sent",{type: 'success'});
}
})
}
</script>
<!-- ============================ Footer Start ================================== -->
<footer class="dark-footer skin-dark-footer">
<div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">About NTU EEE Alumni Mentorship Programme (E3AMP)</h4>
<p>E3AMP was established to BRIDGE GENERATIONS by connecting electrical and electronic engineering students and distinguished alumni mentors, providing essential guidance for their future endeavours.</p>
<p>Our goal is to cultivate a close-knit community between alumni and students, SHAPING CAREERS and offering a platform for impactful contributions to undergraduate growth.</p>
<p>
<a href="https://www.ntu.edu.sg/ntu-privacy-statement#content_c118_col00" target="_blank" style="text-decoration: underline;">NTU Privacy Statement</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#terms" data-dismiss="modal" style="text-decoration: underline;">Terms & Conditions</a>
<br/><a href="javascript:void(0)" data-toggle="modal" data-target="#privacy" data-dismiss="modal" style="text-decoration: underline;">Privacy Policy</a>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="footer-widget">
<h4 class="widget-title">Get in Touch</h4>
<div class="fw-address-wrap">
<div class="fw fw-location font-16">
School of Electrical & Electronic Engineering, <br/>50 Nanyang Avenue, Singapore 639798
</div>
<div class="fw fw-mail font-16">
<a href="mailto:E3Alumni@ntu.edu.sg">Contact Us</a>
</div>
<div class="fw fw-kbb font-16">
<a href="https://e3ampdev.iotalents.com/page/faq">Knowledge Base/FAQ</a>
</div>
<div class="fw fw-support font-16">
<a href="https://iotalents.zohodesk.com/portal/en/newticket" target="_blank">Open Support Ticket</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12 col-md-12 text-center">
<p class="mb-0">© 2026 (Dev) NTU EEE Alumni Mentorship Programme (E3AMP). All Rights Reserved</p>
</div>
</div>
</div>
</div>
</footer>
<!-- ============================ Footer End ================================== -->
<script>
$("#newsletter-footer").submit(function(e){
e.preventDefault();
newslettersignup();
});
function newslettersignup() {
$.ajax({
url: base_url + "e/subscribe",
dataType: 'json',
type: "POST",
headers: { 'X-CSRF-Token' : '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb' },
data: {
email_address: $("#newsletter-email-address").val()
},
success: function(data) {
if(!data.success) {
Swal.fire({
title: 'Error',
text: data.message,
icon: 'warning',
})
} else {
$("#newsletter-email-address").val("");
Swal.fire({
title: 'Thank you',
text: "You have subscribed to our mailing list",
icon: 'success',
})
}
}
})
}
$(function() {
if (window.location.search.indexOf('suspended') > -1) {
Swal.fire({
title: 'Account Suspended',
text: "Your account has been suspended. Please contact administrator if you need assistance.",
icon: 'warning',
})
}
})
</script>
<div class="modal fade" id="terms" tabindex="-1" role="dialog" aria-labelledby="terms" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">Terms & Conditions</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/index.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="privacy" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">PRIVACY STATEMENT - OVERVIEW</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/privacy.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="consent" tabindex="-1" role="dialog" aria-labelledby="privacy" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header" style="border:none">
<span style="color:#fff">NTU CONSENT STATEMENT</span>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="ti-close"></i></span>
</button>
</div>
</div>
<div class="modal-body" style="background: #fff;">
<iframe src="https://e3ampdev.iotalents.com/terms/ntu_consent_statement.php" border="0" style="border:none;width:100%;height:500px"></iframe>
</div>
<div class="modal-footer">
<div class="mf-link"><button type="button" class="btn btn-primary btn-md" data-dismiss="modal" aria-label="Close">Close</button></div>
</div>
</div>
</div> </div>
</body>
</html>
'
}
$cookies = [
'csrfToken;;/' => object(Cake\Http\Cookie\Cookie) {
[protected] name => 'csrfToken'
[protected] value => '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb'
[protected] isExpanded => false
[protected] expiresAt => null
[protected] path => '/'
[protected] domain => ''
[protected] secure => false
[protected] httpOnly => true
[protected] sameSite => null
[protected] defaults => [
[maximum depth reached]
]
}
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 198
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 76
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 745 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 745 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:129) [CORE/src/Http/ResponseEmitter.php , line 236 ]Code Context if ( PHP_VERSION_ID >= 70300 ) {
return setcookie ( $cookie -> getName (), $cookie -> getScalarValue (), $cookie -> getOptions ());
} $cookie = object(Cake\Http\Cookie\Cookie) {
[protected] name => 'csrfToken'
[protected] value => '85b9d2318791ae54e102097c2952cae4f68334f41440bff7d33c470f3609f63ff061e153e1ebd52789e3e979ca2d5743f92d5f8107a22110c7030b028262bcfb'
[protected] isExpanded => false
[protected] expiresAt => null
[protected] path => '/'
[protected] domain => ''
[protected] secure => false
[protected] httpOnly => true
[protected] sameSite => null
[protected] defaults => [
'expires' => null,
'path' => '/',
'domain' => '',
'secure' => false,
'httponly' => false,
'samesite' => null
]
} setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setCookie() - CORE/src/Http/ResponseEmitter.php, line 236
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 219
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 207
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 76
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - ROOT/webroot/index.php, line 40
Notice : file_put_contents() [function.file-put-contents ]: write of 920 bytes failed with errno=28 No space left on device in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
Warning : file_put_contents() [function.file-put-contents ]: Only -1 of 920 bytes written, possibly out of free disk space in /var/www/e3ampdev.iotalents.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 129
(Dev) NTU EEE Alumni Mentorship Programme (E3AMP)
Session expired. Please login again.
Thank you for confirming your email. Please proceed to login.
Thank you for confirming your email. Please proceed to login.
Your email address has been unsubscribed