Author |
Message |
19/02/2005 21:33:29
|
eahola
Newbie
Joined: 19/02/2005 21:28:40
Messages: 4
Offline
|
Honest it's a simple ?
I've customized the Advanced Guest book and it is at
http://shellbird.com/GuestBook/index2.php
Note that I haven't moved it over to index.php yet.
I've got spaces on top that I don't know where they are coming from so I can remove them. I'd like the Shellbird's GuestBook line to be at the top -- right under the menu stuff
Help Me
|
|
19/02/2005 21:55:49
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Looks fine here but this is on IE5.5. Anyway part of the problem could lie in the fact you have got the entire guestbook in there including the head section. This means your page goes
doctype
html
head
/head
body
menu
doctype
html
head
/head
body
guestbook
/body
/html
site content
/body
/html
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
19/02/2005 21:58:23
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I recommend copying the CSS and Javascript from the guestbooks head section into your pages head section then replacing the contents of templates/header.php with a space or and the same with footer.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
19/02/2005 22:46:41
|
eahola
Newbie
Joined: 19/02/2005 21:28:40
Messages: 4
Offline
|
there is an error that I'm getting and not sure syntax to fix.
THIS IS THE REASON WHY MY TITLE TO GUESTBOOK IS DOWN SO LOW.
You see the errors/text are hidden and if you select the region above my guestbook stuff .... I see
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/shellb3/public_html/GuestBook/lib/gb.class.php(153) : eval()'d code on line 4
Warning: fread(): Length parameter must be greater than 0. in /home/shellb3/public_html/GuestBook/lib/template.class.php on line 53
Since I'm not familiar with php I have no idea how to attack this. Could someone steer me in the right direction.
I haven't changed anything gb.class.php.
I'm also thinking this is why it's not displaying my comments even though they are in the DB and the counter is correct.
|
|
19/02/2005 23:16:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
When you edited the template files, either header or footer, you left the file empty. You must put either a space or in the file.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
19/02/2005 23:28:00
|
Anonymous
|
Hi,
Before I continue --- thanks for helping me out --- I've been on this all day and my mind is lost....
I did have a blank footer. Fixed that and eliminated one of the error messages.
now I just have
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ..../lib/gb.class.php(153) : eval()'d code on line 4
|
|
19/02/2005 23:37:27
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Hmmmmmmmmmm from a quick glance at the script that line refers to the comments. Check the file templates/com.php. It should say (if you have not edited it)
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/02/2005 00:00:14
|
Anonymous
|
yuppers --- that's exactly what I've got.
|
|
20/02/2005 00:16:41
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
It says you only have one entry in the guestbook. Is there a comment with that entry?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/02/2005 03:03:32
|
Anonymous
|
zero comments
SQL-query
SQL-query:
SELECT count( * )
FROM `book_com`
[Edit] [Explain SQL] [Create PHP Code] [Refresh]
count(*)
0
|
|
20/02/2005 03:06:07
|
Anonymous
|
sorry ---
forgot this table too
Showing rows 0 - 0 (1 total, Query took 0.0003 sec)
SQL-query:
SELECT *
FROM `book_data`
LIMIT 0 , 30
[Edit] [Explain SQL] [Create PHP Code] [Refresh]
row(s) starting from record #
in horizontal horizontal (rotated headers) vertical mode and repeat headers after cells
id name gender email url date location host browser comment icq aim
1 tester myemail@yahoo.com http://www.shellbird.com 1108847506 Colorado 70-32-151-70.clspco.adelphia.net Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;... testing this message area 0
the comment value for the comment field is
testing this message area
|
|
20/02/2005 03:56:37
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I can't remember, were you getting this error message before you edited the header and footer files?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/02/2005 04:11:52
|
Anonymous
|
I believe I've been getting it from the get-go.
I haven't modified the header and I just have   for the footer.
I can cut and paste the orig. code for both and I still have the same problem.
|
|
20/02/2005 04:15:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Did you download the guestbook from here or did your hosts supply it?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/02/2005 04:33:15
|
Anonymous
|
the host supplied it and I've downloaded the zip file from proxy2 to review the code.
So far I haven't seen anything different -- except for my modifications
|
|
|