Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:51 pm EST

Geeklog Forums

static page error... Parse error: parse error, unexpected '}' in


luke

Anonymous
hey

when i try to access my static pages i get an error message


Parse error: parse error, unexpected '}' in home/www/site/dir/public_html/staticpages/index.php on line 116

the static page works on my index page

anyideas cheers luke
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try re-uploading a fresh copy of the staticpages/index.php file.

bye, Dirk
 Quote

luke

Anonymous
i've created a few new pages and they seem to save okay they just can't be viewed, i get the same error message. i don't know what else to try really anyideas? i've checked the database and they seem to be fine there.

thanks for your time

luke
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Viewing the pages happens in a different place than creating them. That's why I suggested you upload the script that's displaying them again - see above ...

bye, Dirk
 Quote

luke

Anonymous
sorry i was a bit slow on the up take, i've uploaded a new copy of the index.php file and now have a new error

1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array' at line 1. SQL in question: Array

i havent done anything to the database and i can still edit/ create new pages.

any ideas

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sounds like you mixed something up.

Make sure to upload the staticpages/index.php (not the main index.php). And pick the file from the exact same version of Geeklog that your site is running on.

bye, Dirk
 Quote

All times are EST. The time is now 11:51 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content