News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Error trying to access my forum ....

Started by Fossil Rock, April 05, 2007, 03:37:53 PM

Previous topic - Next topic

Fossil Rock

When I try to open my forum on the web I get this error:

"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/home2/********/public_html/forum/Sources/Subs.php on line 280"

This is line 280: $pos1 = strpos($db_string, '\'', $pos + 1);

Any ideas what it could be ?

I'm still searching the forums .... thanks

xenovanis

Did you attempt to install a mod or make a modification? Try uploading a fresh /Sources/Subs.php, you can grab one from the upgradepackage for the version of SMF you're using.
"Insanity: doing the same thing over and over again and expecting different results."

Fossil Rock

That did the trick ... but cause a different error, so I uploaded the entire /Sources/ directory and it works now.. thanks.

MostTimeOnline

I've got the same problem. SMF 1.1.7
I'll try to upload new /Sources dir...
Most Time Online

Advertisement: