vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Parse error: syntax error (https://vborg.vbsupport.ru/showthread.php?t=270102)

davit1979 09-11-2011 11:16 PM

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.

HMBeaty 09-11-2011 11:20 PM

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

Boofo 09-11-2011 11:24 PM

You might want to remove that file from the first post.

PAKIDIL 09-12-2011 12:16 AM

Quote:

Originally Posted by davit1979 (Post 2244711)
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 .

davit1979 09-12-2011 01:36 AM

Quote:

Originally Posted by HMBeaty (Post 2244712)
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 (Post 2244719)
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???

kh99 09-12-2011 02:17 AM

Quote:

Originally Posted by davit1979 (Post 2244735)
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.

Boofo 09-12-2011 02:37 AM

If you are on a Unix server, you can upload in ASCII or Binary.

davit1979 09-12-2011 04:02 AM

Quote:

Originally Posted by kh99 (Post 2244744)
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 (Post 2244749)
If you are on a Unix server, you can upload in ASCII or Binary.

Got it thank you!


All times are GMT. The time now is 10:14 AM.

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.01145 seconds
  • Memory Usage 1,730KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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