Welcome to Geeklog, Anonymous Wednesday, December 04 2024 @ 04:22 am EST
Geeklog Forums
What entries to edit with this problem
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Hello again People,
I have installed my geeklog and it is working but trying to put it on th internet has been impossible. http://www.feyiola.com I do have connection to the internet through DSL and I get to any site okay.
My config.php file shows the right path to my directories, but the site url seems to be the problem. I have the site url as localhost and with that, I see everything clearly on my webserver because I have my Public_html folder inside htdocs. Trying to change site url from localhost to www.feyiola.com gives me the broken links on my site. which is exactly what you get when you go to the site with the www.feyiola.com
So I see the site the way it should be seen on my webserver, but you will see it as a messed up site on the internet and since all my links are pointing to my localhost and as such, takes you to page not found.
I have Gallery installed and in my house, I see all my albums and the stories perfectly well.
Is there anything that I need to change somewhere else? I am at my wits end...
Is there anyone running my exact type system that can tell me what is wrong... I have windows 2000 Advanced Server with Active Directory, Apache 2.0.47, PHP 4.3.2, Mysql 4.0.13 Geeklog 1.3.8pl1 and Gallery 1.4
Please help I am really desperate...
Sincerely
Ola
I have installed my geeklog and it is working but trying to put it on th internet has been impossible. http://www.feyiola.com I do have connection to the internet through DSL and I get to any site okay.
My config.php file shows the right path to my directories, but the site url seems to be the problem. I have the site url as localhost and with that, I see everything clearly on my webserver because I have my Public_html folder inside htdocs. Trying to change site url from localhost to www.feyiola.com gives me the broken links on my site. which is exactly what you get when you go to the site with the www.feyiola.com
So I see the site the way it should be seen on my webserver, but you will see it as a messed up site on the internet and since all my links are pointing to my localhost and as such, takes you to page not found.
I have Gallery installed and in my house, I see all my albums and the stories perfectly well.
Is there anything that I need to change somewhere else? I am at my wits end...
Is there anyone running my exact type system that can tell me what is wrong... I have windows 2000 Advanced Server with Active Directory, Apache 2.0.47, PHP 4.3.2, Mysql 4.0.13 Geeklog 1.3.8pl1 and Gallery 1.4
Please help I am really desperate...
Sincerely
Ola
8
11
Quote
Status: offline
TechSys
Forum User
Regular Poster
Registered: 12/02/03
Posts: 90
Edit your httpd.conf file and look for ServerName and set it to either your internet ip address or www.feyiola.com, save it and see what happens.
I, for some reason, don't have anything set as localhost. I can't remember my exact conf file layout though, but I do remember that part.
http://70.145.174.180/
I, for some reason, don't have anything set as localhost. I can't remember my exact conf file layout though, but I do remember that part.
http://70.145.174.180/
8
10
Quote
Status: offline
JohnVanVliet
Forum User
Full Member
Registered: 10/09/03
Posts: 161
Hi ,I was just at your site and the first thing i can see by looking at it is the "localhost" is being used . Change this to "216.49.74.183/"(your ip) or {site_url} and that should fix most of it
<a href="http://localhost/gallery_feyiola/grandpa>
should reed
<a href="http://216.49.74.183/gallery_feyiola/grandpa">
or
<a href="{site_url}/gallery_feyiola/grandpa">
or try fixing the address from
<a href="http://localhost/gallery_feyiola/grandpa>
to
<a href="http://localhost/gallery_feyiola/grandpa">
the { " } is missing at the end .
Text Formatted Code
<a href="http://localhost/gallery_feyiola/grandpa>
should reed
<a href="http://216.49.74.183/gallery_feyiola/grandpa">
or
<a href="{site_url}/gallery_feyiola/grandpa">
or try fixing the address from
<a href="http://localhost/gallery_feyiola/grandpa>
to
<a href="http://localhost/gallery_feyiola/grandpa">
the { " } is missing at the end .
25
10
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Thanks for all your help, I just want to be crystal clear about something.
My router has the WAN IP address of 216.49.74.183 and a LAN IP of 192.168.1.1
My Server has the LAN IP address of 192.168.1.22
If I change the config.php and the httpd.conf files would I see the site locally, Please this is my first time, and somehow thinks that the IP address of the webserver is what should be in it.
Thanks again.
Ola
My router has the WAN IP address of 216.49.74.183 and a LAN IP of 192.168.1.1
My Server has the LAN IP address of 192.168.1.22
If I change the config.php and the httpd.conf files would I see the site locally, Please this is my first time, and somehow thinks that the IP address of the webserver is what should be in it.
Thanks again.
Ola
8
5
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Hello again,
After changing the servername to www.feyiola.com I was able to view the site locally.
The real problem in my opinion is in my config.php file.
// 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://localhost';
When I changed the localhost in the above entry, then I get the broken site like you get on the internet.
Should I just move the config.php file to another location. It is presently in my Geeklog directory which is outside my docroot.
Somehow I think this is a simple problem, but it is killing me.
Please help.
Thanks again
Ola
After changing the servername to www.feyiola.com I was able to view the site locally.
The real problem in my opinion is in my config.php file.
// 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://localhost';
When I changed the localhost in the above entry, then I get the broken site like you get on the internet.
Should I just move the config.php file to another location. It is presently in my Geeklog directory which is outside my docroot.
Somehow I think this is a simple problem, but it is killing me.
Please help.
Thanks again
Ola
8
7
Quote
Status: offline
TechSys
Forum User
Regular Poster
Registered: 12/02/03
Posts: 90
that should not be http://localhost, it should be http://216.49.74.183 or if you have it set for a differant port than port 80 then it would be http://216.49.74.183:portnumberhere.
Take mine, for example, my internet (or WAN) ip address is 66.177.171.37, but my server is behind a router and the address is 192.168.1.104, since I use a differant port than 80, the is $_CONF['site_url']='http://66.177.171.37:82';
I would not move your config.php, since you would have to change ALOT more with the directory paths and such.
http://70.145.174.180/
Take mine, for example, my internet (or WAN) ip address is 66.177.171.37, but my server is behind a router and the address is 192.168.1.104, since I use a differant port than 80, the is $_CONF['site_url']='http://66.177.171.37:82';
I would not move your config.php, since you would have to change ALOT more with the directory paths and such.
http://70.145.174.180/
8
6
Quote
Status: offline
TechSys
Forum User
Regular Poster
Registered: 12/02/03
Posts: 90
Sorry about this extra post but I just tried your site. If I click on a link it is a dead link, but, if I use your ip address and put the link at the end, it works.
Like the stats link was dead, but I used
http://216.49.74.183/stats.php
and it worked.
http://70.145.174.180/
Like the stats link was dead, but I used
http://216.49.74.183/stats.php
and it worked.
http://70.145.174.180/
8
6
Quote
Status: offline
geKow
Forum User
Full Member
Registered: 01/12/03
Posts: 445
There are two important path's in config.php:
$_CONF['path'] = '/home/xdykylfj/'; //trailing slash!
This is your absolute server path to the directory where your config.php is located (your geeklog root folder)
$_CONF['site_url'] = http://www.feyiola.com; //no trailing slash!
This is the URL to your site, pointing to public_html directory.
http://localhost makes no sense if you want to show your page to the world
btw... your server (or the connection) is slow as hell (at least for me) what causes my browser give up with a timeout
geKow
$_CONF['path'] = '/home/xdykylfj/'; //trailing slash!
This is your absolute server path to the directory where your config.php is located (your geeklog root folder)
$_CONF['site_url'] = http://www.feyiola.com; //no trailing slash!
This is the URL to your site, pointing to public_html directory.
http://localhost makes no sense if you want to show your page to the world
btw... your server (or the connection) is slow as hell (at least for me) what causes my browser give up with a timeout
geKow
9
6
Quote
Status: offline
ola_one
Forum User
Full Member
Registered: 06/28/03
Posts: 186
Quote by geKow: There are two important path's in config.php:
$_CONF['path'] = '/home/xdykylfj/'; //trailing slash!
This is your absolute server path to the directory where your config.php is located (your geeklog root folder)
$_CONF['site_url'] = http://www.feyiola.com; //no trailing slash!
This is the URL to your site, pointing to public_html directory.
http://localhost makes no sense if you want to show your page to the world
geKow
$_CONF['path'] = '/home/xdykylfj/'; //trailing slash!
This is your absolute server path to the directory where your config.php is located (your geeklog root folder)
$_CONF['site_url'] = http://www.feyiola.com; //no trailing slash!
This is the URL to your site, pointing to public_html directory.
http://localhost makes no sense if you want to show your page to the world
geKow
Are you purposely missing the single quotes on the second entry?
$_CONF['site_url'] = http://www.feyiola.com; //no trailing slash!
Should it be 'http://www.feyiola.com';
The entry you put there has no quotation marks...
7
7
Quote
All times are EST. The time is now 04:22 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