Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Critical error involving missing UserDao in new installation #110

Open
HDVUCAIR opened this issue May 13, 2015 · 3 comments
Open

Critical error involving missing UserDao in new installation #110

HDVUCAIR opened this issue May 13, 2015 · 3 comments

Comments

@HDVUCAIR
Copy link

I'm working on a new installation on a RHEL 6 system and encountering an error labeled as critical in the logs which involves a missing UserDao method. I've resolved previous critical errors by installing RHEL rpms missed during the initial setup. I'm wondering if I'm missing some other essential rpm here:

Fatal Error: Array
(
[type] => 1
[message] => AppController::isDynamicHelp(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "UserDao" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition
[file] => /opt/Midas3/core/AppController.php
[line] => 441
[typeText] => E_ERROR
)

Digging into the code a bit, I see on line 89 of the same AppController.php file that Dao is defined by a call to userModel->load. I'm not even sure I'm reading the above error correctly, because line 441 should only be reached if the Dao variable is != null.

Thanks for any advice,
John.

@jamiesnape
Copy link
Contributor

Which version or commit hash of Midas Server are you installing? Did you follow these instructions, adjusted for RHEL version 6 where necessary:

http://midas-server.readthedocs.org/en/latest/installation/linux/#centos-70-and-red-hat-enterprise-linux-70

@HDVUCAIR
Copy link
Author

Unfortunately, I inherited the installation and don't know which instructions they followed - whether from github or the kitware wiki.

Is there somewhere in the installation tree I can look for the commit hash?

In any case, I thought the error might ring a bell for someone. I'll try walking through the link you sent. Perhaps the previous installer missed a library. I get the feeling RHEL has a knack for burying libraries in oddly named rpm packages.

Thanks,
John.

@jamiesnape
Copy link
Contributor

Check core/configs/database.local.ini for a version number.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants