Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parse error: syntax error, unexpected '-', expecting '}
#1
Hello.. For a past week, My site has been suffering on the magic_quotes error. having characters messed up with \\\\\\\\..
after my host turned off the magic_quotes, it gives error like this

Parse error: syntax error, unexpected '-', expecting '}' in /home/pinoywar/public_html/global.php(501) : eval()'d code on line 6

I have tried reuploading my global.php file, but still gives me the error.. I have also observe, whenever I access admincp , It ask several times on my username and password everytime I click a link.
Reply
#2
For the login problem: http://community.mybb.com/thread-74904.html

Line 501 of global.php has no code on it so I don't know why yours has an extra line in it, but you'll probably have an error in your header template from the \\\, you'll need to revert it to default.
MyBB Support Team Lead
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Fix QuickBooks Error Code 12029? melodanderson51 1 1,201 05-09-2019, 03:32 AM
Last Post: Aida01
  myBB Forum Permission Cache Error - Crippling My Forum CruciasNZ 1 1,058 04-24-2013, 12:11 AM
Last Post: Kevin Cheri
  Mybb problems and error, need help :) Crystal 15 4,706 09-26-2011, 03:42 AM
Last Post: Crystal
  Awards plugin ERROR Crystal 3 1,311 09-24-2011, 06:54 AM
Last Post: Crystal
  mybb SQL Error Xzotic 4 1,355 06-01-2011, 07:57 AM
Last Post: Xzotic

Forum Jump:


Users browsing this thread: 1 Guest(s)