Bug #951

Missing php-xml dependency

Added by Giacomo Sanchietti over 7 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:03/29/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Security class: Resolution:
Affected version:DEV1 NEEDINFO:

Description

Nethgui use php class XMLReader which is part of php-xml rpm.

Insert php-xml among nethserver-nethgui dependencies to avoid errors like this:

Fatal error: Class 'XMLReader' not found in /usr/share/nethesis/Nethgui/Module/Help/Show.php on line 74

After installing php-xml we also have this kind of error:

Warning: XMLReader::open(): Unable to open source data in /usr/share/nethesis/Nethgui/Module/Help/Show.php on line 75

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nethesis/Nethgui/Module/Help/Show.php:75) in /usr/share/nethesis/Nethgui/Framework.php on line 481

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nethesis/Nethgui/Module/Help/Show.php:75) in /usr/share/nethesis/Nethgui/Framework.php on line 481
<!DOCTYPE html>
.....

Associated revisions

Revision 425bea9e
Added by Davide Principi over 7 years ago

Show UI module: fixed resource not found case. Refs #951 - Missing php-xml dependency

History

#1 Updated by Davide Principi over 7 years ago

  • Project changed from NethServer 6 to Nethgui
  • Category deleted (nethserver-httpd)

#2 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi

#3 Updated by Davide Principi over 7 years ago

  • Affected version set to DEV1

#4 Updated by Davide Principi over 7 years ago

  • Subject changed from php-xml dependency to Missing php-xml dependency

#5 Updated by Davide Principi over 7 years ago

  • Target version set to DEV2

#6 Updated by Davide Principi over 7 years ago

Giacomo Sanchietti wrote:

After installing php-xml we also have this kind of error..

This happens for non-existing documents.

We must return a 404 response.

#7 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to 7
  • % Done changed from 0 to 100

#9 Updated by Davide Principi over 5 years ago

  • Target version deleted (DEV2)

Also available in: Atom PDF