[FX.php List] 1 success, one failure

Dale Bengston dbengston at preservationstudio.com
Thu Feb 7 08:50:24 MST 2008


Yes, undeclared variables got me too. That and short tages and some  
old, old references to $_HTTP_SERVER_VARS that should have been  
$_SERVER. The short tags and the $_HTTP_SERVER_VARS were easy to  
repair with global search-and-replace. The undeclared variables had to  
be done by hand.

Dale

On Feb 7, 2008, at 9:23 AM, Bob Patin wrote:

> It was a problem w/ short open tags. I got this site from someone  
> who wrote most of the code, and there's a messy combination of short  
> and long open tags. Last night I got distracted when I was cleaning  
> stuff up; I went thru some other sites a page at a time (that use  
> the same original set of pages as this one) and fixed all the open  
> tags, and it works fine. I've now fixed this one too.
>
> Turns out that the update was really easy; I was sweating this. My  
> largest webserver remains to be updated, but I'm going to take it  
> carefully, go through every site and double-check, although when I  
> write code I never use short open tags, so I don't think there will  
> be a problem. The other error I've seen when sending something I  
> wrote in PHP 4 to an outside host who's running PHP 5 is undeclared  
> variables, which has happened when I've done paginating...
>
> BP
>
>
> On Feb 7, 2008, at 7:21 AM, Jonathan Schwartz wrote:
>
>> Bob,
>>
>> It appears that you have php errors, but they are not being  
>> displayed.  Thus, the blank screens.  Turn error reporting on.  
>> There are 2 settings:
>>
>> display_errors = "On";
>> error_reporting (E_ALL & ~E_NOTICE);
>>
>> The first determines whether errors are displayed at all. The  
>> second determine how much you see.
>>
>> Look for these in your phpinfo.
>>
>> You can add these lines to the particular pages involved.
>>
>> Not sure if the syntax is exactly correct, but I think it is.
>>
>> J
>>
>>
>>
>>
>>
>>> Well, I updated the webserver that goes with FMS9 and it's working  
>>> fine.
>>>
>>> But I updated one of my webservers that goes with a FMSA8 machine,  
>>> and it's not working.
>>>
>>> I put up a phpinfo() page and got back the normal page, showing  
>>> that 5.2.4 is running, but when I go to a site on that web server,  
>>> it doesn't process the PHP.
>>>
>>> Here's a page:
>>>
>>> http://www.bigfatoffice.com
>>>
>>> This is going to an 'index.php' page...
>>>
>>> So anyone have any ideas? This is not encouraging...
>>>
>>> Thanks,
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>>
>>> CONTACT US VIA INSTANT MESSAGING:
>>>    AIM or iChat: longterm1954
>>>    Yahoo: longterm_solutions
>>>    MSN: tech at longtermsolutions.com
>>>    ICQ: 159333060
>>>
>>> --------------------------
>>> Contact us for FileMaker hosting and programming for all versions  
>>> of FileMaker
>>> PHP * CDML * Full email services * Free DNS hosting * Colocation *  
>>> Consulting
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>> -- 
>> Jonathan Schwartz
>> Exit 445 Group
>> jonathan at exit445.com
>> http://www.exit445.com
>> 415-381-1852
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list