Yii Framework Forum: error : YiiBase::include(DOMDocument.php) failed to open stream: No such file or directory - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

error : YiiBase::include(DOMDocument.php) failed to open stream: No such file or directory Rate Topic: -----

#1 User is offline   matz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 27-November 09

Posted 27 November 2009 - 07:04 AM

Hello All,

Very new to PHP (2 days). looking at Yii and its been good so far.
When i deploy my application to web server i get following error when i try to use crud functions. Looks like server has no php-xml package installed and I cant do it ( fedora core 5 ) Anything i can do to get this working ?

PHP version 5.1.6
no php-xml package installed


YiiBase::include(DOMDocument.php) [<a href='function.YiiBase-include'>function.YiiBase-include</a>]: failed to open stream: No such file or directory
0

#2 User is offline   killermonk 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 27-July 09

Posted 27 November 2009 - 01:57 PM

Well, if you are trying to do something that requires the use of the php-xml package, then you need to install the package. Do some searching for how to install the package on your given distribution.
0

#3 User is offline   emrald 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 20-July 11

Posted 29 November 2011 - 04:06 AM

In your project index.php file add this:
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_DEPRECATED);

:rolleyes: :rolleyes:
:lol: :lol:
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users