If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Guestbook header image  XML
Forum Index » Support Forum
Author Message
Anonymous



There is a missing image mark at the very top of the page, I assume some image is missing from the installatio - that was done by my host. Also, I would like to add my site image in that place but can find our how to do this.

Also, by the guests that have commented there are missing image marks where the guest name etc. is show - any idea how to repair this?
Anonymous



Anonymous wrote:There is a missing image mark at the very top of the page, I assume some image is missing from the installatio - that was done by my host. Also, I would like to add my site image in that place but can find our how to do this.

Also, by the guests that have commented there are missing image marks where the guest name etc. is show - any idea how to repair this?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

A quick search using the search function of this forum would of revealed that your problem was that you need to specify the base url in the config.inc.php file found in the admin folder. As for changing it look in templates/body.php

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thanks for the reply Carbonize but I already tried what you recommended. Firstly the server/host admin. installed the guestbook. When I had trouble I downloaded a version from this site and reinstalled following the instructions - I change the URL;


$GB_PG["base_url"] = "htpp://www.stevenredhead.com/guestbook/img"

but I got the following:

Parse error: parse error, unexpected T_VARIABLE in /home/stevenx/public_html/guestbook/admin/config.inc.php on line 61

I known some basics on HTML but no idea about php or how to solve that error.

All the other programs installed by the host admin. work fine.

Well that is the situation.
Steven
Anonymous



If I look at the source of guestbook's main page (body) via on line using explorer it shows;

<td width="56%"><img src="htpp://www.stevenredhead.com/guestbook/img/gbook.gif" width="140" height="15"></td>

If I type htpp://www.stevenredhead.com/guestbook/img/gbook.gif - in exploer then I can see that specific gif in explorer.

I wonder why the images are not showing in the guestbook?

I have tried all sorts of ideas but still the result is unchanged.

By the way I clear the cashe after each test so the browser is showing the latest version.

Any ideas to point me in the right direction would really help.

Cheers
Steven
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Anonymous wrote:Thanks for the reply Carbonize but I already tried what you recommended. Firstly the server/host admin. installed the guestbook. When I had trouble I downloaded a version from this site and reinstalled following the instructions - I change the URL;


$GB_PG["base_url"] = "htpp://www.stevenredhead.com/guestbook/img"

but I got the following:

Parse error: parse error, unexpected T_VARIABLE in /home/stevenx/public_html/guestbook/admin/config.inc.php on line 61



I think it should be:


See the following post:

Admin config.inc.php file:
http://proxy2.de/forum/viewtopic.php?t=3654
Anonymous



Thanks Amber 222

Actually I tried both and they both didn't work, i.e.;

$GB_PG["base_url"] = "htpp://www.stevenredhead.com/guestbook"

$GB_PG["base_url"] = "htpp://www.stevenredhead.com/guestbook/img"

the latter was following instructions in the text file in the installation.

When I look at the source code for the page live in Explorer it shows the route to the images as correct; e.g.

<td width="56%"><img src="htpp://www.stevenredhead.com/guestbook/img/gbook.gif" width="140" height="15"></td>

when I call the address via Exporer - htpp://www.stevenredhead.com/guestbook/img/gbook.gif - the gif is loaded.

It really doesn't makes sence; as I mentioned I clear the cashe before each test so the page is current.

Well if anyone can advise how to clear this it sure would help.

Thanks
Steven
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

I copied and pasted from your previous post, but I am just now noticing the "htpp". Is this just a typo here in this forum? Check to make sure your base url is actually using "http".
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Yep, that seems to be the problem:



It should be http:

Anonymous



Hi Amber,

Your were right on.

Actually I didn't touch this part; i.e. htpp.

I just changed from $GB_PG["base_url"] = "htpp://www.yourdomain.com/guestbook/img" to $GB_PG["base_url"] = "htpp://www.stevenredhead.com/guestbook"

Just now I checked the download and the original file has htpp; I just didn't notice it. It is difficult for new users of php like myself to distinguish what is OK and what is not, I think I would have notice normally; so thank you for the advise and direction.

Well thanks a million for finding this it really has helped now I can see all the images just fine - real majic.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yes some of the original instructions are badly written. The htpp is one mistake as is having the img at the end of the url example.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

deleted
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

Another words.Turn off enable html in posts

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

deleted
Anonymous



Well I am in a different time zone, so I was taking zzzzzzz....

My emotions are all mixed up now, I appreciate you telling me about the vulnerability of the Guest Book and Forum; yet on the other hand flustrated that you let anyone else visiting the forums know also.

I ran the same programs on my last site for over 5 years without any issues, so now the world knows the vulnerabilities I need to find some way tp solve this.

Steven
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum