PHP Warning

Hello,



i´m trying to install mautic on the latest opensuse distribution.



My Errors and Recommendations tell me:



Install and enable the zip extension. This is required to allow Mautic to install language packages and perform updates within the application.

The intl extension is not performing as expected. Please check that PHP’s intl extension is installed and configured properly.

Install and enable the intl extension.



PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/intl.so’ - libicui18n.so.57.1: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/zip.so’ - libzip.so.4: cannot open shared object file: No such file or directory in Unknown on line 0





But, both extensions are installed and configured in php.ini



When i try to load to set languages it fails due to zip.

Trying to set a date for a campaign it fails.

Trying to setup a landing page, it does´t load the editor



Any ideas?



i´m running php5.6.26 and latest mysql / mariadb.

Hello,

i´m trying to install mautic on the latest opensuse distribution.

My Errors and Recommendations tell me:

Install and enable the zip extension. This is required to allow Mautic to install language packages and perform updates within the application.
The intl extension is not performing as expected. Please check that PHP’s intl extension is installed and configured properly.
Install and enable the intl extension.

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/intl.so’ - libicui18n.so.57.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/zip.so’ - libzip.so.4: cannot open shared object file: No such file or directory in Unknown on line 0

But, both extensions are installed and configured in php.ini

When i try to load to set languages it fails due to zip.
Trying to set a date for a campaign it fails.
Trying to setup a landing page, it does´t load the editor

Any ideas?

i´m running php5.6.26 and latest mysql / mariadb.

Hi,

actually not sure what you mean.

info.php states: extension_dir /usr/lib64/php5/extensions

Latest errors from mautic logs:

[2016-08-26 10:44:08] mautic.ERROR: SCHEMA ERROR: An exception occurred while executing ‘SELECT f.alias, f.is_unique_identifer as is_unique, f.type FROM SuCalead_fields f ORDER BY f.field_order ASC’: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘AutoMarket.SuCalead_fields’ doesn’t exist [] []
[2016-08-26 10:44:13] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service “fos_rest.form.extension.csrf_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /srv/www/htdocs/campaign/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []
[2016-08-26 10:45:20] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service “fos_rest.form.extension.csrf_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /srv/www/htdocs/campaign/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []
[2016-08-26 12:28:33] mautic.ERROR: Error: Class ‘ZipArchive’ not found - in file /srv/www/htdocs/campaign/app/bundles/CoreBundle/Helper/LanguageHelper.php - at line 73 [] []
[2016-08-26 14:18:03] mautic.ERROR: Error: Class ‘ZipArchive’ not found - in file /srv/www/htdocs/campaign/app/bundles/CoreBundle/Helper/LanguageHelper.php - at line 73 [] []
[2016-08-26 14:25:05] mautic.ERROR: Error: Class ‘ZipArchive’ not found - in file /srv/www/htdocs/campaign/app/bundles/CoreBundle/Helper/LanguageHelper.php - at line 73 [] []

I´m not getting it, because zip extension is installed

Hi,
after having set always_populate_rawdata -1 in php.ini, i got rid off the error messages for intl & zip extension.

But, i can´t still setup forms, landing pages and upload assets.

In the error log within mautic i see these errors:

[2016-08-29 09:17:01] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service “fos_rest.form.extension.csrf_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /srv/www/htdocs/campaign/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []
[2016-08-29 09:17:51] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service “fos_rest.form.extension.csrf_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /srv/www/htdocs/campaign/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []
[2016-08-29 09:25:10] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service “fos_rest.form.extension.csrf_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /srv/www/htdocs/campaign/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []
[2016-08-29 09:42:49] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionDriverException: “An exception occurred while executing ‘UPDATE SuCaleads SET position = ?, mobile = ?, phone = ?, fax = ?, address1 = ?, address2 = ?, city = ?, state = ?, zipcode = ?, country = ?, attribution_date = ?, attribution = ?, website = ?, facebook = ?, foursquare = ?, googleplus = ?, instagram = ?, linkedin = ?, skype = ?, twitter = ? WHERE id = ?’ with params [null, null, null, null, null, null, null, null, null, null, “2016-08-29”, “0,00”, null, null, null, null, null, null, null, null, 1]: SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1” at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 {“exception”:"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing ‘UPDATE SuCaleads SET position = ?, mobile = ?, phone = ?, fax = ?, address1 = ?, address2 = ?, city = ?, state = ?, zipcode = ?, country = ?, attribution_date = ?, attribution = ?, website = ?, facebook = ?, foursquare = ?, googleplus = ?, instagram = ?, linkedin = ?, skype = ?, twitter = ? WHERE id = ?’ with params [null, null, null, null, null, null, null, null, null, null, “2016-08-29”, “0,00”, null, null, null, null, null, null, null, null, 1]:nnSQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115, Doctrine\DBAL\Driver\PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

Any idea?

Another error, when trying to create a form:

[2016-08-29 09:42:49] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionDriverException: “An exception occurred while executing ‘UPDATE SuCaleads SET position = ?, mobile = ?, phone = ?, fax = ?, address1 = ?, address2 = ?, city = ?, state = ?, zipcode = ?, country = ?, attribution_date = ?, attribution = ?, website = ?, facebook = ?, foursquare = ?, googleplus = ?, instagram = ?, linkedin = ?, skype = ?, twitter = ? WHERE id = ?’ with params [null, null, null, null, null, null, null, null, null, null, “2016-08-29”, “0,00”, null, null, null, null, null, null, null, null, 1]: SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1” at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 {“exception”:"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing ‘UPDATE SuCaleads SET position = ?, mobile = ?, phone = ?, fax = ?, address1 = ?, address2 = ?, city = ?, state = ?, zipcode = ?, country = ?, attribution_date = ?, attribution = ?, website = ?, facebook = ?, foursquare = ?, googleplus = ?, instagram = ?, linkedin = ?, skype = ?, twitter = ? WHERE id = ?’ with params [null, null, null, null, null, null, null, null, null, null, “2016-08-29”, “0,00”, null, null, null, null, null, null, null, null, 1]:nnSQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115, Doctrine\DBAL\Driver\PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘attribution’ at row 1 at /srv/www/htdocs/campaign/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []
[2016-08-29 12:32:07] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionAccessDeniedHttpException: “Unbefugter Zugriff auf die URL: /campaign/s/dashboard/index.php” at /srv/www/htdocs/campaign/app/bundles/CoreBundle/Controller/CommonController.php line 406 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException(code: 0): Unbefugter Zugriff auf die URL: /campaign/s/dashboard/index.php at /srv/www/htdocs/campaign/app/bundles/CoreBundle/Controller/CommonController.php:406)"} []