Fatal error: Class 'PDO' not found in /home/lanryco/public_html/html/index.php on line 25

Feed 2 posts, 2 voices

Jul 13, 2008 18:19
Avatar
15 posts

when i install the cms,it warned that: Fatal error: Class 'PDO' not found in /home/lanryco/public_html/html/index.php on line 25

 
Jul 13, 2008 18:59
Avatar
15 posts

i installed successfully but when i delete all articles it showed like that Fatal error: Call to a member function link() on a non-object in /home/lanryco/public_html/html/frog/app/frontend/classes/Page.php(170) : eval()'d code on line 5

 
Jul 14, 2008 04:20
Avatar
820 posts

If you are using the default installation, I think this should be "line 5":

<h3><?php echo $last_article->link(); ?></h3>

Perhaps the PHP is finding nothing when it expects to have a value? Did you try recreating an Article to see if the error went away?