../classes/HTML_Safe/Safe.php on line 594 error when viewing albums... HELP!

ckenda1

Joined: 2006-06-01
Posts: 3
Posted: Thu, 2006-06-01 21:30

Ok so I upgraded my PHP from 4 to 5. I made sure session was enabled and everything seems to work fine. I can visit my gallery via the URL below but when I try to open any albums, I get the following error:

Fatal error: Call to undefined function preg_replace() in /var/www/thekendalls.net/htdocs/gallery/classes/HTML_Safe/Safe.php on line 594

How can I fix this? Any help would be appreciated!

Thanks,
Carl

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.thekendalls.net/gallery/
Gallery version: 1.5.3
Apache version: 2 (not sure of exact release)
PHP version (don't just say PHP 4, please): PHP5 (not sure of exact release)
Graphics Toolkit: ImageMagick
Operating system: Gentoo 2006.0 Linux
Web browser/version (if applicable):

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2006-06-01 21:52

Looks like you are missing some of the PHP functions Gallery needs. Check http://gallery.menalto.com/node/35966


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org