brianlange Posted September 29, 2010 Share Posted September 29, 2010 My website uses the Zend Framework. It also use openx to serve ads. Openx uses parts of the Zend Framework. I am getting this error. Cannot redeclare class Zend_Registry. require_once is used so I am wondering why this is happening at all. Any ideas on what I can try? I am moving servers and have a similar working set up on a existing server so I was surprised to see this breaking. Thanks, Brian Quote Link to comment https://forums.phpfreaks.com/topic/214756-cannot-redeclare-class-zend_registry/ Share on other sites More sharing options...
ignace Posted September 29, 2010 Share Posted September 29, 2010 post your code! Quote Link to comment https://forums.phpfreaks.com/topic/214756-cannot-redeclare-class-zend_registry/#findComment-1117320 Share on other sites More sharing options...
brianlange Posted September 29, 2010 Author Share Posted September 29, 2010 I found where Openx was including zend classes and set it to the path my website uses. This appears to solve the problem. Quote Link to comment https://forums.phpfreaks.com/topic/214756-cannot-redeclare-class-zend_registry/#findComment-1117332 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.