# Geting php error after publish project in config file

**URL:** <https://forum.radsystems.io/t/geting-php-error-after-publish-project-in-config-file/531>\
**Category:** PHPRad Classic\
**Created:** [September 22, 2021, 4:52am UTC](https://forum.radsystems.io/t/geting-php-error-after-publish-project-in-config-file/531 "2021-09-22T04:52:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![winsharif](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/w/ecd19e/32.png) [@winsharif](https://forum.radsystems.io/u/winsharif)\
**Post date:** [September 22, 2021, 4:52am UTC](https://forum.radsystems.io/t/geting-php-error-after-publish-project-in-config-file/531/1 "2021-09-22T04:52:55Z")

</div>

Hello after publishing my project config file looks some wrong code generating.

// Database Configuration Settings  
define(“DB\_HOST”, “\_\_dbhost”);  
define(“DB\_USERNAME”, “\_\_dbuser”);  
define(“DB\_PASSWORD”, “\_\_dbpassword”);  
define(“DB\_NAME”, “\_\_dbname”);  
define(“DB\_TYPE”, “\_\_dbtype”);  
define(“DB\_PORT”, “\_\_dbport”);  
define(“DB\_CHARSET”, “\_\_dbcharset”);

define(“MAX\_RECORD\_COUNT”, \_\_maxrecordlimit); //Default Max Records to Retrieve per Page  
define(“ORDER\_TYPE”, “DESC”); //Default Order Type

// Active User Profile Details  
\_\_userdefinedid  
\_\_userdefinedusername  
\_\_userdefinedemail  
\_\_userdefinedphoto  
\_\_userdefinedrole

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [September 23, 2021, 4:21pm UTC](https://forum.radsystems.io/t/geting-php-error-after-publish-project-in-config-file/531/2 "2021-09-23T16:21:51Z")

</div>

@winsharif this is not an issue with the latest **Radsystems Studio(PHPRad Classic)**. Please, post or search [PHPRad Forum](https://phprad.com/forum/) for the old **PHPrad Classic** issues. And also when you create a project publish the project at least once before you begin any configurations.

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [September 23, 2021, 4:21pm UTC](https://forum.radsystems.io/t/geting-php-error-after-publish-project-in-config-file/531/3 "2021-09-23T16:21:59Z")

</div>


