Welcome to Geeklog, Anonymous Wednesday, November 13 2024 @ 10:26 pm EST
Geeklog Forums
Parse Error...
Parse Error
Anonymous
Parse error: parse error, unexpected T_STRING in /home/t3chb0y/public_html/aw26/config.php on line 86
whats wrong with my config file?
whats wrong with my config file?
7
7
Quote
Status: offline
vadertech
Forum User
Full Member
Registered: 05/26/03
Posts: 329
Parse Errors
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
5
6
Quote
geek
Anonymous
ok, so i'm seeing
i've looked & i cant see any problems, and its been going on for days. ive not edited anything that far down in the script!
Parse error: parse error, unexpected ',' in /home/geek/public_html/config.php on line 592
i've looked & i cant see any problems, and its been going on for days. ive not edited anything that far down in the script!
10
10
Quote
Status: offline
vadertech
Forum User
Full Member
Registered: 05/26/03
Posts: 329
So did you fix the error on line 86?
If you don't have a good text editor, I would suggest downloading textpad. You can go into options and set it to show line numbers. Then you can easily find the line giving the error and check it.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
If you don't have a good text editor, I would suggest downloading textpad. You can go into options and set it to show line numbers. Then you can easily find the line giving the error and check it.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
5
4
Quote
geek
Anonymous
I've got line 592 - the bolded line:
[b]'threaded', 'nested', 'nocomments' and 'flat'[/b]
but I have no idea what the error is!
Text Formatted Code
$_CONF['comment_mode'] = 'threaded'; // Default Comment Mode; from [b]'threaded', 'nested', 'nocomments' and 'flat'[/b]
but I have no idea what the error is!
6
7
Quote
geek
Anonymous
Okay, so... since presumably this code is the same for everyone, what SHOULD line 592 be?
5
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
590: $_CONF['comment_limit'] = 100; // Default Number of Comments under Story591: $_CONF['comment_mode'] = 'threaded'; // Default Comment Mode; from 'threaded','nested','nocomments',and 'flat'
592: // Allow / disallow comments to stories by default (can be changed individually for every story)
593: $_CONF['comment_code'] = 0; // 0 = comments enabled, -1 = disabled
(for Geeklog 1.3.11sr2)
bye, Dirk
6
7
Quote
geek
Anonymous
Thanks! I think I've sorted that, now I'm getting this:
Warning: main(/home/geek/public_html/config.php/system/classes/timer.class.php): failed to open stream: Not a directory in /home/geek/public_html/lib-common.php on line 159
Fatal error: main(): Failed opening required '/home/geek/public_html/config.php/system/classes/timer.class.php' (include_path='/home/geek/public_html/config.php/system/pear/:.:/usr/lib/php:/usr/local/lib/php') in /home/geek/public_html/lib-common.php on line 159
Warning: main(/home/geek/public_html/config.php/system/classes/timer.class.php): failed to open stream: Not a directory in /home/geek/public_html/lib-common.php on line 159
Fatal error: main(): Failed opening required '/home/geek/public_html/config.php/system/classes/timer.class.php' (include_path='/home/geek/public_html/config.php/system/pear/:.:/usr/lib/php:/usr/local/lib/php') in /home/geek/public_html/lib-common.php on line 159
5
8
Quote
All times are EST. The time is now 10:26 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