[ixpmanager] Issues running these commands
email@example.com
Thu Sep 29 09:17:48 IST 2016
Good Morning Barry,
I have tried your suggestion but I am now getting the following message when running the schema creation script:
[Doctrine\ORM\Tools\ToolsException]
Schema-Tool failed with Error 'could not find driver' while executing DDL:
CREATE TABLE irrdbconfig (id INT AUTO_INCREMENT NOT NULL, host VARCHAR(255)
DEFAULT NULL, protocol VARCHAR(255) DEFAULT NULL, source VARCHAR(255) DEFA
ULT NULL, notes LONGTEXT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER S
ET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB
[PDOException]
could not find driver
I have edited the php.ini files for php version 7.0 and 5.6 for apache2 and cli directories and enabled the needed extensions but keep getting this error, I have restarted apache2 and the server but still no joy.
Any suggestions?
Thanks!
Kind Regards,
-
555-555-5555
email@example.com
www.example.com
https://uk.linkedin.com/in/example
-----Original Message-----
From: ixpmanager [mailto:ixpmanager-bounces at inex.ie] On Behalf Of Barry O'Donovan
Sent: 28 September 2016 07:40
To: INEX IXP Manager Mailing List <ixpmanager at inex.ie>
Subject: Re: [ixpmanager] Issues running these commands
,
I suspect if you run:
php -r 'var_dump(function_exists("mb_internal_encoding"));'
you'll get:
bool(false)
??
As far as I recall, multi-byte string functions are built into PHP 5.5.9 on Ubuntu 14.04 LTS (recommended version for IXP Manager v3.x) but on Ubuntu 16.04 LTS you'll need to install with:
apt install php7.0-mbstring
- Barry
wrote:
> Good Morning All,
>
> I am having trouble with the stages below during an install using
> Ubuntu, does anyone have any suggestions or advice to get this
> commands working?
>
> __
>
> _Creating the Schema_
>
> cd /usr/local/ixp/bin
>
> ./doctrine2-cli.php orm:schema-tool:create
>
> cd /usr/local/ixp
>
> mysql -u ixp -p ixp < tools/sql/views.sql
>
> /Error I get from above:/
>
> //
>
> /PHP Fatal error: Uncaught Error: Call to undefined function
> mb_internal_encoding() in /usr/local/ixp/bin/doctrine2-cli.php:31/
>
> /Stack trace:/
>
> /#0 {main}/
>
> /thrown in /usr/local/ixp/bin/doctrine2-cli.php on line 31/
>
> _Run fixtures.php_
>
> sudo -u www-data ./fixtures.php
>
> Error I get from above:
>
> /ERROR 1046 (3D000) at line 8: No database selected/
>
> Thanks in advance!
>
> Kind Regards,
>
>
>
> * - *
>
> *555-555-5555***
>
> email@example.com <mailto:email@example.com>
>
> www.example.com <http://www.example.com/>
>
> https://uk.linkedin.com/in/example
>
> LI-Header-wText
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
_______________________________________________
INEX IXP Manager mailing list
ixpmanager at inex.ie
https://www.inex.ie/mailman/listinfo/ixpmanager
More information about the ixpmanager
mailing list