HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


mySQLi not on server (anymore?).

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#21739 (In Topic #5232)

Non-joined user

issue

I keep getting this after the instation is complete. How may I fix?'

ocPortal error

mySQLi not on server (anymore?). Try using the 'mysql' database driver. To use it, edit the info.php config file.

Details here are intended for the website/system-administrator, not for regular website users. If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, you may need to edit the base configuration (the info.php file).

ocProducts maintains full documentation for all procedures and tools. These may be found on the /. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

Back to the top
 
Posted
Rating:
#21741
Avatar

This is a very strange problem. You seem to have installed ocPortal with an alternative database driver (mysqli) but the installer won't actually let you do this unless you can actually use it (it won't be in the list, and even if it was, you'd get the same error message you're reporting here). To be honest, I'm at a bit of a loss as to what might have happened - I can only think of two possibilities:
  1. You installed via a different server to what you're running your site on. I suppose this is possible, but I've never seen it before.
  2. The server configuration changed after installation (this seems very unlikely, especially if the problem happened more than once).

Anyway, the solution is contained in the error message - you need to use the linked tool to change your configuration. Once you've logged into it with the password you specified during installation, you'll see a field containing 'mysqli' and you'll need to change that to 'mysql'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#21766

Non-joined user

reply

I went into the config file and it already had mysql on there. So that tripped me out even more :( what should I do

Back to the top
 
Posted
Rating:
#21770
Avatar

How big (in bytes) is the sources/database/mysql.php on your server?
I am thinking that possibly the other file was put in it's place, although I'm not sure how that could have happened.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#21777

Non-joined user

I have no clue

How can I check for that file?

Back to the top
 
Posted
Rating:
#21796
Avatar

Most FTP programs will allow you to do it. Typically you would connect to your server using your FTP access details and then right click on a file and click 'Properties'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#21881

Non-joined user

Ss

I tried to re-install but now it says it cant connect to the database. Even though I'm preaty sure all the information was corrent. Same issue was happening last time, I just keept clicking install and it somehow installed. I dunno whats wrong. I sucessfully installed Geeklog with no issues. Though I really want Oc portal. It has everything I need of the bat. If I give you my cpanel/ftp information do you think you can check out whats wrong?

Back to the top
 
Posted
Rating:
#21883
Avatar

Fan in training

oh that was me btw
Back to the top
 
Posted
Rating:
#21895
Avatar

We can provide a paid installation service for you. Alternatively, if you still have the installation that is giving the 'mysqli' problem, I'd be willing to have a look at that for free and try and repair it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: