Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2015, 09:30 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error on new vBul install...

Hello all,

I just bought vBulletin and downloaded the newest version of 4. On my server, I've set up a database, edited the config file properly, uploaded the files, and when I try step 5 of the install instructions and point my browser to http://www.example.com/install/install.php (and of course insert the correct web address) I get the following error:

Parse error: syntax error, unexpected T_FUNCTION in /home1/ransclan/public_html/zenithowner/zoforum/includes/functions.php on line 5313

I'm not sure where to look or what to do. Can someone smarter than me help me fix this?

Thank you!!
Reply With Quote
  #2  
Old 10-18-2015, 09:36 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what PHP and MySQL version?

also google is your friend
Reply With Quote
  #3  
Old 10-18-2015, 10:02 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP 5.2.17 and MySQL 5.5.42-37.1-log

Thanks I will try Googling the error and see if it helps. The problem for me usually is that if Google has a fix, where is line 5313??

--------------- Added [DATE]1445213186[/DATE] at [TIME]1445213186[/TIME] ---------------

Ok from what I see in Google, I need to use PHP version 5.3

So, if I change my PHP version at the server to 5.3, will my two other vBulletin forums still work? Or will I have compatibility issues with switching from 5.2 to 5.3

It appears I'm already in over my head!
Reply With Quote
  #4  
Old 10-18-2015, 10:48 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just take your time and you should be okay

So this post from Lynne (Of the vB3 series, only 3.8.8 will work with PHP5.4. None of the 3.x series has been verified as working with PHP5.5. )

I don't know if vb3 will work with php 5.3, I'd go with 5.4.
It was from March of 2014, so I'm sure any newer version of the 3.x series would work as well. I think there is a 3.8.9
Reply With Quote
Благодарность от:
RichieBoy67
  #5  
Old 10-18-2015, 11:07 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Brandon-I've updated the PHP and luckily my other two vBul forums still work!

Now, when I do the same step 5 as above, I get this message...



Setting up the new database was a simple task so I'm not sure why it doesn't have access.

Working on that....

Thanks for getting me this far tho!!

--------------- Added [DATE]1445217172[/DATE] at [TIME]1445217172[/TIME] ---------------

AH! Don't mind me! I found that I never assigned the user (me) to the database. This is so frustrating but it feels so good when you work all day at something and then you figure it out! LOL

As of now, I think it's working!!
Reply With Quote
Благодарность от:
Brandon Sheley
  #6  
Old 10-19-2015, 08:28 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s10sakota View Post
Thanks Brandon-I've updated the PHP and luckily my other two vBul forums still work!

Now, when I do the same step 5 as above, I get this message...



Setting up the new database was a simple task so I'm not sure why it doesn't have access.

Working on that....

Thanks for getting me this far tho!!

--------------- Added [DATE]1445217172[/DATE] at [TIME]1445217172[/TIME] ---------------

AH! Don't mind me! I found that I never assigned the user (me) to the database. This is so frustrating but it feels so good when you work all day at something and then you figure it out! LOL

As of now, I think it's working!!
check your db userid and password .. maybe by mistake you have type wrong username or password there
Reply With Quote
  #7  
Old 10-20-2015, 09:37 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure the user actually has permissions to use the database.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03830 seconds
  • Memory Usage 2,228KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (2)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete