Menu

Undefined index/variable/SERVER

Help
bbenson1
2004-10-18
2013-03-07
  • bbenson1

    bbenson1 - 2004-10-18

    Hi,

    I've looked everywhere and can't figure out why this is happening. I'm relatively new to PHP and actually have been using phpix for quite a while.

    I had a fully running setup with no problems or errors, then I did something.. not sure what, and things have gone downhill rapidly.

    I was running redhat linux 9 with phpix 3.0.1 with no problems.  I recently upgraded to FC 2, new kernel and all, and now I can't get phpix to display my photo albums.  I get a bunch of messages like this:

    Notice: Undefined index: album in /var/www/html/pics/common.inc on line 38

    Notice: Undefined variable: dispsize in /var/www/html/pics/common.inc on line 92

    Notice: Undefined variable: start in /var/www/html/pics/common.inc on line 93

    Notice: Undefined variable: pic in /var/www/html/pics/common.inc on line 100

    Notice: Uninitialized string offset: 0 in /var/www/html/pics/common.inc on line 151

    Notice: Undefined variable: filelist in /var/www/html/pics/common.inc on line 161

    Notice: Undefined index: album in /var/www/html/pics/index.php on line 39

    Notice: Undefined index: pic in /var/www/html/pics/index.php on line 40

    Notice: Undefined index: dispsize in /var/www/html/pics/index.php on line 41

    Notice: Undefined index: start in /var/www/html/pics/index.php on line 42

    Notice: Undefined index: picindex in /var/www/html/pics/index.php on line 43

    Notice: Undefined variable: SERVER_ in /var/www/html/pics/index.php on line 77
    Albums     No images

    Notice: Undefined variable: url in /var/www/html/pics/common.inc on line 195

    I'm sure there's something I'm missing, as I believe I've seen this type of error before, but I can't, for the life of me, remember how to fix it.  I've searched all the old forums and the internet.  If someone could tell me how to fix this, I'd really appreciate it.

    BTW, to the author:  I have been using PHPix for a few years now on a personal, limited access family website. Though I haven't delved into PHP mjuch at all, I really find PHPix to be a great piece of software.

    Thanks,
    BB

     
    • bbenson1

      bbenson1 - 2004-10-18

      I'm not sure what happened here, but things are working.  I restarted the server and all is well...

      My apologies for wasting anyone's time that read this. :-)

      Thanks,
      BB

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.