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
I have problem to install
Started 16 years ago by dubchristian | 6 posts |
-
I just test the software in my localhost..
I Create the database in mysql and i configure the config.php.In the browser i have this error.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/var/www/machform/installer.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
The files have all permision 777 ...
Posted 16 years ago # -
Hmm.. that's weird. So you have the correct config.php file under machform folder?
Try to run the installer script directly, like this:
http://localhost/machform/installer.phpLet me know the progress.
MachForm Founder
Posted 16 years ago # -
i tried http://localhost/machform/installer.php
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0Fatal error: Unknown: Failed opening required '/var/www/machform/installer.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
I put my in config.php
******************************************************************************
<?php
/*
MachForm Configuration File
THIS FILE MUST BE RENAMED config.php BEFORE STARTING INSTALLATION
*//** MySQL settings **/
define('DB_NAME', 'matchform'); //The name of your database. Note that this database must exist before running installer.php
define('DB_USER', 'root'); //Your database username
define('DB_PASSWORD', 'univaca'); //Your database users password
define('DB_HOST', 'localhost'); //The hostname for your database/** Admin user and password **/
define('ADMIN_USER','root');
define('ADMIN_PASSWORD','univaca');/** Data folder **/
/** Normally, you can just leave this **/
define('DATA_DIR', './data');/** CAPTCHA settings **/
/** To use reCAPTCHA you must get an API key from http://recaptcha.net/api/getkey **/
define('RECAPTCHA_PUBLIC_KEY','');
define('RECAPTCHA_PRIVATE_KEY','');/** Notification email settings **/
define('NOTIFICATION_MAIL_FROM','dubchristian@yahoo.com.ar'); //default is 'no-reply@yourdomain.com'
define('NOTIFICATION_MAIL_FROM_NAME','MachForm'); //default is 'MachForm'
define('NOTIFICATION_MAIL_SUBJECT','{form_name} [#{entry_no}]'); //default is '{form_name} [#{entry_no}]'/** Current MachForm Version **/
define('MACHFORM_VERSION','1.2');error_reporting(E_ALL ^ E_NOTICE);
?>
**********************************************Pd: Thank for the fast reply. Sorry for my English..
Posted 16 years ago # -
This seem to be permission problem. Your config.php file is already correct.
Try to change the permission of your machform folder and all files under that folder to 755. Don't do 777.Then set the 777 to data folder only.
If it doesn't work either, I'm afraid you will need to upload it to your site so I can help you directly.
MachForm Founder
Posted 16 years ago # -
You are right.. Thanks !!!! :-) ...
Posted 16 years ago # -
Awesome :-)
MachForm Founder
Posted 16 years ago #
Reply
You must log in to post.