testing out the new tabs.module ...
somehow gives T_STRING error

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/sites/all/modules/tabs/tabs.module on line 18

on blanks screen to the site (therefore deleting module was only way out of the error and site back)

Comments

ica’s picture

Status: Active » Needs review

right, i've spotted that there is a missing typo on the current code that is

line 17 the ' closure for the module title
change

'title' => 'Tabs,

to

'title' => 'Tabs',

it works with typo corrected

Macronomicus’s picture

Same prob here --That one little typo rendered my whole site invisible! lol .. Thanks for info! ^_^

ica’s picture

okay.. good to see someone else duplicated and confirmed the typo error and correction works

nedjo’s picture

Status: Needs review » Fixed

This is now fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

BkThompson’s picture

Title: Parse error: syntax error, unexpected T_STRING, expecting ')' in » Parse error: syntax error, unexpected T_STRING, expecting ')' in 17

$db_connection = mysql_connect($db_host,$db_username, $db_password) or
echo "Connected to MySQL
";
mysql_select_db("thebu30_Music") or die(mysql_error());
echo "Connected to Database";
?>