Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:59 am EDT

Geeklog Forums

installed half way


Fr. Robert

Anonymous
I am trying to install Geeklog and the site is sort of installed

At the end of the install I believe the install is trying to go to the index.php file (I believe because I get a 404 error)
If I try to load the the site http://example.com I get a directory listing

If I go to the public_html directory and load index.php the site does come up (sort of) No skins and no graphics.
If I try to login I get a 404 error

Things I noticed when I unpacked the filesl the admin directory was located in the public_html directory but the insturctions show it being on the same level as public_html. I left the files the way they were unpacked.

The index fle is also in the public_html directory

Any help would be appriciated

Thanks

Fr. Robert
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hmmm is it correct to say that you see public_html in your directory listing of http://example.com ?

Ifso, did you moved the different folders to their correct location or just untarred/unzipped the file and went from there ?

Boris
Vanrillaer.com - our Family Portal
 Quote

Fr. Robert

Anonymous
I i just unzipped the files and ftp them to the server and left the structure as they came.

set my permissins and edited config.php and lib-common.php

and ran the install

Yes I can see public_html in the directory listing
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
You might want to start with going through the /public_html/doc/install.html and read it through


The 404 is cause because you defined as URL http://yoursite.xxx however since you uploaded everything to your root web directory your site is currently at http://yoursite.xxx/public_html

I suggest you read first through the docs, and then give it anoter shot.

Basicly geeklog has two directory structures. One outside the public_html tree and the other inside the root of your public_html tree.

What OS / Package are you using ?

Boris
Vanrillaer.com - our Family Portal
 Quote

Fr. Robert

Anonymous
The server is running Apache
and php 4.3

I figured I had nothing to lose and I started moving files. I moved the php files in html_public to the root and admin to the root and the site lets me login and the links I tried so far work. I still have no grarphics or style sheets.


Thanks Fr. Robert
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Okie,

I dunno what kind of setup you have but I presume it is a shared config and not a dedicated server.

So if you can´t have certain directories like the core geeklog diretory outside of your public available directory do the following for your understanding on windows.

Extract everything again to a new directory.

This looks like C:/MyGeekLogSite (using wrong slashes for ease of use)

So you now have

C:/MyGeeklogSite

with following subdirectories

.
..
backups
config.php
data
emailgeeklogstories
INSTALL
language
logs
plugins
public_html
readme
sql
system

now make sure you copy all files and subdirectories from public_html to your C:/MyGeeklogSite


So select public_html CTRL+A CTRL+C and go to C:/MyGeeklogSite and CTRL+V

Now delete public_html

Now your directory looks like:
404.php
admin
article.php
backend
backups
calendar.php
calendar_event.php
comment.php
config.php
data
docs
emailgeeklogstories
getimage.php
help
images
index.php
INSTALL
language
layout
lib-common.php
library.js
links.php
logs
plugins
pollbooth.php
portal.php
profiles.php
readme
search.php
sql
staticpages
stats.php
submit.php
system
users.php
usersettings.php

This it how it will look in your setup.

Now make sure lib-common.php and config.php point to the correct directory / url and you should be set.

Greetz,
Boris
Vanrillaer.com - our Family Portal
 Quote

Fr Robert

Anonymous
I got it to work but I'm not sure

First

the directory layout had to reside in two directories

the "root" and public_html

if it was not in public_html the site errored out
if it is not in the root the site had no graphics

So I copied to both locations

The other questoion is

where are
/backend/
images/articles
/images/userphotos
suposed to reside

the "root" or public_html?

In other words which directores go in public_html?

Anybody no why I have to have layout in two spots?

Thanks

Fr. Robert
 Quote

Status: offline

tstockma

Forum User
Full Member
Registered: 07/22/03
Posts: 169
You have two directories because one is to contain the files Apache needs to execute directly to serve the pages. The other directory has a few critical files...config.php for instance...that you do not want outsiders to access via Apache, or your site will be hacked. The php scripts under public_html can execute the stuff in this other directory, but outsiders can't directly see it.

The directories you're asking about, backend, images, etc, all do live under the public_html directory. Anything you uncompress that shows up under public_html needs to stay there. And public_html might not be named that on your server, it might be www, htdocs, or some other name.

See the following link,, it's really critical for you to understand what the directories look like. Plan on reviewing this for a few hours while you set up your site.

Graphical Instructions

Good luck!
Tom
www.southparkcity.com
 Quote

Status: offline

frrobert

Forum User
Newbie
Registered: 02/04/05
Posts: 2
Tom,
Thank you
It sunk in. I did the instal againl and it worked great. I didn't understand the public_html equaled my domain and that the other folders went on the same level as the domain.

Thanks again,

Fr. Robert
Thanks,

Fr. Robert
 Quote

All times are EDT. The time is now 10:59 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