# Error during setup

**URL:** <https://discourse.libretime.org/t/error-during-setup/394>\
**Category:** Get Help\
**Created:** [October 8, 2019, 9:30pm UTC](https://discourse.libretime.org/t/error-during-setup/394 "2019-10-08T21:30:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gliboc](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@gliboc](https://discourse.libretime.org/u/gliboc)\
**Post date:** [October 8, 2019, 9:30pm UTC](https://discourse.libretime.org/t/error-during-setup/394/1 "2019-10-08T21:30:05Z")

</div>

At step 4 of setting up Libretime, I get the following error  
“Failed to insert media folder; database isn’t configured properly!”

![error](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/e207a1e240680d9565bea523ec51d7e4ca4059e5.png)

I installed Libretime using the install script on Xenial Ubuntu. I have looked around quite a bit, but couldn’t find the problem. Could someone help me troubleshooting what’s the issue here ?

---

<div class="post-metadata">

**Author:** ![gliboc](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@gliboc](https://discourse.libretime.org/u/gliboc)\
**Post date:** [October 9, 2019, 6:55am UTC](https://discourse.libretime.org/t/error-during-setup/394/2 "2019-10-09T06:55:37Z")

</div>

I solved the problem out of the blue. It was seemingly caused by using the character ‘&’ in the password for RabbitMq, which caused a PHP fatal error (from apache2 logs):

> PHP Fatal error: Uncaught ErrorException: syntax error, unexpected ‘&’ in /etc/airtime/airtime.conf on line 26\n in /usr/share/airtime/php/airtime\_mvc/application/configs/conf.php:23\nStack trace:\n#0 [internal function]: exception\_error\_handler(2, ‘syntax error, u…’, ‘/usr/share/airt…’, 23, Array)\n#1 /usr/share/airtime/php/airtime\_mvc/application/configs/conf.php(23): parse\_ini\_file(‘/etc/airtime/ai…’, true)\n#2 /usr/share/airtime/php/airtime\_mvc/application/configs/conf.php(111): Config::loadConfig()\n#3 /usr/share/airtime/php/airtime\_mvc/application/Bootstrap.php(3): Config::getConfig()\n#4 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(333): require\_once(‘/usr/share/airt…’)\n#5 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(195): Zend\_Application-\>setBootstrap(‘/usr/share/airt…’, ‘Bootstrap’)\n#6 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(97): Zend\_Application-\>setOptions(Array)\n#7 /usr/share/airtime/php/airtime\_mvc in /usr/share/airtime/php/airtime\_mvc/application/configs/conf.php on line 23

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 9, 2019, 3:17pm UTC](https://discourse.libretime.org/t/error-during-setup/394/3 "2019-10-09T15:17:52Z")

</div>

Cool feel free to open a bug up for this, on our github aka rabbitmq password with special characters causes parsing error.
