Parse error: syntax error, unexpected T_STRING in /home/fhlinux161/a/username/user/htdocs/modules/smartcache/load.php on line 135

Hope this can be easily sorted

CommentFileSizeAuthor
#1 load.php_.txt4.48 KBgremlinc5

Comments

gremlinc5’s picture

StatusFileSize
new4.48 KB

Mmmmm...

Did you already checked ' and " terminators you used on script settings? Usually the error is about incorrectly placed ' and ".

If that's not the case, line 135 is:

if (file_exists($cached_file) && $mtime < filemtime($cached_file)) {
...

Maybe a parenthesys issue?

if ((file_exists($cached_file)) && ($mtime < filemtime($cached_file))) {
...

is better. I could not replicate your error, so maybe I'm wrong.

Could you please check if it's working now?

hooperman’s picture

I downloaded the load txt file and edited it in notepad and it is grand.my version of dreamweaver may have altered the original php page when editing
Thank you for your patience with me
By the way my site is flying now

Cool

gremlinc5’s picture

Status: Active » Fixed

Spread the world ;)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.