Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 04:38 pm EST

Geeklog Forums

Intall in subdomain?


Sanne

Anonymous
Hello,

I have tried to install both versions of geeklog...
I can't get either to work...

with 1.40 I get this:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tatsujin.nl/geek/public_html/lib-common.php on line 4666

with 1.32 I can only acces: http://geek3.tatsujin.nl/public_html/index.php
all other files are not recognized.

It this due to the subdomain?
My config.php looks like this:

// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+

$_DB_host = '*'; // host name or IP address of your DB server
$_DB_name = '*'; // name of your database,
// must exist before running the installer!
$_DB_user = '*'; // MySQL user name
$_DB_pass = '*'; // MySQL password

// The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'


// +---------------------------------------------------------------------------+
// | (2) Paths |
// +---------------------------------------------------------------------------+

// Note for Windows users: It's safe to use the forward slash '/' instead of
// the backslash '' in paths. Make sure each path starts with a drive letter!

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/tatsujin.nl/geek3/'; // should end in a slash

// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';


// +---------------------------------------------------------------------------+
// | (3) Site Settings |
// +---------------------------------------------------------------------------+

// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url'] = 'http://geek3.tatsujin.nl';

// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';

// This is the return address for all email sent by Geeklog:
$_CONF['site_mail'] = 'admin@tatsujin.nl';

// Name and slogan of your site
$_CONF['site_name'] = 'Webaholics.....';
$_CONF['site_slogan'] = 'Another Nifty Geeklog Site';

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
For the parse error, see the documentation: http://www.geeklog.net/docs/install.html#corrupted

Also, what do you mean when you say that you can only access index.php? What happens exactly? And what does all this have to do with subdomains (as in the title of this forum post)?

Please describe your problems in more detail.

bye, Dirk
 Quote

Status: offline

newblogger

Forum User
Regular Poster
Registered: 08/22/04
Posts: 107
Location:Virginia Beach
I have geeklog installed in a subdomain with no problems.
see here -> http://forum.dcmotoring.com

from what i read i'm guessing its either a dns or IIS/web server issue

let me know what the actually problem is and we can try to help

just looking at it again
your site is actually here
http://geek3.tatsujin.nl/public_html/

just change your web servers default directory to the location of public_html and you will be good, some of your images are not showing so you have some paths configured incorrectly
Got Hot wheels? http://www.dcmotoring.com
 Quote

brainfreeze

Anonymous
I know it is in my public_html directory but every link after that won't work.
I cannot change the default of my webserver... there is a shop in the root :S:S

I reinstalled it again... just in case and if I go to geek.tatsujin.nl I just see a list of items in this directory. The redirection to the config file doesn't work. I have edited it with wordpad but no result. I have copied it into notepad, saved it as txt and uploaded it to the directory. There I changed the extension to php but also no result.

I upload via the webbrouwser in windows XP. I also tried it with WS FTP and also no result.

I did decompress with winzip 9.0... I cannot install another version of this comp (admin won't allow it)...

Does anybody have a downloadable version that is decompressed the correct way?






 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by brainfreeze: Does anybody have a downloadable version that is decompressed the correct way?

It's correct the way it is - it's just in the wrong place. The contents of public_html should be in the directory where config.php is now and everything else (including config.php) should be one directory level higher.

And if you can't install it like that, see Installing Geeklog entirely within the web root

bye, Dirk
 Quote

Brainfreeze

Anonymous
giggly
Hello Dirk,

I got it running with the root install procudure...
At the final I found out the problem in the first install Rolling Eyes

>>
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/tatsujin.nl/geek3/'; // should end in a slash

// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';

In the last sentece I should have removed "$_CONF['path'] . " and just typed the correct path...

Thanks for your support

Sanne

 Quote

All times are EST. The time is now 04:38 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