-
☆ A M B ☆
- 536 Posts
After update drom 2.1.5 to 2.2 i get this error:
Fatal error: Class 'PDO' not found in /home/ghg/public_html/core/model/modx/modx.class.php on line 436
can somebody help me?
[ed. note: lastoftheromans last edited this post 14 years, 9 months ago.]
palma non sine pulvere
-
MODX Staff
- 10,725 Posts
Sounds like part of your upload failed if you had 2.1.5 working. PDO is a basic requirement for MODX Revolution to work.
-
☆ A M B ☆
- 536 Posts
hello Jason,
yes, my 2.1.5 work perfect. but what kind of upload issue? i upload my files with FileZilla in Binary mode...
Thanks
palma non sine pulvere
I've ran into this issue before and had to re-install. That worked for me so I didn't look into it any further...
-
☆ A M B ☆
- 536 Posts
Gibbs,
i try to re-install 2 or 3 times my 2.2.0...but i have no result.
the real troublesome is when i try to rollback update to 2.1.5 and i get absolutely same error in front of my site and when i try to open my manager panel i get:
Fatal error: Undefined class constant 'OPT_CONN_INIT' in /home/dfdf/public_html/boss/index.php on line 56
palma non sine pulvere
-
☆ A M B ☆
- 2,213 Posts
Do you have a custom php.ini file?
-
☆ A M B ☆
- 536 Posts
yes and in my php.ini i have only:
date.timezone = 'Europe/Sofia'
palma non sine pulvere
-
☆ A M B ☆
- 2,213 Posts
That's likely whats causing the problem. I would recommend using
http://tips-scripts.com/php_ini to create the php.ini file. It copies the system php.ini and makes the adjustments for you.
-
☆ A M B ☆
- 24,524 Posts
Indeed. There are plenty of know-it-alls who will scoff at needing any more than the specific directives you want to change in your custom php.ini file, but it's a far better practice to use a full copy of the default php.ini file and then edit the directives you need to customize.