PHP Classes

finetable trouble

Recommend this page to a friend!

      finetable  >  All threads  >  finetable trouble  >  (Un) Subscribe thread alerts  
Subject:finetable trouble
Summary:Can not get finetable to render correctly
Messages:4
Author:Scott Zebman
Date:2005-11-01 06:51:08
Update:2005-11-05 03:55:43
 

  1. finetable trouble   Reply   Report abuse  
Picture of Scott Zebman Scott Zebman - 2005-11-01 06:51:08

I hope someone can help.

I can not get finetable to render correctly.

The test_finetable.php generates a blank page and the demo script in the readme.txt doesn't generate correctly.

finetable.php does generate the 2 ft_img2.php and ft_blank.gif, however as suggest in the readme, I tried the ft_rescue.zip files.

ft_rescue.zip link is broken, but I was able to find them at another site.
They unfortunatly didn't help.

Any ideas??

  2. Re: finetable trouble   Reply   Report abuse  
Picture of Peter Klauer Peter Klauer - 2005-11-01 07:41:23 - In reply to message 1 from Scott Zebman
I'm very sorry, but somehow the rescue file got lost. I uploaded it again. Try the link for ft_rescue.zip again. If it still does not want to download (404) then clear your browsers cache.
Gruß, Peter

  3. Re: finetable trouble   Reply   Report abuse  
Picture of Scott Zebman Scott Zebman - 2005-11-02 06:01:06 - In reply to message 2 from Peter Klauer

Thank you for fixing the link.

I have tried these and it still isn't able to render the page.

I've sent you an email with a jpg screen snapshot of the page.

Just to make sure, are there any additional php modules required?

Here is a sample of the code being used to generate the page.

<html>
<head>
<title>finetable.php test</title>
</head>
<body>
<?php

include '/srv/www/htdocs/finetable.php';

$panel = new ftable;
$panel->printall();

blanker( 100,4 );

$panel->caption = 'This is another caption';
$panel->printall();

blanker( 100,4 );

$panel->bodytext = 'Finally, I have content.';
$panel->printall();

blanker( 100,4 );

$panel->captionbgcolor = '00FFFF'; // cyan
$panel->width = '50%';
$panel->printall();

?>
</body>
</html>

Many Thanks

  4. Re: finetable trouble   Reply   Report abuse  
Picture of Peter Klauer Peter Klauer - 2005-11-05 03:55:43 - In reply to message 3 from Scott Zebman
Both of them image files are *not found* from your php file.
Make sure that

- ft_img2.php
- ft_blank.gif

are in reach of the script and that the correct security rights are given (something like 644 or 755). Look what html sourcecode is produced and put the images in the path where they are searched.

If an image is in a corner like that

<img src="ft_img2.php?img=2&amp;color=000080" height="20" width="20" alt="">

then both of them image files must be located in the root of the page.