View Full Version : Parse error: parse error, unexpected ',' in...
Killer_Charge
09-18-2005, 07:15 PM
Parse error: parse error, unexpected ',' in /home/*******/public_html/forums/includes/init.php on line 616
anyone help please?
here is the code for the whole thing, anyone see wat i have done wrong?
*** Licensed vBulletin Code removed ***
Marco van Herwaarden
09-18-2005, 07:28 PM
Change the comma on line 616 to a semi-colon.
PS No posting of vB files, see your license agreement and our rules.
Killer_Charge
09-19-2005, 07:11 AM
Hey m8, um thanks m8, sry for posting the whole code, vry stupid of me, forgot i wasnt allowed to do that, it wont happen again, and thanks, i will look at the comma on line 616 and change it to a semi-colon,
THANKS FOR HELP M8 YOU RULE!
Killer Charge
************************************************** ************************************************** ****************
i sorted that out, now it says: Parse error: parse error, unexpected ':' in /home/*******/public_html/forums/includes/init.php on line 619
lol help me please???
Killer_Charge
************************************************** ************************************************** ****************
Boofo
09-19-2005, 07:33 AM
Semi-colon not colon. ;)
Change this
:
to this
;
Killer_Charge
09-19-2005, 07:42 AM
i have, but it still says it, go to www.gamerz-network.com
it keeps saying Parse error: parse error, unexpected ':' in /home/gamerzn/public_html/forums/includes/init.php on line 619
Um, i am not using dreamweaver at the mo, as the pc i am using doesnt have it, so could that be why i isnt finding the correct line?
Thanks
Killer_Charge
um, any ideas?
Marco van Herwaarden
09-19-2005, 09:21 AM
Sorry my mistake. It should be a colon and not a semi-colon.
Killer_Charge
09-19-2005, 09:37 AM
whitch is? sry i dont know
Marco van Herwaarden
09-19-2005, 10:32 AM
Colon = :
Semi-colon = ;
Killer_Charge
09-19-2005, 12:30 PM
lol, um can you help again please? lol i need help, i take out the { on line 619 and it says an unexpected t_value or summit, and i out it back in an it says unexpected "{"
on line 619
please help!
killer_charge
Marco van Herwaarden
09-19-2005, 04:27 PM
Sorry i have no clue, i didn't keep your code.
Please post 20 lines before and after 619.
Killer_Charge
09-19-2005, 05:06 PM
ok m8, here it is: break;
// Wol Spider information
case 'wol_spiders':
{
$datastore['wol_spiders'] = unserialize($storeitem['data']);
}
break;
// smiliecache information
case 'smiliecache':
{
$smiliecache = unserialize($storeitem['data']);
}
break;
case// ## <ucs>
'stylecache',
'utt_store_act'
// ## </ucs>
:
{
$stylechoosercache = unserialize($storeitem['data']);
}
break;
// stuff the data into the $datastore array
default:
{
$datastore["$storeitem[title]"] = $storeitem['data'];
}
break;
}
}
// Fatal Error
if (!$optionsfound)
{
require_once('./includes/adminfunctions.php');
require_once('./includes/functions.php');
$vboptions = build_options();
hope you can help me, this is realy annoying me!
lol thanks m8
killer_charge
Brandon Sheley
09-19-2005, 06:12 PM
i've ran intl the same problem b4, there is a , missing.. or at least i added one it all is good
try this
'stylecache',
'utt_store_act', see the last , try adding and take the : off... this is something i ahd to alter when i added a shotbox or arcade, i don't remmeber what one
Marco van Herwaarden
09-19-2005, 06:22 PM
Like i said, put a colon on the end of that line instead of the comma.
'stylecache',
'utt_store_act'
// ## </ucs>
:
Change to:
'stylecache':
'utt_store_act':
// ## </ucs>
Killer_Charge
09-19-2005, 06:51 PM
dont wry! lol thanks all, lol um i didnt take off the : off after the
'stylecache':
'utt_store_act':
// ## </ucs>
thanks all!
killer_charge
:banana: :D :D :D :D :D :D :D :D :D :D :D :D :D :banana:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.