This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
[closed] login problem
Started 16 years ago by Narthex | 2 posts |
-
yuniar,
I have successfully installed mach form on to my server and database has been set up. I changed the config.php file as instructed (see below), but when I log in, the page does not leave the login page. It only refreshes. I attempted to enter an incorrect user and password and it flagged that attempt, but when I enter the correct user/password the page does not progress to the form builder. The code below is the only thing I changed in the config-empty.php/config.php file. Thoughts? Idea?
/** MySQL settings **/
define('DB_NAME', 'machform'); //The name of your database. Note that this database must exist before running installer.php
define('DB_USER', 'xethran'); //Your database username
define('DB_PASSWORD', 'psa247'); //Your database users password
define('DB_HOST', 'localhost'); //The hostname for your database/** Admin user and password **/
define('ADMIN_USER','xethran');
define('ADMIN_PASSWORD','psa247');**************************************************
Here is the DB information:Posted 16 years ago # -
Hmm... this seems to be a session problem.
Try to create a new PHP file and put this code:
<?php session_start(); if(empty($_SESSION['counter'])){ $_SESSION['counter'] = 0; }else{ $_SESSION['counter']++; } echo $_SESSION['counter']; ?>
Upload the file and run the script few times. For every reload, that script should display an incremented number. If not, then there must be an error with your session configuration.I've just sent you an email for more thorough investigation.
Thanks
MachForm Founder
Posted 16 years ago #
Topic Closed
This topic has been closed to new replies.