Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 09-11-2011, 11:16 PM
davit1979 davit1979 is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Parse error: syntax error

Hello,
I am getting a weird error when trying to access PMs. Started yesterday, I haven't repplaced any files or really haven't done anything new.


Parse error: syntax error, unexpected $end in /home/thespeed/public_html/private.php on line 2138

I included the private.php file in question and was wondering if anyone would be kind enough to tell me what to do.
I am rather new to php errors so not sure what to do.
Thank you in advance!


edit: private.php file removed. The file is copyrighted and you do not have permission to share it. Please see our Site Rules regarding this.
Reply With Quote
  #2  
Old 09-11-2011, 11:20 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to reupload private.php as the file is incomplete. While you're at it, you may want to reupload all default vBulletin files to be sure
Reply With Quote
  #3  
Old 09-11-2011, 11:24 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might want to remove that file from the first post.
Reply With Quote
  #4  
Old 09-12-2011, 12:16 AM
PAKIDIL PAKIDIL is offline
 
Join Date: Jan 2007
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davit1979 View Post
Hello,
I am getting a weird error when trying to access PMs. Started yesterday, I haven't repplaced any files or really haven't done anything new.


Parse error: syntax error, unexpected $end in /home/thespeed/public_html/private.php on line 2138

I included the private.php file in question and was wondering if anyone would be kind enough to tell me what to do.
I am rather new to php errors so not sure what to do.
Thank you in advance!
re upload the file with ASCII mode .
Reply With Quote
  #5  
Old 09-12-2011, 01:36 AM
davit1979 davit1979 is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
You need to reupload private.php as the file is incomplete. While you're at it, you may want to reupload all default vBulletin files to be sure
Quote:
Originally Posted by PAKIDIL View Post
re upload the file with ASCII mode .
Stupid question, do I just download the vbulletin version I have and then select private.php file and reupload it?
Should I just do a Vb4 upgrade from 3.8.7 I am on now??? Will that fix the issue?
Also how do I upload in ascII mode???
Reply With Quote
  #6  
Old 09-12-2011, 02:17 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davit1979 View Post
Stupid question, do I just download the vbulletin version I have and then select private.php file and reupload it?
Yes, that should work.


Quote:
Should I just do a Vb4 upgrade from 3.8.7 I am on now??? Will that fix the issue?
It should fix the issue, but I wouldn't do that unless you're sure you want to deal with upgrading. If you have any mods or custom styles it can take time and effort to convert them.


Quote:
Also how do I upload in ascII mode???
Your ftp program should have a way to select the transfer mode. But I think normally they automatically select the correct mode.
Reply With Quote
  #7  
Old 09-12-2011, 02:37 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are on a Unix server, you can upload in ASCII or Binary.
Reply With Quote
  #8  
Old 09-12-2011, 04:02 AM
davit1979 davit1979 is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Yes, that should work.
It should fix the issue, but I wouldn't do that unless you're sure you want to deal with upgrading. If you have any mods or custom styles it can take time and effort to convert them.
Your ftp program should have a way to select the transfer mode. But I think normally they automatically select the correct mode.
Yeah... well did the upgrade, pm issues fixed, my vbulletin skin and vbadvanced doesn't work, such a freakin headache. Should have stayed with 3.8.7, damned thing worked just fine.

Quote:
Originally Posted by Boofo View Post
If you are on a Unix server, you can upload in ASCII or Binary.
Got it thank you!
Reply With Quote
Reply

Thread Tools
Display Modes

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 02: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.03971 seconds
  • Memory Usage 2,227KB
  • 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
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete