Jump to content

Recommended Posts

Posted

Hi all,

 

I am trying to install the genealogy software Phpgedview

http://www.phpgedview.net/

 

I followed the installation guide:

http://wiki.phpgedview.net/en/index.php?ti...on_Guide_v4.2.x

It appears HelioHost should support Phpgedview.

 

However, when I reach the final configuration, running the PHP script, I get:

Fatal error: Undefined class constant 'ATTR_DEFAULT_FETCH_MODE' in /home/***/public_html/phpgedview/includes/classes/class_pgv_db.php on line 118

 

This appears to be part of the MySQL PDO:

e.g. some of the PHP code is: PDO::ATTR_DEFAULT_FETCH_MODE=>PDO::FETCH_OBJ,

 

Does anyone know why this problem exists?

 

Thanks!

  • 5 months later...
Posted

Did you get an answer to this? I'm having exactly the same problem. The error is caused by this bit of code, but I don't know anything about coding to know how to fix it.

 

PDO::ATTR_DEFAULT_FETCH_MODE=>PDO::FETCH_OBJ,

 

With the error message being:

Fatal error: Undefined class constant 'ATTR_DEFAULT_FETCH_MODE'

Posted

Unfortunately, it's looking like this is a problem on PDO's side. I suggest contacting them. If they have any steps that I need to complete, please let me know.

Posted

That guide suggests that I reinstall PHP. And it's suggesting I do it from preexisting binaries, which isn't a good idea.

Posted

I'll take your word for it. I have managed to find an older version of the program that does not use PDO, just to get me going. I don't like the idea of having a site and not being able to use it.

 

I will continue to search for a solution to this problem, but until you hear from me again, don't worry on my account. This site is so much faster than my old site and so much easier to use, I am over the moon!

Guest
This topic is now closed to further replies.
×
×
  • Create New...