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
Blank screen when running installer.php
Started 16 years ago by ron | 8 posts |
-
I setup a database in MYSQL, installed PHP, then uploaded the files to the target folder on my web server. Then I navigated to http://dev.local/forms/installer.php and got a blank page. In fact, the response was totally empty.
In the Apache log was:
192.168.1.101 - - [28/Apr/2009:21:39:39 +0000] "GET /forms/installer.php HTTP/1.1" 500 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2)"I then tested my Apache2 configuration by creating a hello.php and putting it in the same directory as installer.php. When I navigated to it, I saw the expected page.
I an running Ubuntu 8.04 with Apache 2.2.8-1ubuntu0.5 and PHP 5.2.4-2ubintu5.6
FYI, I am a contractor for TeachersWithoutBorders.org, who is the purchaser of MachForm
Posted 16 years ago # -
It was a PHP dependency problem. Anyway it could be made to fail more gracefully?
This is the first component of our website that uses PHP. It was chosen because it is, by far, the best option we could find.
While your product, it self, is easy to install, your instructions assume too much prior knowledge of installing and configuring PHP.
The instructions page should have at least mentioned the needed modules as well as, at least, links to information about installing PHP.
Posted 16 years ago # -
Hello ron,
Thank you for the feedback and sorry for the trouble.
Actually, we have put MachForm requirements here:
http://www.appnitro.com/machform/requirementsMost hosting company already has PHP installed, that's why we don't provide any instruction to install PHP, instead we're putting it into our requirements list.
MachForm Founder
Posted 16 years ago # -
What was the php dependency problem you found. I am seeing the same blank page.
Error log:
[Tue Sep 29 12:28:25 2009] [error] [client 192.168.2.133] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Tue Sep 29 12:28:25 2009] [error] [client 192.168.2.133] PHP Fatal error: Unknown: Failed opening required '/var/www/html/machform/installer.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0Access log:
192.168.2.133 - - [29/Sep/2009:12:28:25 -0400] "GET /machform/installer.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3I am running PHP version 5.2.9 on Linux and MySQL 5.1.37
I have confirmed the file permission, but still get a blank page.
Posted 15 years ago # -
Make sure to set your "machform" folder permission to 755 (CHMOD 755).
All other files and folder should have this permission as well.The only exception is "machform/data" folder. This one needs 777 permission.
MachForm Founder
Posted 15 years ago # -
I had MachForm running fine. Then I started getting email problems and also had some other issues that were not the fault of your program I decided to start over. I reinstalled MachForm (using a fresh download from your site)and went through the same config and FTP steps I did before. But this time when I entered the install.php url I simply got a blank screen and the word "Done" in the lower left corner. Assuming I did something wrong I wnet through the whole process again but got the same results. Please advise.
Posted 15 years ago # -
I think the problem was that I changed the config.php file beyond what the instructions suggested. I did this BEFORE uploading the program files to my server. I decided to upload a brand new fresh set of files with only the database and admin entries changed in the config file. This time the installer.php page came up fine and I was able to finish the install and then change the other config entries I wanted to change. Everything seems to be working fine now.
Posted 15 years ago # -
Did you use notepad that comes with windows? This can cause ^M characters to be inserted at the end of the line and you will get the same behaviour. A good editor to use would be Notepad++ or an PHP IDE like Netbeans.
Regards,
Saghalie
http://www.kcmhosting.comPosted 15 years ago #
Reply
You must log in to post.