Advertisement:

Author Topic: Sytnax error  (Read 972 times)

Offline dndperas

  • Semi-Newbie
  • *
  • Posts: 21
Sytnax error
« on: May 13, 2018, 07:25:19 AM »
Hello guys, i was uploading a new theme then when i refreshed my site i found  syntax error, unexpected '2018' (T_LNUMBER), expecting ',' or ';'
this is my site: Huntergamers.ml
 i wanna a solution as soon as possible please ~!!

Offline d3vcho(void)

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 2,909
  • Gender: Male
    • frandominguez03 on GitHub
    • @_d3vcho on Twitter
Re: Sytnax error
« Reply #1 on: May 13, 2018, 07:47:01 AM »
You'd need to attach the file that shows the syntax error so we can help you.
"Demons are like obedient dogs; they come when they're called"

d3vcho(void)

Offline dndperas

  • Semi-Newbie
  • *
  • Posts: 21
Re: Sytnax error
« Reply #2 on: May 13, 2018, 10:12:21 AM »
which file ?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,461
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Sytnax error
« Reply #3 on: May 13, 2018, 11:23:09 AM »
The error message generally says the file.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline d3vcho(void)

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 2,909
  • Gender: Male
    • frandominguez03 on GitHub
    • @_d3vcho on Twitter
Re: Sytnax error
« Reply #4 on: May 13, 2018, 11:27:49 AM »
It looks like it doesn't by entering the URL he provided. Given that we have no way to know which file is causing the error. Do you have a backup of your forum?
"Demons are like obedient dogs; they come when they're called"

d3vcho(void)

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,833
Re: Sytnax error
« Reply #5 on: May 13, 2018, 12:56:49 PM »
the server error log may state more information about the error.

Offline dndperas

  • Semi-Newbie
  • *
  • Posts: 21
Re: Sytnax error
« Reply #6 on: May 13, 2018, 03:16:52 PM »
i dont have backup.. i was just uploading a new theme then this message happend

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,386
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Sytnax error
« Reply #7 on: May 13, 2018, 03:17:32 PM »
How did you upload the new theme?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 8,245
  • 'Tis the gift to be simple (duh)
Re: Sytnax error
« Reply #8 on: May 13, 2018, 05:54:50 PM »
Reset to default theme in your database.  Use phpmyadmin, look in smf_settings, find theme_default, set it to '1'.  (That's in 2.0, believe it's the same in 1.1, or it'll be something similar.)