This topic is locked

Where to edit list values?

5/7/2008 4:48:08 AM
PHPRunner General questions
N
Norian author

Hello,
I have taken over the maintainence of someones database that was created with PHP runner. They have a drop down list with a set of values that now needs changing. Is there an easy way to edit this list without the project file?
Many thanks.

J
Jane 5/7/2008

Hi,
edit BuildSelectControl function in the generated include/commonfunctions.php file.

N
Norian author 5/7/2008

Hello,
Many thanks for your quick response and help. I found the variables from the drop down list where you specified. However when I changed these variables I get the following when trying to logon???
PHP error happened
Technical information

Error type 2

Error description Cannot modify header information - headers already sent by (output started at /var/www/messagebook/include/commonfunctions.php:1)

URL www.domainname.com/var/subdomain/messagebook/html/login.php?

Error file /var/www/messagebook/login.php

Error line 48

SQL query
This doesnt seem to make any sense to me as I have changed nothing that is to do with the login???

S
steveh 5/7/2008

Commonfunctions.php is included by all code, you've probably made a typo which is now throwing some output ahead of the headers.
Suggest you turn off friendly errors in internet explorer and see what the actual error is that is being thrown.
Or run it in firefox with firebug and you'll see all there is to see.
Or you could run the code at the command line in php to see what the issue is.