Login   Register  
PHP Classes
elePHPant
Icontem

Errors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      DrasticTools  >  All threads  >  Errors  >  (Un) Subscribe thread alerts  
Subject:Errors
Summary:Header Errors and more
Messages:1
Author:serkan
Date:2007-04-26 22:58:54
 

  1. Errors   Reply   Report abuse  
Picture of serkan
serkan
2007-04-26 22:58:54
Hi,
This class looks very cool to play with, I am having couple problems that seem to result from something very basic, but I am not sure how to fix. The only file I added text is Examplemysqlconfig.php. Is there anything else I should change to get this working? Please let me know if you know what can be the problem. Thanks.

I have not changed anything from the examples I downloaded from the site. Following examples work fine.

ExampleGrid3, 3a, 4, 5, ExampleMySQLPHPGrid1 and 2.

I get the following errors for the following examples:

ExampleMap1 and 2, ExampleGrid2, ExampleMapGrid1 and 2 share the following errors:

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\drastictools\drasticSrcMySQL.class.php:45)
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\drastictools\drasticSrcMySQL.class.php:45)
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\drastictools\drasticSrcMySQL.class.php:45)
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\drastictools\drasticSrcMySQL.class.php:45)
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 105

Apart from the errors shared above, the following errors are specific to the examples below:

ExampleGrid6
Warning: Missing argument 6 for drasticSrcMySQL::__construct(), called in C:\wamp\www\drastictools\ExampleGrid6.php on line 6 and defined
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 45

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 58
Could not find primary or unique key

ExampleMap1 and 2
Warning: Missing argument 6 for drasticSrcMySQL::__construct(), called
in C:\wamp\www\drastictools\ExampleMap2.php on line 12 and defined
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 45

ExampleGrid1
Warning: Missing argument 2 for drasticGrid::__construct(), called
in C:\wamp\www\drastictools\ExampleGrid1.php on line 20 and defined
in C:\wamp\www\drastictools\drasticGrid.class.php on line 39

ExampleGrid2
Warning: Missing argument 6 for drasticSrcMySQL::__construct(), called
in C:\wamp\www\drastictools\ExampleGrid2.php on line 6 and defined
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 45

Warning: Missing argument 2 for drasticGrid::__construct(), called
in C:\wamp\www\drastictools\ExampleGrid2.php on line 15 and defined
in C:\wamp\www\drastictools\drasticGrid.class.php on line 39

ExampleMapGrid1
Warning: Missing argument 6 for drasticSrcMySQL::__construct(), called
in C:\wamp\www\drastictools\ExampleMapGrid1.php on line 13 and defined
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 45

ExampleMapGrid2
Warning: Missing argument 6 for drasticSrcMySQL::__construct(), called
in C:\wamp\www\drastictools\ExampleMapGrid2.php on line 7 and defined
in C:\wamp\www\drastictools\drasticSrcMySQL.class.php on line 45