I followed the Quickstart manual and I have this error:

-bash-3.00$ zf show version

Fatal error: Call to undefined method SplFileInfo::getRealPath() in
/usr/local/lib/php/Zend/Tool/Framework/Loader/IncludePathLoader/
RecursiveFilterIterator.php on line 57


I have PHP running using version:

PHP Version 5.2.1


SPL from phpinfo():

Interfaces
Countable, OuterIterator, RecursiveIterator, SeekableIterator,
SplObserver, SplSubject

Classes
AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException,
BadMethodCallException, CachingIterator, DirectoryIterator,
DomainException, EmptyIterator, FilterIterator, InfiniteIterator,
InvalidArgumentException, IteratorIterator, LengthException,
LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException,
OutOfRangeException, OverflowException, ParentIterator,
RangeException, RecursiveArrayIterator, RecursiveCachingIterator,
RecursiveDirectoryIterator, RecursiveFilterIterator,
RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator,
RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject,
SplObjectStorage, SplTempFileObject, UnderflowException,
UnexpectedValueException


Here are more details:

-bash-3.00$ zf
Fatal error: Call to undefined method SplFileInfo::getRealPath() in
/usr/local/lib/php/Zend/Tool/Framework/Loader/IncludePathLoader/
RecursiveFilterIterator.php on line 57
-------------------------------------------------------
-bash-3.00$ ls -l /usr/local/lib/php | grep zf
-rwxr-xr-x   1 root      root       1258 May 12 14:11 zf.bat
-rwxr-xr-x   1 root      root       3004 May 12 14:11 zf.php
-rwxr-xr-x   1 root      root       1402 May 12 14:11 zf.sh
-------------------------------------------------------
-bash-3.00$ ls -la /usr/local/bin/zf
lrwxrwxrwx  1 root root 24 May 12 14:14
/usr/local/bin/zf -> /usr/local/lib/php/zf.sh
-------------------------------------------------------
-bash-3.00$ ls -la /usr/local/lib/php/Zend
total 1424
drwxrwxr-x  58 webmaster webmaster   4096 Apr 28 09:19 .
drwxr-xr-x  13 root      root        4096 May 12 14:00 ..
drwxrwxr-x   5 webmaster webmaster   4096 Apr 28 09:18 Acl
-rw-rw-r--   1 webmaster webmaster  38930 May  9  2008 Acl.php
drwxrwxr-x   8 webmaster webmaster   4096 Apr 28 09:19 Amf
drwxrwxr-x   5 webmaster webmaster   4096 Apr 28 09:19 Application
-rw-rw-r--   1 webmaster webmaster   9232 Apr 26 01:46 Application.php
drwxrwxr-x   4 webmaster webmaster   4096 Apr 28 09:18 Auth
-rw-rw-r--   1 webmaster webmaster   3854 Oct  9  2008 Auth.php
drwxrwxr-x   4 webmaster webmaster   4096 Apr 28 09:19 Cache
-rw-rw-r--   1 webmaster webmaster   9397 Nov 11 02:41 Cache.php
drwxrwxr-x   2 webmaster webmaster   4096 Apr 28 09:18 Captcha
drwxrwxr-x   3 webmaster webmaster   4096 Apr 28 09:18 CodeGenerator
drwxrwxr-x   3 webmaster webmaster   4096 Apr 28 09:18 Config
...Rest of the Zend Framework files here...


Sorry for the small PRE-tags text. I don't know how to make it larger.

Any reply would be greatly appreciated. Thanks!!!

-----
http://blog.ekini.net
-- 
View this message in context: 
http://www.nabble.com/Zend_Tool-problem%3A-Call-to-undefined-method-SplFileInfo%3A%3AgetRealPath%28%29-tp23498712p23498712.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to