mrdarc Posted July 14, 2008 Posted July 14, 2008 Does heliohost support the PDO classes in PHP5? I'm new here and haven't even earned the points to create a new account.
Ashoat Posted July 14, 2008 Posted July 14, 2008 Sorry, but no we don't. I'll put that in the upgrade list for Stevie's installation. PS: You don't need any points for accounts anymore. Just signup for an "ad-based" account - it doesn't actually have ads anymore
mrdarc Posted July 29, 2008 Author Posted July 29, 2008 Are you going to include PDO class support soon? I'm not trying to rush you. Just want to know so I can decide what method to use to code my site. Thanks.
Ashoat Posted July 29, 2008 Posted July 29, 2008 Sorry I didn't alert you, but I enabled PDO for Stevie Request a move to him in the Server Move forum.
mrdarc Posted July 29, 2008 Author Posted July 29, 2008 Hmm.. I just signed up for this account so it is already on the Stevie server. I guess the problem would be me doing something wrong. How would you reference it on this site? On my default installation of PHP using wamp, I can get it to work by using the following quick test: $db = new PDO(); It give me a warning that "PDO::__construct() expects at least 1 parameter". But I know that it is working. I also got it working before when I put in all the parameters. I tried the same above code on this site and it gives me the follow error: Fatal error: Class 'PDO' not found in /home/myaccountname/public_html/index.php Anybody have any clue what I need to do? Thanks a lot.
Ashoat Posted July 29, 2008 Posted July 29, 2008 The problems with the Ioncube loaders (see the topic involving Fantastico issues) reset the php.ini configuration file, getting rid of the PDO extension loader. Try again now - it should work.
mrdarc Posted July 29, 2008 Author Posted July 29, 2008 Yup, I can verify that it works now. You rock djbob.
mrdarc Posted July 30, 2008 Author Posted July 30, 2008 djbob, It is saying Fatal error: Class 'PDO' not found again. I guess it got turned off. Can you re-enable? Thanks.
Ashoat Posted July 30, 2008 Posted July 30, 2008 I thought my last try fixed everything, but it is still erasing php.ini every day. I take it Fantastico isn't working as well? It should now be fixed for the day. I will continue trying to figure this out.
CriBaby Posted July 30, 2008 Posted July 30, 2008 Find out at what time it's deleting it and then write a script to recreate it? Beats the heck out of trying to find some bogus bug that's deleting it.
Ashoat Posted July 30, 2008 Posted July 30, 2008 Contacting cPanel support sounds like the best idea to me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now