Forum Moderators: phranque

Message Too Old, No Replies

Errors after installing OpenSA

I am getting undefined index errors

         

mbair

5:50 pm on Dec 21, 2005 (gmt 0)

10+ Year Member



I just installed OpenSA over my previous install of Apache/PHP. The server runs and the SSL works, but now I am getting an error on one of my pages. It is after data is in entered into a form. I have a php script that processes the fields and enters them into a mySQL db. It worked perfectly before I did this install. Now I get the error:

Notice: Undefined index: ID in c:\apache\htdocs\form1update.php on line 11

Notice: Undefined index: Participant_First_Name in c:\apache\htdocs\form1update.php on line 12

Notice: Undefined index: Participant_Middle_Name in c:\apache\htdocs\form1update.php on line 13

Notice: Undefined index: Participant_Last_Name in c:\apache\htdocs\form1update.php on line 14

and so on for all the fields. I only get the errors when I access the pages from a different computer though. If I work on the webserver, the pages all work normally. Any ideas? I can post my httpd.conf and php.ini files if needed.

Thanks all,
Matt

mbair

6:41 pm on Dec 21, 2005 (gmt 0)

10+ Year Member



Correction: I get the error from the server as well (localhost).

mbair

7:09 pm on Dec 21, 2005 (gmt 0)

10+ Year Member



Upon even FURTHER testing, I was correct the first time. Further more, it all works correctly within my LAN. So now I am a bit lost as to what is going on... I have enabled SSL and HTTP to pass through my router, and I am able to access [mydomain.com...] and [mydomain.com...] without problems. The pages without the form processors are displayed correctly. Furthermore, the pages with errors are located in a members area (that I am successfully logging into) so I know I am connecting to mySQL.