PDA

View Full Version : Fatal error: Call to undefined function: array_search() phot


k-sea
24th of April 2002 (Wed), 22:30
Hello,

This application is looking really great! I have one problem after installation though.

one example:
After clicking on a image from the index page.

Fatal error: Call to undefined function: array_search() photo.php on line 871


Any ideas on how I can get rid of this error?

After a good peak through the features of the other aspect of this app everything seems to be ok until you get back to a area that references photo.php and then I get this message.

Thank you for peeping this message.

Pekka
25th of April 2002 (Thu), 08:29
It's a function that needs PHP 4.05 or newer.
See http://photography-on-the.net/forum/showthread.php?t=2690 for a possible fix (other than updating PHP).

k-sea
25th of April 2002 (Thu), 08:57
Yeah that's it. . . I saw that message but didn't think it was the same error. . .Nor did I think about checking my ver. of php because I sent a message to my host co. about that over a month ago. Though I'd be up to current php because even 4.5 isn't safe at this time.

The following security report will explain more.

>http://security.e-matters.de/advisories/012002.html
>
>
>Affected Components
>PHP 3.0.10-3.0.18
>PHP 4.0.1-4.0.3pl1
>PHP 4.0.2-4.0.5
>PHP 4.0.6-4.0.7RC2
>PHP 4.0.7RC3-4.1.1
>
>
>Not Affected
>PHP 4.1.2
>PHP 4.2.0-dev

Pekka thanks for the quick reply. I had went to bed shortly after writing the message. Hope all is going well in your part of the world. Keep taking picks! And if you ever take any of snowboarders ... Hook us up! We will have an area set up for photographers to show pictures of all snowboarding activity, along with our HB Gallery. Check www.hayes-snowboards.com in a couple of months when I release the new site.

regards,

Casey

drsenay
30th of April 2002 (Tue), 17:10
If your current hosting provider doesn't seem interested in an upgrade, drop me a note I can probably get you going... I'm just upgrading my servers to 4.1.2 this afternoon, so I should have everything finished, settled and tested by the morning (May 1, 2002) and be back online again...

Our upgrade is for security reasons AND becuase I want to be able to run Pekka's fantastic application too!

Scott...