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: 172
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 Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
you have one too many
}


open close remove one



}

on line 1574
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: 172
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
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
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 20:04. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.