A Photo Album Site in PHP, MySQL, XHTML and CSS: Pt.IV Support Product Page

This topic was archived

Problems with Final Index.php

Asked 12 Sep 2005 19:40:58
1
has this question
12 Sep 2005 19:40:58 Bruce Brown posted:
I'm new to php and mySQL, so I'm sure the problem is mine, but when I load the index.php page I receive two error messages:
Notice: Undefined index: photoID in c:\program files\easyphp1-8\www\picturegallery\index.php on line 4

Notice: Undefined index: albumID in c:\program files\easyphp1-8\www\picturegallery\index.php on line 6

Once I select a thumbnail the page updates correctly, but the first error recurs if I select the second album in the database.

I've checked that the code matches the sample code at the end. I've also tried updating the page code to set a value for photoID and albumID at the beginning, but I have not been successful.

Replies

Replied 13 Sep 2005 21:57:06
13 Sep 2005 21:57:06 Bruce Brown replied:
I installed a new apache 2 server, reinstalled and reconfigured php and installed a new version of mySQL. I then totally rebuilt the database, which appears to have resolved the problem. The error no longer appears when I test.

Reply to this topic