I'm still new with Drupal and I upgraded drom Drupal 6 to Drupal 7 yesterday; the upgrading process went well without any error report, but I got a WSOD in every page, so I enabled the error display and I got this error in the index.php.
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\raqaba.co.uk\index.php on line 21
Can you tell me please what is the cause of this error, and how to fix it?
This is the code in the index.php.
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE)
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All Drupal code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt.
*/
/**
* Root directory of Drupal installation.
*/
define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
menu_execute_active_handler();
This is the error log I got from Apache.
[Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function phptemplate_get_ie_styles() in C:\wamp\www\raqaba.co.uk\sites\all\themes\garland\page.tpl.php on line 11 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP Stack trace: [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 1. {main}() C:\wamp\www\raqaba.co.uk\index.php:0 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 2. menu_execute_active_handler() C:\wamp\www\raqaba.co.uk\index.php:25 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 3. drupal_deliver_page() C:\wamp\www\raqaba.co.uk\includes\menu.inc:532 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 4. drupal_deliver_html_page() C:\wamp\www\raqaba.co.uk\includes\common.inc:2563 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 5. drupal_render_page() C:\wamp\www\raqaba.co.uk\includes\common.inc:2675 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 6. drupal_render() C:\wamp\www\raqaba.co.uk\includes\common.inc:5726 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 7. theme() C:\wamp\www\raqaba.co.uk\includes\common.inc:5864 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 8. theme_render_template() C:\wamp\www\raqaba.co.uk\includes\theme.inc:1201 [Sat Nov 02 09:41:02 2013] [error] [client 127.0.0.1] PHP 9. include() C:\wamp\www\raqaba.co.uk\includes\theme.inc:1517