Welcome to Geeklog, Anonymous Thursday, November 06 2025 @ 07:36 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
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
14
17
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
thanks for your time
luke
12
14
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
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
12
16
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
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
14
13
Quote
All times are EST. The time is now 07:36 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