Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:27 pm EST
Geeklog Forums
Install problem
Will someone please help!!!!
Page 1:
Hint: The complete path to this file is /home/content/l/i/b/libby86/html/geeklog/public_html/admin/install/install.php
and it appears your Path to Geeklog is /home/content/l/i/b/libby86/html/geeklog
My path is: mydomain.com/geeklog/public_htm/admin/install/install.php
config.php being in the geeklog directory
Page 2:
Parse error: parse error, unexpected T_STRING in /home/content/l/i/b/libby86/html/geeklog/config.php on line 362
Line 362:
$_CONF['site_enabled'] = true; // true or false
:banghead: :banghead: :banghead: :banghead:
Thanks to all who help this Newbie
Page 1:
Hint: The complete path to this file is /home/content/l/i/b/libby86/html/geeklog/public_html/admin/install/install.php
and it appears your Path to Geeklog is /home/content/l/i/b/libby86/html/geeklog
My path is: mydomain.com/geeklog/public_htm/admin/install/install.php
config.php being in the geeklog directory
Page 2:
Parse error: parse error, unexpected T_STRING in /home/content/l/i/b/libby86/html/geeklog/config.php on line 362
Line 362:
$_CONF['site_enabled'] = true; // true or false
:banghead: :banghead: :banghead: :banghead:
Thanks to all who help this Newbie
10
11
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Parse error: parse error, unexpected T_STRING in /home/content/l/i/b/libby86/html/geeklog/config.php on line 362
This usually means there is a missing quote mark or parenthesis or bracket or something on a previous line. If you are comfortable with code, comment out a few lines above 362 to find the line causing the error. If not, reply to this with 10 or so lines of your config.php just before line 362.
10
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
rob62
Anonymous
Thanks for responding.
Quote by: jmucchiello
This usually means there is a missing quote mark or parenthesis or bracket or something on a previous line. If you are comfortable with code, comment out a few lines above 362 to find the line causing the error. If not, reply to this with 10 or so lines of your config.php just before line 362.
I do not know the code but do know about paths and syntax errors. Eariler I found a syntax error which got me to Page 1.
Here is the code you asked for:
// Please note that this does not work when safe_mode is on!
//
// For more information, see this discussion on geeklog.net:
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT
// Bob ADDED THE SCRIPT BELOW FROM THE ABOVE FORUM.
// IF IT DON'T WORK, TRY '/GMT-4
require_once('/path/to/config.php';
if ( !empty($_CONF['timezone'])
&& !ini_get("safe_mode") {
putenv("TZ=".$_CONF['timezone']='US/MICHIGAN);
}
// +---------------------------------------------------------------------------+
// | SITE STATUS |
// | |
// | To disable your Geeklog site quickly, simply set this flag to false |
// +---------------------------------------------------------------------------+
$_CONF['site_enabled'] = true; // true or false
Quote by: jmucchiello
Parse error: parse error, unexpected T_STRING in /home/content/l/i/b/libby86/html/geeklog/config.php on line 362
This usually means there is a missing quote mark or parenthesis or bracket or something on a previous line. If you are comfortable with code, comment out a few lines above 362 to find the line causing the error. If not, reply to this with 10 or so lines of your config.php just before line 362.
I do not know the code but do know about paths and syntax errors. Eariler I found a syntax error which got me to Page 1.
Here is the code you asked for:
// Please note that this does not work when safe_mode is on!
//
// For more information, see this discussion on geeklog.net:
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT
// Bob ADDED THE SCRIPT BELOW FROM THE ABOVE FORUM.
// IF IT DON'T WORK, TRY '/GMT-4
require_once('/path/to/config.php';
if ( !empty($_CONF['timezone'])
&& !ini_get("safe_mode") {
putenv("TZ=".$_CONF['timezone']='US/MICHIGAN);
}
// +---------------------------------------------------------------------------+
// | SITE STATUS |
// | |
// | To disable your Geeklog site quickly, simply set this flag to false |
// +---------------------------------------------------------------------------+
$_CONF['site_enabled'] = true; // true or false
11
9
Quote
rob62
Anonymous
Thanks for responding.
I did this and found one error which got me to Page 1. I do not know the language yet.
Quote by: Dirk
I did this and found one error which got me to Page 1. I do not know the language yet.
9
8
Quote
Dat
Anonymous
require_once('/path/to/config.php';
[/p]
Change the require once code.
Text Formatted Code
require_once('/home/content/l/i/b/libby86/html/geeklog/config.php');
10
10
Quote
rob62
Anonymous
Quote by: Dat
require_once('/path/to/config.php';
require_once('/path/to/config.php';
Change the require once code.
Text Formatted Code
require_once('/home/content/l/i/b/libby86/html/geeklog/config.php');I tried many variations of the path and they all gave the exact same error message on page one. :banghead: :banghead: :banghead: :banghead: :banghead:
7
9
Quote
rob62
Anonymous
Update:
I rem the time zone out and still get the same message on page 1.
I rem the time zone out and still get the same message on page 1.
11
8
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Is that require_once in your config.php? That is completely wrong. How'd it get there?
You might want to extract a clean config.php from an archive and start over with it because there should be no require_once statements in the config.php.
You might want to extract a clean config.php from an archive and start over with it because there should be no require_once statements in the config.php.
11
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As Joe said: Remove that require_once and that timezone code from your config.php - it doesn't belong there.
Get your site working first, then you can start worrying about the timezone.
bye, Dirk
Get your site working first, then you can start worrying about the timezone.
bye, Dirk
11
9
Quote
All times are EST. The time is now 09:27 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