Page 1 of 1

BLANK TABLE

Posted: Sat Jul 16, 2011 5:02 pm
by silvershadow
Script URL: http://www.all-shook-up.net/contact.htm
Version of script: PHP Guestbook 1.7
Hosting company: interdat
URL of phpinfo.php: http://www.all-shook-up.net/gbook/gbook.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Looking through various topics on Guestbook and could not find my issue.

Write your message below: I fiiled out all the information correctly I thought in the settings.php. I then input the guestbook code in a Tabel on my Contact page. I then uploaded all the files to the gbook folder.
Now, in the contact page I get a blank table and the guestbook shows on this link: www.all-shook-up.net/gbook/gbook.php What am I doing wrong? I want the Guestbook to show in a table on the Contact page. Thanks for any help you can give me.

Re: BLANK TABLE

Posted: Sun Jul 17, 2011 6:10 am
by Henrie
Hello Silvershadow,

I think the guestbook is not displayed because you are using a wrong link.

I find the following code in your contact.htm page:

Code: Select all

<table width="100%">
  <tr>
    <td>&nbsp;
      <iframe>
      <iframe id="myframe" src="gbook/entries101.php" scrolling="no" marginwidth="1" marginheight="1" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none" name="I1"></iframe>
      </iframe></td>
  </tr>

</table>
You should change src="gbook/entries101.php" to src="gbook/gbook.php".
Furthermore you have nested 2 iframes, this could also be causing problems.
I suggest you change the above part of the page to someting like this:

Code: Select all

<table width="100%">
  <tr>
    <td>
      <iframe id="myframe" src="gbook/gbook.php" scrolling="no" marginwidth="1" marginheight="1" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none" name="I1"></iframe>
    </td>
  </tr>
</table>
Please let us know if this helps.

Greetings,
Henrie