Файл шаблона: contacts/index

debug Debug

Array
(
    [REDIRECT_UNIQUE_ID] => YsZeJn8isVVW8smWleLHoQAAAAM
    [REDIRECT_PERL5LIB] => /usr/share/awstats/lib:/usr/share/awstats/plugins
    [REDIRECT_HTTPS] => on
    [REDIRECT_SSL_TLS_SNI] => abrasive.kz
    [REDIRECT_STATUS] => 200
    [UNIQUE_ID] => YsZeJn8isVVW8smWleLHoQAAAAM
    [PERL5LIB] => /usr/share/awstats/lib:/usr/share/awstats/plugins
    [HTTPS] => on
    [SSL_TLS_SNI] => abrasive.kz
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_IF_MODIFIED_SINCE] => Tue, 25 Jan 2022 19:58:03 GMT
    [HTTP_ACCEPT_ENCODING] => br,gzip
    [HTTP_HOST] => abrasive.kz
    [HTTP_CONNECTION] => Keep-Alive
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_fcgid/2.3.9 PHP/7.4.22
    [SERVER_NAME] => abrasive.kz
    [SERVER_ADDR] => 185.234.114.7
    [SERVER_PORT] => 443
    [REMOTE_ADDR] => 3.236.107.249
    [DOCUMENT_ROOT] => /var/www/www-root/data/www/abrasive.kz/abrasive.kz
    [REQUEST_SCHEME] => https
    [CONTEXT_PREFIX] => 
    [CONTEXT_DOCUMENT_ROOT] => /var/www/www-root/data/www/abrasive.kz/abrasive.kz
    [SERVER_ADMIN] => webmaster@abrasive.kz
    [SCRIPT_FILENAME] => /var/www/www-root/data/www/abrasive.kz/abrasive.kz/index.php
    [REMOTE_PORT] => 36500
    [REDIRECT_URL] => /contacts
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /contacts
    [SCRIPT_NAME] => /index.php
    [PHP_SELF] => /index.php
    [REQUEST_TIME_FLOAT] => 1657167398.5395
    [REQUEST_TIME] => 1657167398
)
contacts->index()
OK: SELECT * FROM categories WHERE parent_id = 0 LIMIT 7 OFFSET 0
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive.kz/app/model/carts.php Строка : 149
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive.kz/app/model/wishlist.php Строка : 97
OK: 
                select * from user_auth a
                    left join users u on a.user_id = u.user_id
                where a.auth_token = ''
            
OK: 
                select * from user_auth a
                    left join users u on a.user_id = u.user_id
                where a.auth_token = ''
            
OK: SELECT * FROM categories WHERE category_status = 1
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive.kz/app/model/categories.php Строка : 296
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive.kz/app/model/categories.php Строка : 476
Error PHP!
WARNING: Invalid argument supplied for foreach() Файл : /var/www/www-root/data/www/abrasive.kz/app/model/categories.php Строка : 566