You could claim that your error_reporting including E_NOTICE is the problem... But it would be FAR more correct to say that your code has errors of level E_NOTICE, and you've never fixed them before. Fix them. On Thu, May 18, 2006 2:09 pm, Robert Filipovich wrote: > Looks like all of these are happening. > > > The description for Event ID ( 2000 ) in Source ( php ) cannot be > found. The > local computer may not have the necessary registry information or > message > DLL files to display messages from a remote computer. The following > information is part of the event: php[400], PHP Notice: Undefined > index: > ocode in C:\siupchat\statusimage.php on line 39. > > The description for Event ID ( 2000 ) in Source ( php ) cannot be > found. The > local computer may not have the necessary registry information or > message > DLL files to display messages from a remote computer. The following > information is part of the event: php[1812], PHP Notice: Undefined > index: > ocode in C:\siupchat\statusimage.php on line 39. > > The description for Event ID ( 2000 ) in Source ( php ) cannot be > found. The > local computer may not have the necessary registry information or > message > DLL files to display messages from a remote computer. The following > information is part of the event: php[1444], PHP Notice: Undefined > index: > HTTP_REFERER in C:\siupchat\statusimage.php on line 52. > It is on an IIS server. Any ideas what PHP.ini setting is causing > this > error? > > Thanks, > /Robert > > > On 5/18/06, John Hicks <johnlist@xxxxxxxxxxxxxx> wrote: >> >> Please reply to the list. >> >> Robert Filipovich wrote: >> > I got this in the event viewer when I enabled suslogging. >> > >> > >> > The description for Event ID ( 2000 ) in Source ( php ) cannot be >> found. >> > The local computer may not have the necessary registry information >> or >> > message DLL files to display messages from a remote computer. The >> > following information is part of the event: php[144], PHP Notice: >> > Undefined index: HTTP_REFERER in C:\siupchat\statusimage.php on >> line 52. >> >> I can't grok this easily since it looks like it's coming from a >> strange >> OS, but if I were you, I would begin by looking at line 52. >> >> --J >> >> P.S. Please reply to the list. >> >> > On 5/18/06, *Robert Filipovich* <dnetman99@xxxxxxxxx >> > <mailto:dnetman99@xxxxxxxxx>> wrote: >> > >> > Why do you think it works on the local site? Is it access to >> > MySQL? Seems weird since the provcessing should still be >> server >> > side on the MySQL stuff. >> > >> > I will see what I can find in the log. >> > >> > /Robert >> > >> > >> > On 5/18/06, *John Hicks* <johnlist@xxxxxxxxxxxxxx >> > <mailto:johnlist@xxxxxxxxxxxxxx>> wrote: >> > >> > John Hicks wrote: >> > > Robert Filipovich wrote: >> > > > I am using a chat program and trying to call the >> status page >> > from another >> > > > server and the graphic that the page returns does not >> show >> up. >> > > > >> > > > It works if you are calling from the webserver that >> the chat >> > program is >> > > > working so i feel it is some type of config problem or >> > security issue. >> > > > >> > > > http://www.hidho.com/chattest.htm is the page that >> uses the >> code >> > > > >> > > > <a href="javascript:pophelp(' >> > > > http://chat.siuprem.com/siupchat/client.php',500,500) >> > <http://chat.siuprem.com/siupchat/client.php',500,500)>"><img >> src=" >> > > > http://chat.siuprem.com/siupchat/statusimage.php >> > <http://chat.siuprem.com/siupchat/statusimage.php>"></a> >> and it >> > works on >> > > > http://chat.siuprem.com/siupchat/chattest.htm >> > <http://chat.siuprem.com/siupchat/chattest.htm> which is >> the >> > windows IIS >> > > > sesrver where PHP is running. >> > > > >> > > >> > > Do you have access to the source of statusimage.php? >> > > >> > > (I have a hunch it is checking the request's referer.) >> > > >> > > --J >> > >> > Since this is open source code ('phpOnline') available at >> > http://www.dayanahost.com/phponline.cfm >> > <http://www.dayanahost.com/phponline.cfm> >> > I guess it's safe to post an excerpt here: >> > >> > ... >> > [a number of mysql statements without error checking or >> other >> exits] >> > ... >> > [concluding with:] >> > >> > header ("Content-type: image/jpeg"); >> > >> > if($LastAdmLoginTime==0 || $LastAdmLoginTime<($TTime-120)) >> > { >> > echo implode('', file('pathtooffline.jpg')); >> > $OnlineStatus = 0; >> > } >> > else >> > { >> > echo implode('', file('pathtoonline.jpg ')); >> > } >> > >> > Since both of these images are present (i.e. can be >> accessed >> > directly) >> > and since there isn't any exit prior to the execution of >> the >> above >> > statement, I conclude that the program must be erring out >> before >> > it gets >> > here. >> > >> > Check your php error log first. If you don't find anything >> there >> > then >> > edit the program to add error checking for all the sql >> commands. >> > >> > You might also find help at the phpOnline forums: >> > http://www.dayanahost.com/forum2/index.php?act=SF&f=11& >> > <http://www.dayanahost.com/forum2/index.php?act=SF&f=11&> >> > >> > If you can't find the problem, since the program is short, >> you >> could >> > post it to the list. >> > >> > --J >> > >> > >> > >> > >> > >> >> > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php