This topic is locked

256 Error

2/9/2006 4:54:00 AM
PHPRunner General questions
M
Metal author

First a warning on top of page:
"t1" , "Field2"=>"t2"); $thumbnail_maxsize = 150; ?>

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\databas2\include\kodreferens_variables.php:1) in C:\wamp\www\databas2\include\dbcommon.php on line 15
then a box with following:
PHP ERROR HAPPEND
256

Error description You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where 1<0' at line 1

URL localhost/databas2/kodreferens_list.php

Error file C:\wamp\www\databas2\include\dbconnection.php

Error line 26
line 22 > 30
function db_query($qstring,$conn)

{

if(!($ret=mysql_query($qstring,$conn)))

{

trigger_error(mysql_error(), E_USER_ERROR); <<<<<< line 26

}

return $ret;
}
What I have is a real simple database with 10 fields.

Using PHP 5 and Apache 2 on a LAN (localhost)
Thought the product might help me... not tie me upp browsing code for errors.
Regards Mads

admin 2/9/2006

Mad,
this error occurs because short_open_tags PHP configuration option is set to false at your webserver, while PHPRunner requires it to be true.
Please try out PHPRunner 3.0 beta which works with any setting.

Here is the download link.

http://www.asprunner.com/files/phprunner30b.exe

M
Metal author 2/9/2006

Thank's will have a go at it.