Appnitro Software Forums » MachForm 2

Keep getting this error...


  1. Parse error: syntax error, unexpected T_STRING in /home/tige/public_html/machform/config.php on line 15

    I created my database, changed the config file to the best of my knowledge (I'm not sure what to put for the host. I use Bludomain and have cPanelX), and then uploaded the folder to my public_html folder. Any help would be appreciated! :) Thanks!

    Posted 3 years ago #
  2. 'nother question. When you type in your info in the config file are you supposed to take out the "//" after the semi-colon? Example: define('DB_HOST', 'localhost'); //localhost.

    This seems so simple and yet, I just can't get it to work.

    Posted 3 years ago #
  3. redityo

    Hi,

    It seems there is a missing configuration in your config.php, anyway you do not have to remove the text after semi-colon. For example you have an information like this :

    database name : machform_form
    user name : machform_user
    host : localhost

    your config.php should be like this :

    /** MySQL settings **/
    define('DB_NAME', 'machform_form'); //The name of your database. Note that this database must exist before running installer.php
    define('DB_USER', 'machform_user'); //Your database username
    define('DB_PASSWORD', 'thispassword'); //Your database users password
    define('DB_HOST', 'localhost'); //The hostname for your database

    however if you have difficulty to installing machform, we'll be glad to help you. Please submit your information to :

    http://www.appnitro.com/forms/view.php?id=2


    MachForm Support

    Posted 3 years ago #

RSS feed for this topic

Reply