Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near ";" LINE 1: SELECT * FROM "clinic_pets" WHERE "fk_owner_id" = ;; ^ in /var/www/lifelearn_master/code/includes/database.inc.php on line 48

DATABASE: llclinic_121

QUERY: SELECT * FROM "clinic_pets" WHERE "fk_owner_id" = ;;

QUERY FAILED! PRINTING BACKTRACE :

<?php
 
= array (
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/logic/clinics/Pets.inc.php',
    
'line' => 56,
    
'function' => 'queryDB',
    
'class' => 'database',
    
'object' => 
    
Pets::__set_state(array(
       
'Pet' => NULL,
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'Pets',
      ),
       
'SPECIFER_COUNT' => 1,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> 'SELECT * FROM "clinic_pets" WHERE "fk_owner_id" = ;',
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/views/page/SpecialContentUnitsView.inc.php',
    
'line' => 89,
    
'function' => 'getPets',
    
'class' => 'Pets',
    
'object' => 
    
Pets::__set_state(array(
       
'Pet' => NULL,
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'Pets',
      ),
       
'SPECIFER_COUNT' => 1,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> NULL,
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/views/page/SpecialContentUnitsView.inc.php',
    
'line' => 37,
    
'function' => 'view48',
    
'class' => 'SpecialContentUnitsView',
    
'object' => 
    
SpecialContentUnitsView::__set_state(array(
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'SpecialContentUnitsView',
      ),
       
'SPECIFER_COUNT' => 1,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
       
'title' => '',
    )),
    
'type' => '->',
    
'args' => 
    array (
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/views/page/pageform.inc.php',
    
'line' => 774,
    
'function' => 'generateView',
    
'class' => 'SpecialContentUnitsView',
    
'object' => 
    
SpecialContentUnitsView::__set_state(array(
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'SpecialContentUnitsView',
      ),
       
'SPECIFER_COUNT' => 1,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
       
'title' => '',
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> '48',
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/views/page/pageform.inc.php',
    
'line' => 22,
    
'function' => 'add_body',
    
'class' => 'PageForm',
    
'object' => 
    
PageForm::__set_state(array(
       
'expandMetaTags' => true,
       
'site_title' => NULL,
       
'theme_name' => NULL,
       
'page_header' => './resources/themes/1991/page_header.html',
       
'page_footer' => './resources/themes/1991/page_footer.html',
       
'css' => NULL,
       
'page_body' => NULL,
       
'page_title' => NULL,
       
'javascript' => NULL,
       
'javascript_code' => NULL,
       
'html_header' => NULL,
       
'page_menu' => NULL,
       
'menu_array' => NULL,
       
'cachepage' => 1,
       
'tmenuarr' => 
      array (
        
=> 52,
        
=> 115,
        
=> 125,
        
=> 83,
        
=> 95,
        
=> 87,
        
=> 50,
        
=> 50,
        
=> 85,
      ),
       
'tmenu113' => 
      array (
        
=> 50,
        
=> 121,
        
=> 134,
        
=> 85,
        
=> 102,
        
=> 90,
        
=> 43,
        
=> 48,
        
=> 88,
      ),
       
'tmenu111' => 
      array (
        
=> 55,
        
=> 115,
        
=> 125,
        
=> 78,
        
=> 95,
        
=> 87,
        
=> 45,
        
=> 50,
        
=> 83,
      ),
       
'tmenu112' => 
      array (
        
=> 55,
        
=> 120,
        
=> 131,
        
=> 87,
        
=> 102,
        
=> 90,
        
=> 45,
        
=> 50,
        
=> 88,
      ),
       
'tmenu213' => 
      array (
        
=> 52,
        
=> 115,
        
=> 125,
        
=> 82,
        
=> 98,
        
=> 87,
        
=> 48,
        
=> 50,
        
=> 85,
      ),
       
'tmenu211' => 
      array (
        
=> 50,
        
=> 97,
        
=> 110,
        
=> 68,
        
=> 82,
        
=> 75,
        
=> 42,
        
=> 45,
        
=> 73,
      ),
       
'tmenu212' => 
      array (
        
=> 52,
        
=> 107,
        
=> 117,
        
=> 77,
        
=> 92,
        
=> 82,
        
=> 42,
        
=> 49,
        
=> 80,
      ),
       
'seoStatus' => NULL,
       
'globalKeywords' => NULL,
       
'globalDesc' => NULL,
       
'pageKeywords' => NULL,
       
'pageDesc' => NULL,
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'pageview',
        
=> 'PageForm',
      ),
       
'SPECIFER_COUNT' => 2,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
       
'page_cmsheader' => './resources/themes/backendclinics/page_cmsheader.html',
       
'page_cmsfooter' => './resources/themes/backendclinics/page_cmsfooter.html',
       
'page_mainmenu' => './resources/themes/1991/page_menu.html',
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> 
      array (
        
'id' => '306',
        
'title' => 'Appointment Request Form',
        
'sponsorid' => NULL,
        
'iconid' => NULL,
        
'content' => 
        array (
          
=> 
          array (
            
'id' => '216',
            
'subtitle' => '',
            
'text' => '<p>This form should only be used for requesting appointments that will take place at least 2 full business days after the time of the submission of this form. <FONT color=red>If you have an emergency, please call our practice directly at: 555-5555 Or after hours call: 555-5555 </FONT><BR></p>',
            
'type' => 'para',
            
'media_id1' => NULL,
            
'media_id2' => NULL,
            
'backtotop' => NULL,
            
'caption1' => NULL,
            
'caption2' => NULL,
          ),
        ),
        
'site_pid' => '8',
        
'siteid' => '48',
        
'children' => NULL,
        
'bcrumbs' => 
        array (
          
=> 
          array (
            
'id' => '8',
            
'title' => 'Contact Us',
          ),
        ),
        
'uid' => '1',
        
'lastupdated' => '2004-10-23 19:40:08.164104',
        
'deleted_datetime' => NULL,
        
'createddate' => '2004-10-23 19:40:08.164104',
        
'template' => NULL,
        
'template_children' => NULL,
        
'no_edit' => NULL,
        
'no_delete' => NULL,
        
'feature' => NULL,
        
'published' => 1,
        
'branch_order' => '10',
        
'page_permission' => '0',
        
'edit_access' => '99',
        
'delete_access' => '10000',
        
'publish_access' => '99',
        
'private_access' => '10000',
        
'subpage_access' => '10000',
        
'template_access' => '10000',
        
'special_page' => '1',
        
'gallery_access' => NULL,
        
'siblingArray' => 
        array (
          
=> 
          array (
            
=> '128',
            
'siteid' => '128',
            
=> 'Contact Information',
            
'title' => 'Contact Information',
          ),
          
=> 
          array (
            
=> '197',
            
'siteid' => '197',
            
=> 'Emergency Process',
            
'title' => 'Emergency Process',
          ),
          
=> 
          array (
            
=> '45',
            
'siteid' => '45',
            
=> 'New Client Registration Form',
            
'title' => 'New Client Registration Form',
          ),
          
=> 
          array (
            
=> '73',
            
'siteid' => '73',
            
=> 'Change Profile',
            
'title' => 'Change Profile',
          ),
          
=> 
          array (
            
=> '72',
            
'siteid' => '72',
            
=> 'Pet Registration',
            
'title' => 'Pet Registration',
          ),
          
=> 
          array (
            
=> '47',
            
'siteid' => '47',
            
=> 'Prescription Refill and Food Order Request Form',
            
'title' => 'Prescription Refill and Food Order Request Form',
          ),
          
=> 
          array (
            
=> '48',
            
'siteid' => '48',
            
=> 'Appointment Request Form',
            
'title' => 'Appointment Request Form',
          ),
        ),
        
'pagelinkArray' => NULL,
        
'medialinkArray' => NULL,
        
'specialview' => 
        array (
          
'flag' => false,
          
'string' => '',
        ),
        
'specialviewtitle' => '',
        
'sponsorinfo' => NULL,
      ),
      
=> 0,
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/code/controllers/view.inc.php',
    
'line' => 1217,
    
'function' => 'PageForm',
    
'class' => 'PageForm',
    
'object' => 
    
PageForm::__set_state(array(
       
'expandMetaTags' => true,
       
'site_title' => NULL,
       
'theme_name' => NULL,
       
'page_header' => './resources/themes/1991/page_header.html',
       
'page_footer' => './resources/themes/1991/page_footer.html',
       
'css' => NULL,
       
'page_body' => NULL,
       
'page_title' => NULL,
       
'javascript' => NULL,
       
'javascript_code' => NULL,
       
'html_header' => NULL,
       
'page_menu' => NULL,
       
'menu_array' => NULL,
       
'cachepage' => 1,
       
'tmenuarr' => 
      array (
        
=> 52,
        
=> 115,
        
=> 125,
        
=> 83,
        
=> 95,
        
=> 87,
        
=> 50,
        
=> 50,
        
=> 85,
      ),
       
'tmenu113' => 
      array (
        
=> 50,
        
=> 121,
        
=> 134,
        
=> 85,
        
=> 102,
        
=> 90,
        
=> 43,
        
=> 48,
        
=> 88,
      ),
       
'tmenu111' => 
      array (
        
=> 55,
        
=> 115,
        
=> 125,
        
=> 78,
        
=> 95,
        
=> 87,
        
=> 45,
        
=> 50,
        
=> 83,
      ),
       
'tmenu112' => 
      array (
        
=> 55,
        
=> 120,
        
=> 131,
        
=> 87,
        
=> 102,
        
=> 90,
        
=> 45,
        
=> 50,
        
=> 88,
      ),
       
'tmenu213' => 
      array (
        
=> 52,
        
=> 115,
        
=> 125,
        
=> 82,
        
=> 98,
        
=> 87,
        
=> 48,
        
=> 50,
        
=> 85,
      ),
       
'tmenu211' => 
      array (
        
=> 50,
        
=> 97,
        
=> 110,
        
=> 68,
        
=> 82,
        
=> 75,
        
=> 42,
        
=> 45,
        
=> 73,
      ),
       
'tmenu212' => 
      array (
        
=> 52,
        
=> 107,
        
=> 117,
        
=> 77,
        
=> 92,
        
=> 82,
        
=> 42,
        
=> 49,
        
=> 80,
      ),
       
'seoStatus' => NULL,
       
'globalKeywords' => NULL,
       
'globalDesc' => NULL,
       
'pageKeywords' => NULL,
       
'pageDesc' => NULL,
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'pageview',
        
=> 'PageForm',
      ),
       
'SPECIFER_COUNT' => 2,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
       
'page_cmsheader' => './resources/themes/backendclinics/page_cmsheader.html',
       
'page_cmsfooter' => './resources/themes/backendclinics/page_cmsfooter.html',
       
'page_mainmenu' => './resources/themes/1991/page_menu.html',
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> 
      array (
        
'id' => '306',
        
'title' => 'Appointment Request Form',
        
'sponsorid' => NULL,
        
'iconid' => NULL,
        
'content' => 
        array (
          
=> 
          array (
            
'id' => '216',
            
'subtitle' => '',
            
'text' => '<p>This form should only be used for requesting appointments that will take place at least 2 full business days after the time of the submission of this form. <FONT color=red>If you have an emergency, please call our practice directly at: 555-5555 Or after hours call: 555-5555 </FONT><BR></p>',
            
'type' => 'para',
            
'media_id1' => NULL,
            
'media_id2' => NULL,
            
'backtotop' => NULL,
            
'caption1' => NULL,
            
'caption2' => NULL,
          ),
        ),
        
'site_pid' => '8',
        
'siteid' => '48',
        
'children' => NULL,
        
'bcrumbs' => 
        array (
          
=> 
          array (
            
'id' => '8',
            
'title' => 'Contact Us',
          ),
        ),
        
'uid' => '1',
        
'lastupdated' => '2004-10-23 19:40:08.164104',
        
'deleted_datetime' => NULL,
        
'createddate' => '2004-10-23 19:40:08.164104',
        
'template' => NULL,
        
'template_children' => NULL,
        
'no_edit' => NULL,
        
'no_delete' => NULL,
        
'feature' => NULL,
        
'published' => 1,
        
'branch_order' => '10',
        
'page_permission' => '0',
        
'edit_access' => '99',
        
'delete_access' => '10000',
        
'publish_access' => '99',
        
'private_access' => '10000',
        
'subpage_access' => '10000',
        
'template_access' => '10000',
        
'special_page' => '1',
        
'gallery_access' => NULL,
        
'siblingArray' => 
        array (
          
=> 
          array (
            
=> '128',
            
'siteid' => '128',
            
=> 'Contact Information',
            
'title' => 'Contact Information',
          ),
          
=> 
          array (
            
=> '197',
            
'siteid' => '197',
            
=> 'Emergency Process',
            
'title' => 'Emergency Process',
          ),
          
=> 
          array (
            
=> '45',
            
'siteid' => '45',
            
=> 'New Client Registration Form',
            
'title' => 'New Client Registration Form',
          ),
          
=> 
          array (
            
=> '73',
            
'siteid' => '73',
            
=> 'Change Profile',
            
'title' => 'Change Profile',
          ),
          
=> 
          array (
            
=> '72',
            
'siteid' => '72',
            
=> 'Pet Registration',
            
'title' => 'Pet Registration',
          ),
          
=> 
          array (
            
=> '47',
            
'siteid' => '47',
            
=> 'Prescription Refill and Food Order Request Form',
            
'title' => 'Prescription Refill and Food Order Request Form',
          ),
          
=> 
          array (
            
=> '48',
            
'siteid' => '48',
            
=> 'Appointment Request Form',
            
'title' => 'Appointment Request Form',
          ),
        ),
        
'pagelinkArray' => NULL,
        
'medialinkArray' => NULL,
        
'specialview' => 
        array (
          
'flag' => false,
          
'string' => '',
        ),
        
'specialviewtitle' => '',
        
'sponsorinfo' => NULL,
      ),
      
=> 0,
    ),
  ),
  
=> 
  array (
    
'file' => '/var/www/lifelearn_master/clinics/llclinic_121/index.php',
    
'line' => 43,
    
'function' => 'handle_view',
    
'class' => 'view',
    
'object' => 
    
view::__set_state(array(
       
'views' => NULL,
       
'DEFAULT_OUTPUT' => 
      array (
        
'get' => 
        array (
          
'view' => 'webLogin',
        ),
      ),
       
'management_menu' => NULL,
       
'NonSecureMode' => false,
       
'ERROR_SPECIFIER' => 
      array (
        
=> 'View',
      ),
       
'SPECIFER_COUNT' => 1,
       
'HALT_ON_ERROR' => 0,
       
'SEND_NOTICE_TO_MAIL' => false,
       
'SEND_NOTICE_TO_SCREEN' => true,
       
'SEND_NOTICE_TO_FILE' => false,
       
'MAIL_RECIPENTS' => 
      array (
        
=> 'admin@giantgoat.yi.org',
      ),
       
'FILE_LOG' => '/var/www/logs/errorlog.txt',
       
'ERROR_STATUS' => false,
       
'ERROR_STRING' => 'ERROR:<br>There was an error processing your request.<br>Please see the notes below for more information and contatct your system administrator for additional help.<br><br>',
       
'link' => NULL,
       
'NOACCESS_OUTPUT' => 
      array (
        
'get' => 
        array (
          
'view' => 'userAccessdenied',
        ),
      ),
       
'view' => 
      array (
        
=> 'pageView',
      ),
    )),
    
'type' => '->',
    
'args' => 
    array (
      
=> 
      array (
        
'view' => 'pageView',
        
'pageid' => '48',
      ),
      
=> 
      array (
      ),
      
=> 0,
    ),
  ),
);
?>


Warning: Invalid argument supplied for foreach() in /var/www/lifelearn_master/code/views/page/appointmentRequestForm.inc.php on line 32

Warning: Invalid argument supplied for foreach() in /var/www/lifelearn_master/code/views/page/appointmentForm.inc.php on line 128
Town & Country Animal Hospital

HomeContact UsAppointment Request Form
 Printable Version   

Appointment Request Form

This form should only be used for requesting appointments that will take place at least 2 full business days after the time of the submission of this form. If you have an emergency, please call our practice directly at: 555-5555 Or after hours call: 555-5555

Pet Information
List of pets
Appointment Information
IMPORTANT: Appointments are not confirmed until you receive notification.
A staff member will contact you by phone or e-mail. Please indicate how you would like your appointment to be confirmed below:
E-Mail
Home Phone
Day-Time Phone
Mobile Phone
Other, please specify:
Preferred Date: 05 Sep, 2010  
Preferred Time:
If available, do you have a preference for whom you wish to see?
Other Information / Requests:
5208 Stouffville Rd.
Stouffville, Ontario
L4A 7X5

Ph: 905-640-4107
Fx: 905-640-6913

Our Doctors are on call 24/7 for our clients' emergencies.