Soon, we’ll be announcing a fresh new marketplace for TastyIgniter developers.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

undefined function mysql_pconnect()

Exclamation
#1 lewismay Offline Newbie
Hi,

Just installed Tastyignigter and I keep getting this error in the logs.php and a blank screen when I visit the site. I'm running a very standard LAMP stack on an Ubuntu droplet that is also hosting a wordpress site (without issue). Any advice would be welcome.

Thanks!

ERROR - 2018-05-21 12:28:13 --> Severity: error --> Exception: Call to undefined function mysql_pconnect() /var/www/html/TastyIgniter-2.1.1/system/database/drivers/mysql/mysql_driver.php 136
#2 sampoyigi Offline 1 == 2
Hmm.. Try setting the driver to mysqli within the system/tastyigniter/config/database.php file.

Should look like this.
Code:
$db['default']['dbdriver'] = 'mysqli';
#3 lewismay Offline Newbie
Thanks sampoyigi. Managed to fix this by switching to php5.6, I was using php7.0

Possibly Related Threads...

Thread / Author
Notification
Last Post g3ry made 18 Jun, 01:02 PM
Forum Jump:

Users browsing this thread: 1 Guest(s)