PHP Classes

Call to undefined function

Recommend this page to a friend!

      gFeed  >  All threads  >  Call to undefined function  >  (Un) Subscribe thread alerts  
Subject:Call to undefined function
Summary:On one of my hosts. Works fine on another
Messages:3
Author:achilles
Date:2007-08-16 11:54:05
Update:2007-08-16 17:20:56
 

  1. Call to undefined function   Reply   Report abuse  
Picture of achilles achilles - 2007-08-16 11:54:06
Running gFeed.test3.php works fine on one of my web hosts - and this excellent class is now in use on one of my sites.

However, on another web host, gFeed.test3.php prodices the following error message:

Fatal error: Call to undefined function: stream_wrapper_register() in /usr/local/psa/home/vhosts/example.com/httpdocs/RSS/gFeed.php on line 576

(where example.com is my web domain)

Any suggestions on how to get around that?

  2. Re: Call to undefined function   Reply   Report abuse  
Picture of achilles achilles - 2007-08-16 14:58:50 - In reply to message 1 from achilles
OK. I have just discovered the host's present version of php is <4.3.2,
which explains the problem.

I have been offered an upgrade to v5 so I should soon be OK.

  3. Re: Call to undefined function   Reply   Report abuse  
Picture of Cesar D. Rodas Cesar D. Rodas - 2007-08-16 17:20:56 - In reply to message 2 from achilles
Yeah, that's corret!, this class work for class work the PHP version need is the version 4.3.2 or greater!

php.net/manual/en/function.stream-w ...