主辦單位:中華文化交流協會 new8spots@ccea.org.mo


Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_DEPRECATED)
__autoload() is deprecated, use spl_autoload_register() instead Whoops\Exception\ErrorException thrown with message "__autoload() is deprecated, use spl_autoload_register() instead" Stacktrace: #3 Whoops\Exception\ErrorException in /home/new8sport/public_html/assets/php/PHPMailer/PHPMailerAutoload.php:45 #2 Whoops\Run:handleError in /home/new8sport/public_html/page_detail.php:2 #1 require in /home/new8sport/public_html/page_detail.php:2 #0 require_once in /home/new8sport/public_html/index.php:113
Stack frames (4)
3
Whoops
\
Exception
\
ErrorException
/
home
/
new8sport
/
public_html
/
assets
/
php
/
PHPMailer
/
PHPMailerAutoload.php
45
2
Whoops
\
Run
handleError
/
home
/
new8sport
/
public_html
/
page_detail.php
2
1
require
/
home
/
new8sport
/
public_html
/
page_detail.php
2
0
require_once
/
home
/
new8sport
/
public_html
/
index.php
113
/
home
/
new8sport
/
public_html
/
assets
/
php
/
PHPMailer
/
PHPMailerAutoload.php
    //Can't use __DIR__ as it's only in PHP 5.3+
    $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
    if (is_readable($filename)) {
        require $filename;
    }
}
 
if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
    //SPL autoloading was introduced in PHP 5.1.2
    if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
        spl_autoload_register('PHPMailerAutoload', true, true);
    } else {
        spl_autoload_register('PHPMailerAutoload');
    }
} else {
    /**
     * Fall back to traditional autoload for old PHP versions
     * @param string $classname The name of the class to load
     */
    function __autoload($classname)
    {
        PHPMailerAutoload($classname);
    }
}
 
/
home
/
new8sport
/
public_html
/
page_detail.php
<?php 
require 'assets/php/PHPMailer/PHPMailerAutoload.php';
$mail = new PHPMailer();
 
 
                       
$str=strpos($_SERVER['HTTP_USER_AGENT'],'MicroMessenger');
  
?>
 
<style>
.divider::before, .divider::after{
        border-top: 1px solid #2db7b3 !important;
    }
    .modal{
        top:0px;
    }
</style>
 
    <?php     $vote_success = 0;    $vote_completed = 0;
    if (Auth::check()){
        $myuserid = Auth::user()->id;
            $getusers = Sdba::table('users');
            $getusers->where('id', $myuserid);  
              $total_getusers = $getusers->total();
            $getusers_list = $getusers->get();
 
     }        
    ?>
 <?php  
                        $cube_stores_page = Sdba::table('cube_stores_page');
                          $cube_stores_page->where('id', $_GET['id'] ); 
                       
                          $total_cube_stores_page = $cube_stores_page->total();
                          $cube_stores_page_list = $cube_stores_page->get();
                          
                          if ($total_cube_stores_page == 0){
                      ?>
<script>
window.location = '?page=pages';
/
home
/
new8sport
/
public_html
/
page_detail.php
<?php 
require 'assets/php/PHPMailer/PHPMailerAutoload.php';
$mail = new PHPMailer();
 
 
                       
$str=strpos($_SERVER['HTTP_USER_AGENT'],'MicroMessenger');
  
?>
 
<style>
.divider::before, .divider::after{
        border-top: 1px solid #2db7b3 !important;
    }
    .modal{
        top:0px;
    }
</style>
 
    <?php     $vote_success = 0;    $vote_completed = 0;
    if (Auth::check()){
        $myuserid = Auth::user()->id;
            $getusers = Sdba::table('users');
            $getusers->where('id', $myuserid);  
              $total_getusers = $getusers->total();
            $getusers_list = $getusers->get();
 
     }        
    ?>
 <?php  
                        $cube_stores_page = Sdba::table('cube_stores_page');
                          $cube_stores_page->where('id', $_GET['id'] ); 
                       
                          $total_cube_stores_page = $cube_stores_page->total();
                          $cube_stores_page_list = $cube_stores_page->get();
                          
                          if ($total_cube_stores_page == 0){
                      ?>
<script>
window.location = '?page=pages';
/
home
/
new8sport
/
public_html
/
index.php
        //break;
        
        case 'wechat':
            require_once('wechat.php');
        break;
        
        case 'logo':
            require_once('logo.php');
        break;
        
        case 'contact':
            require_once('contact.php');
        break;
        
        //case 'event_detail':
        //    require_once('event_detail.php');
        //break;
        
        case 'page_detail':
            require_once('page_detail.php');
        break;
         
 
        
        default:
            echo 'Page not found.';
        break;
    }
    ?>
 
<?php 
include("footer.php"); 
 ?>

Environment & details:

Key Value
page page_detail
id 13
empty
empty
empty
Key Value
_token 1b6f3b17e079db2b046b3bb5b44a0580
getnowpage /spots_detail/13
lang mo
clang
Key Value
USER new8sport
HOME /home/new8sport
SCRIPT_NAME /index.php
REQUEST_URI /spots_detail/13
QUERY_STRING page=page_detail&id=13
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING page=page_detail&id=13
REDIRECT_URL /spots_detail/13
REMOTE_PORT 39052
SCRIPT_FILENAME /home/new8sport/public_html/index.php
SERVER_ADMIN webmaster@new8spots.org.mo
CONTEXT_DOCUMENT_ROOT /home/new8sport/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/new8sport/public_html
REMOTE_ADDR 3.237.67.179
SERVER_PORT 443
SERVER_ADDR 172.31.39.193
SERVER_NAME www.new8spots.org.mo
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_X_HTTPS 1
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.new8spots.org.mo
HTTP_ACCEPT_ENCODING br,gzip
HTTP_IF_MODIFIED_SINCE Mon, 28 Sep 2020 17:59:00 GMT
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
proxy-nokeepalive 1
SSL_TLS_SNI www.new8spots.org.mo
HTTPS on
SCRIPT_URI https://www.new8spots.org.mo/spots_detail/13
SCRIPT_URL /spots_detail/13
UNIQUE_ID X725VjKuW168sR2ncnX3@AAAAA8
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI www.new8spots.org.mo
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.new8spots.org.mo/spots_detail/13
REDIRECT_SCRIPT_URL /spots_detail/13
REDIRECT_UNIQUE_ID X725VjKuW168sR2ncnX3@AAAAA8
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1606269270.3863
REQUEST_TIME 1606269270
argv Array ( [0] => page=page_detail&id=13 )
argc 1
empty
0. Whoops\Handler\PrettyPageHandler