Re: Subject: FOpen problems
| From: | WL | Date: | Tue, 27 May 2003 18:44:15 +0000 |
| Subject: | Re: Subject: FOpen problems | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20112@lists.php.net to get a copy of this message | ||
Neil Smith <neil@fresh-toast.uklinux.net> said:
> Have you put a line into the top of your code like :
>
> error_reporting(E_ALL)
>
> ? And if so, where are your errors being logged on the new server -
> some log to stdout (the apache logfiles) some to the console (the web
> browser) so if case (1) you may be getting error messages but not
> seeing them.
Thanks Neil. Here's my reply to another group that I posted. If you have
any ideas, they'd be very welcome:
OK here's what I'm getting:
Undefined variabled on line seven ($q which one of you mentioned) - this is
before the form is submitted, and I can get round this probably
Undefined variable "num" on line 47:
PHP:
$num = ($num) ? $num+1 : "16";
Another undefined:
PHP:
$data = strstr($data,"Sorted by
date</b></font></td></tr></table>");
And another:
PHP:
$output .= "<?xml version="1.0\" encoding=\"UTF-8\" ?>\n";
Well I suppose this is good news, isn't it?! At least we can see what to do
(or you guys can anyway). In CF, variables generally have to be stated using
<cfparam> - but no idea how to do this in PHP...
Will