Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 14th October 2019, 18:47
elvira's Avatar
elvira elvira is offline
Senior Member
 
Join Date: Jan 2008
Slovenia
Posts: 131
Default VPS Hosting
need little help, on localhost source works normally then move to vps server I get this error in fuctions


Parse error: syntax error, unexpected '}' in /home/admin/web/xxxxxxx.net/public_html/include/functions.php on line 1574

what can be wrong on my server
Reply With Quote
  #2  
Old 14th October 2019, 22:14
Napon's Avatar
Napon Napon is offline
Senior Member
 
Join Date: Feb 2016
P2P
Posts: 431
Default
you have one too many
}


open close remove one



}

on line 1574
__________________
https://uploadfiles.io/lgekz
Reply With Quote
  #3  
Old 14th October 2019, 23:21
elvira's Avatar
elvira elvira is offline
Senior Member
 
Join Date: Jan 2008
Slovenia
Posts: 131
Default
then get



Parse error: syntax error, unexpected end of file in
Reply With Quote
  #4  
Old 15th October 2019, 09:39
fireknight's Avatar
fireknight fireknight is offline
VIP

 
Join Date: Aug 2010
Australia
Posts: 159
Default
As Napon tried to explain you will have one to many open or close braces.
You will need to search through the file to find and remove the extra one.


Use your php editor to search all open braces first and take note of how many.
Then use it to search all close braces and take a note of how many.


This will let you know which one has to many.
And you know which one you are looking for.


By the way - which source are you using ?

Last edited by fireknight; 15th October 2019 at 10:27.
Reply With Quote
Reply

Thread Tools

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 +2. The time now is 10:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2019, vBulletin Solutions Inc.