Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:57 am EST
Geeklog Forums
Newbie help!
Status: offline
sjstill
Forum User
Newbie
Registered: 12/10/05
Posts: 8
Good afternoon! Brand new to Geeklog here and have the following parse error from a static page
Parse error: parse error, unexpected '/' in /home/cpsc445/public_html/staticpages/index.php on line 112.
The code in question is as follows:
if ($_CONF['hideprintericon'] == 0) {
$retval .= ' ';
}
Thanks a lot,
sjs
Parse error: parse error, unexpected '/' in /home/cpsc445/public_html/staticpages/index.php on line 112.
The code in question is as follows:
if ($_CONF['hideprintericon'] == 0) {
$retval .= ' ';
}
Thanks a lot,
sjs
11
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In case you haven't noticed by now: Geeklog removes some HTML from your posts. If you want to post HTML or PHP code, use the [ CODE ] button in the forum's editor.
Having said that: Try what vadertech suggested. Line 112 is a pretty long line - it may have been corrupted when you uploaded the file the first time around.
bye, Dirk
Having said that: Try what vadertech suggested. Line 112 is a pretty long line - it may have been corrupted when you uploaded the file the first time around.
bye, Dirk
13
11
Quote
Status: offline
sjstill
Forum User
Newbie
Registered: 12/10/05
Posts: 8
Sorry about that, guys. The line I'm trying to fix looks like this:
$retval.='<a href="'./construction.htm/staticpages/index.php?page.$page. '&. mode = print.'"><img src ="'.$CONF['layout_url'] .'/images/print.gif'" alt="'.$LANG01[65]."'title="'.$LANG_STATIC['printable_format']."'border="0"></a>';
$retval.='<a href="'./construction.htm/staticpages/index.php?page.$page. '&. mode = print.'"><img src ="'.$CONF['layout_url'] .'/images/print.gif'" alt="'.$LANG01[65]."'title="'.$LANG_STATIC['printable_format']."'border="0"></a>';
11
8
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
ouch
30
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by sjstill: The line I'm trying to fix looks like this:
Why are you even editing this file? You only have to change your paths in config.php (and make that one change in lib-common.php) and Geeklog will pick up everything from there automatically.
bye, Dirk
7
11
Quote
sjstill
Anonymous
Dirk,
Thanks for the help, but I'm really stupid here on Geeklog. I have spent one entire afternoon looking through files trying to complete a school project before Sunday night and not getting anywhere. Can you point to where in those files to look? Please and thank you.
sjs
Thanks for the help, but I'm really stupid here on Geeklog. I have spent one entire afternoon looking through files trying to complete a school project before Sunday night and not getting anywhere. Can you point to where in those files to look? Please and thank you.
sjs
10
9
Quote
sjstill
Anonymous
Vadertech,
Thanks,
sjs
Thanks,
sjs
11
7
Quote
All times are EST. The time is now 05:57 am.
- 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