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
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
7
10
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
7
8
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
7
8
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
7
8
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