Forum

DOMDocument issue f...
 
Notifications
Clear all

DOMDocument issue following upgrade from 3.4.4

7 Posts
3 Users
0 Reactions
12.5 K Views
(@rexeh)
Posts: 85
Active Member
Topic starter
 
[#1500]

Did a dry run upgrade this evening to 4.0.5 from 3.4.4 and no elements in the system now display (tickets etc).

Error is:

ERROR : Impossible to load class DOMDocument
=> Not found in ../model/DOMDocument.php
=> Not found in ../model/persistence/DOMDocument.php


 
Posted : 02 Dec 2013 22H14
(@babynus)
Posts: 14952
Member Admin
 

There is no reference to DOMDocument in ProjeQtOr.
You may be facing a PHP session mess.
Try to stop PHP server, clean session (in PHP Temp directory) and restart.


 
Posted : 03 Dec 2013 2H29
(@rexeh)
Posts: 85
Active Member
Topic starter
 

Correct you are many thanks.

For anyone else with the issue, this is caused by replicating an install / DB to a new folder on the same server. You'll need to kill HTTPD once this is done to flush it out.


 
Posted : 03 Dec 2013 19H19
(@gengen)
Posts: 10
Active Member
 

Hi,

I have exactly the same issue but I can't solve it.

I wish to have a test environment so :
- I copied the database from my main installation (Project'Or RIA 3.0.2) to a new database.
- I installed ProjeQtOr 4.0.5 on the same Apache/PHP server as my main installation.
- Both installations use the same domain name/port ( http://myserver/projectorria et http://myserver/projeqtor-test).

After I noticed the issue, I found this topic so I stopped the httpd service, deleted all the PHP sessions in /var/lib/php/session/ and restarted the httpd service.
But the issue is still there.

I also tried to change the PHP session id by adding the line session_name("PHPSESSIDTEST"); before session_start(); in manual/manual.php and tool/projector.php.

Finally, I created a virtualhost on port 8080. But it didn't help (maybe because the domain name is seen as the same by Apache).

Do you have an other idea to solve this ?


 
Posted : 04 Dec 2013 13H24
(@babynus)
Posts: 14952
Member Admin
 

Have you another application running on this PHP server ?
The issue may come from this other application.
Try and uninstall it and try again.


 
Posted : 04 Dec 2013 18H13
(@gengen)
Posts: 10
Active Member
 

Thank you for your quick answer.

I found the error. I lacked the php-xml module.
The use of DOMDocument class seems to have been introduced in v4.0.0, that's why I don't have this issue on my main environment (which uses v3.0.2).
I installed php-xml module and everything is fine 🙂

Edit : If it can help, this module is not installed by default when you install PHP 5.3 on a RHEL server ( v5.8 ).


 
Posted : 04 Dec 2013 18H49
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I completed pre-requisites in README file with this constraint.

Thanks.


 
Posted : 04 Dec 2013 19H21
Share:

Scroll to Top