Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2007, 09:51 PM
Junior Member
 
Join Date: Dec 2007
Posts: 2
Default Missing files for top level domains?

I'm just starting to replace a few bits of old code with ZF alternatives, and I'm trying to replace my validation of email addresses. Using the first code example on Zend Framework: Documentation I get the following error:

Code:
fopen(Zend/Validate/Hostname/Com.php) [function.fopen]: failed to open stream: No such file or directory
Sure enough, that file doesn't exist in the copy of ZF I downloaded from Zend Framework: Downloads.

Looking into the ZF code /Zend/Validate/Hostname.php line 325 says:

PHP Code:
$classFile 'Zend/Validate/Hostname/' ucfirst($this->_tld) . '.php'
It looks like there should be one file for each top level domain in that folder, but there are only files for eight of them.

Is the ZF missing something, or am I?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2008, 09:49 AM
Junior Member
 
Join Date: Dec 2007
Posts: 1
Default

I am also having same problem which fills error logs with errors. I use E_ALL - E_NOTICE to see possible coding errors and warnings, and this error occurs too many times in logs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-11-2008, 02:52 PM
Junior Member
 
Join Date: Jun 2008
Posts: 18
Default

Redownload if your unsure and check.
Im unfamiliar with it so can't advise but redownlad with let you know if you accidently deleted.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:34 AM.