I am experimenting with Doctrine 2 in ZendFramework 2 and am getting the
following error:

PHP Fatal error:  Cannot redeclare class Application\\Entity\\articles in
../../ZendSkeletonApplication/module/Application/src/Application/Entity/articles.php
on line 8

This is a simple Entity class and I know that I don't have a duplicate
class in the project.

I have looked some posts about this, and I am wondering about some type of
autoloading routine that is not aware that the class is already declared.
 Any idea as to how to trouble shoot this would be appreciated.

Feel like this should be simple or obvious, but alas, it is not for me.  My
experimentation is following the zend tutorial from Feb 2013.  Tutorial
worked fine.  When I started experimenting with my own database, I got the
class re-declaration problem.


-- 
------------------------------------------------
John Wynstra
Library Information Systems Specialist
Rod Library
University of Northern Iowa
Cedar Falls, IA  50613
wyns...@uni.edu
(319)273-6399
------------------------------------------------

Reply via email to