vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   Parse error: parse error, unexpected ',' in... (https://vborg.vbsupport.ru/showthread.php?t=96516)

Killer_Charge 09-18-2005 07:15 PM

Parse error: parse error, unexpected ',' in...
 
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:
Quote:

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
Quote:

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:
PHP Code:

                    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

PHP Code:

'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.

PHP Code:

            'stylecache'
            
'utt_store_act' 
// ## </ucs> 


Change to:
PHP Code:

            '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
PHP Code:

 'stylecache'
            
'utt_store_act'
// ## </ucs> 

thanks all!
killer_charge

:banana: :D :D :D :D :D :D :D :D :D :D :D :D :D :banana:


All times are GMT. The time now is 08:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete