mstratmann Posted May 29, 2012 Share Posted May 29, 2012 I am having problems finding the error in this code can someone please help me? <?php class osC_Info_About_us extends osC_Template { /* Private variables */ var $_module = 'about_us', $_group = 'info', $_page_title, $_page_contents = 'about_us.php', $_page_image = 'table_background_about_us.gif'; /* Class constructor */ function osC_Info_about_us() { global $osC_Services, $osC_Language, $breadcrumb; $this->_page_title = $osC_Language->get('info_about_us_heading'); if ($osC_Services->isStarted('breadcrumb')) { $breadcrumb->add($osC_Language->get('breadcrumb_about_us'), osc_href_link(FILENAME_INFO, $this->_module)); } } } ?> Quote Link to comment https://forums.phpfreaks.com/topic/263304-parse-error/ Share on other sites More sharing options...
Pikachu2000 Posted May 29, 2012 Share Posted May 29, 2012 What is the error you're getting? Quote Link to comment https://forums.phpfreaks.com/topic/263304-parse-error/#findComment-1349412 Share on other sites More sharing options...
mstratmann Posted May 29, 2012 Author Share Posted May 29, 2012 Sorry Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/carolina/public_html/templates/glass_gray/content/info/about_us.php on line 23 Quote Link to comment https://forums.phpfreaks.com/topic/263304-parse-error/#findComment-1349413 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.