Exception:  Class "Smarty" not found in /domain/datapages/include.php on line 74
Stack trace:
  1. {main}() /domain/datapages/contact.php:0
  2. include() /domain/datapages/contact.php:2

Code:
  /domain/datapages/include.php:74
    71. 
    72.  global $smarty;
    73.  require_once
'/usr/local/lib/php/Smarty/Smarty.class.php';
    74. 
$smarty = new Smarty();
    75.  $smarty->template_dir = array('.smarty/templates', 'uilib/SmartyTemplates');
    76. 
$smarty->compile_dir = '.smarty/templates_c';
    77. 
$smarty->cache_dir = '.smarty/cache';
    78. 
$smarty->config_dir = '.smarty/configs';
    79. 
$smarty->setCacheLifetime(300);
    80. 
    81. 
$smarty->registerPlugin('modifier', 'date', 'date', true);

  /domain/datapages/contact.php:2
    1. 

<?php
    2. 
include 'include.php';
    3. 
    4.  $smarty->assign('pageTitle', 'Contact Us');
    5. 
    6.  include
'uilib/Contact/ContactPage.class.php';
    7. 
$page = new ContactPage($smarty, $login, $mem);
    8. 
$page->contactEmail = 'support@datapages.com.au';
    9. 
$page->blockCountries = array();
    10. 
//$page->tickets = true;
    11. 
$page->process();

  /domain/datapages/contact.php:1
    1. 
<?php
    2.  include 'include.php';
    3. 
    4. 
$smarty->assign('pageTitle', 'Contact Us');
    5. 
    6.  include
'uilib/Contact/ContactPage.class.php';
    7. 
$page = new ContactPage($smarty, $login, $mem);
    8. 
$page->contactEmail = 'support@datapages.com.au';
    9. 
$page->blockCountries = array();
    10. 
//$page->tickets = true;
    11. 
$page->process();


Variables:
$_SERVER
  "USER" => "nobody"
  "HOME" => "/home/nobody"
  "HTTP_X_FORWARDED_PROTO" => "https"
  "HTTP_X_FORWARDED_FOR" => "2600:1f28:365:80b0:6254:d19a:12c4:4b"
  "HTTP_IF_MODIFIED_SINCE" => "Sun, 12 Apr 2026 20:26:40 GMT"
  "HTTP_CONNECTION" => "keep-alive"
  "HTTP_CF_WARP_TAG_ID" => "f5996c4f-bb5c-4c3b-b9f8-846f196c510b"
  "HTTP_CF_VISITOR" => "{"scheme":"https"}"
  "HTTP_CF_TIMEZONE" => "America/New_York"
  "HTTP_CF_REGION_CODE" => "VA"
  "HTTP_CF_REGION" => "Virginia"
  "HTTP_CF_RAY" => "a2db27b6dd02f36e-IAD"
  "HTTP_CF_POSTAL_CODE" => "20147"
  "HTTP_CF_METRO_CODE" => "511"
  "HTTP_CF_IPLONGITUDE" => "-77.48749"
  "HTTP_CF_IPLATITUDE" => "39.04372"
  "HTTP_CF_IPCOUNTRY" => "US"
  "HTTP_CF_IPCONTINENT" => "NA"
  "HTTP_CF_IPCITY" => "Ashburn"
  "HTTP_CF_CONNECTING_IP" => "2600:1f28:365:80b0:6254:d19a:12c4:4b"
  "HTTP_CDN_LOOP" => "cloudflare; loops=1"
  "HTTP_ACCEPT_LANGUAGE" => "en-US,en;q=0.5"
  "HTTP_ACCEPT_ENCODING" => "gzip, br"
  "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/)"
  "HTTP_HOST" => "www.datapages.com.au"
  "REDIRECT_STATUS" => "200"
  "SERVER_NAME" => "www.datapages.com.au"
  "SERVER_PORT" => "8000"
  "SERVER_ADDR" => "127.0.0.1"
  "REMOTE_PORT" => ""
  "REMOTE_ADDR" => "2600:1f28:365:80b0:6254:d19a:12c4:4b"
  "SERVER_SOFTWARE" => "nginx/1.30.4"
  "GATEWAY_INTERFACE" => "CGI/1.1"
  "SERVER_PROTOCOL" => "HTTP/1.1"
  "DOCUMENT_ROOT" => "/domain/datapages"
  "DOCUMENT_URI" => "/contact.php"
  "REQUEST_URI" => "/contact/"
  "SCRIPT_NAME" => "/contact.php"
  "CONTENT_LENGTH" => ""
  "CONTENT_TYPE" => ""
  "REQUEST_METHOD" => "GET"
  "QUERY_STRING" => ""
  "SCRIPT_FILENAME" => "/domain/datapages/contact.php"
  "FCGI_ROLE" => "RESPONDER"
  "PHP_SELF" => "/contact.php"
  "REQUEST_TIME_FLOAT" => "1787163447.415"
  "REQUEST_TIME" => "1787163447"
  "hostname" => "desk.dcs.io"
  "ErrorHandler-UUID" => "7c5a-b5fe"
  "REQUEST_FULL_URI" => "http://www.datapages.com.au/contact/"