[ixpmanager] Issues running these commands

Barry O'Donovan barry.odonovan at inex.ie
Wed Sep 28 07:40:15 IST 2016


,

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




More information about the ixpmanager mailing list