Support Forums


If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PRIORITY SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 duceduc 18-03-2017 14:30:51

Hi David.
I am getting an error during the initial setup. When I try to run the install, the log shows.

[Error Code: 1] Uncaught Error: Call to undefined function mysqli_connect() in /home/pi/www/grav/sites/journal/control/classes/class.db.php:20
Stack trace:
#0 /home/pi/www/grav/sites/journal/install/index.php(44): db->db_conn()
#1 {main}
  thrown
[Date/Time: 18 March 2017 @ 14:08PM]
[Fatal error on line 20 in file /home/pi/www/grav/sites/journal/control/classes/class.db.php]

I have tried uncommenting extensions in php.ini
php_mysqli.dll
php_pdo_mysql.dll

I am running:
Ngnix
php7

Is php7 not supported?

#2 msworld 18-03-2017 15:43:00

Hi Duc,

Of course PHP7 is supported as it states on the website. smile

The error gives the reason why it`s failing. The 'mysqli' functions are not enabled, which are required by Maian Weblog.

When you uncommented the lines, did you reboot the server?

#3 duceduc 19-03-2017 00:35:17

Hi David,
I am almost there. Since I am running a Linux box and not Windows, enabling the .dll extensions wouldn't work. I had to install a few extensions.

sudo apt-get install php7.0-mysqli
 

I can see the installer page now, but I still need to install one more extension.

sudo apt-get install php7.0-mcrypt
 

However, it is complaining a depends specific version is needed.

The following packages have unmet dependencies:
 php7.0-mcrypt : Depends: libltdl7 (>= 2.4.6) but 2.4.2-1.11 is to be installed
E: Unable to correct problems, you have held broken packages.

Ah. I figured it out. I added a repo when I installed php7. So I needed to call that same repo when installing php7.0-mcrypt

Last edited by duceduc (19-03-2017 11:13:00)

#4 msworld 20-03-2017 08:09:40

Glad you got it working. smile

Board footer