Author Topic: Parse error: parse error, unexpected $ in /home/bamarger/public_html/gallery/adm  (Read 5464 times)

0 Members and 1 Guest are viewing this topic.

Offline bamargera

  • Pre-Newbie
  • Posts: 2
    • View Profile
Parse error: parse error, unexpected $ in /home/bamarger/public_html/gallery/admin/admin_functions.php on line 204 when I go to http://www.bamargera.net/gallery/admin

What's going on and how do I fix that? I have looked and searched for it so if you couple please point me in the right direction on where to fix it, I will be forever greatful, thank you.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
make sure you upload .php files in TEXT mode not BINARY
and to fix that, I guess reupload admin_functions.php should work.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
This error means that an ending bracket is missing. Make sure, after commenting a statement (such as if, for, foreach ect ...) to put your ending bracket. This will definitely get rid of the error. ;)