install.php shows only a blank screen, v1.2.9

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
DavidSinger

install.php shows only a blank screen, v1.2.9

Post by DavidSinger »

Running brower information:
WIN7 starter SP1
IE8

MantisBT information:
V1.2.9

Host information:
Apache server
MySQL 5.1.54
PHP

General background:
Successfully running other databases, such as OpenDocumentMan.
Database for mantis was manually created, admin account manually created.
FTP'd unzipped 1.2.9 zip package to host server at www/www/mantis/*.* (www/www is how my server identifies the root path)

PROBLEM:

When I attempt access via browser, as stipulated in the install section of the manual, using address:
http://mysite/mantis/admin/install.php
all I get is a very nice and clean white page.
No error messages.
No popup blocker message.

Is there something I did wrong?
Is there a manual work-around to continue the install?

Thanks,
David
atrol
Site Admin
Posts: 8562
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: install.php shows only a blank screen, v1.2.9

Post by atrol »

DavidSinger wrote:admin account manually created.
Is there any reason for it? What exactly did you do?
Please use Search before posting and read the Manual
DavidSinger

Re: install.php shows only a blank screen, v1.2.9

Post by DavidSinger »

atrol wrote:
DavidSinger wrote:admin account manually created.
Is there any reason for it? What exactly did you do?
Yes. On my first attempt at following the instructions, I trusted the statement from the user manual that says:
"3. Next we will create the necessary database tables and a basic configurationfile.From
your web server, access http://yoursite/mantisbt/admin/install.php.

But installation stalled at that step (with the white screen in my browser).
So, being an impatient geek, I figured I forgot to set up a database and its corresponding admin account by hand, which is required by other application installs. I also figured I wouldn't blow up Cincinnati if I gave it a try.

Of course, I've not checked this morning. Is Cincinnati still there?

David
atrol
Site Admin
Posts: 8562
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: install.php shows only a blank screen, v1.2.9

Post by atrol »

1) have a look at he webserver log file for errors/warnings
2) change line 31 of install php from

Code: Select all

@require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );
to

Code: Select all

require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );
Please use Search before posting and read the Manual
DavidSinger

Re: install.php shows only a blank screen, v1.2.9

Post by DavidSinger »

atrol wrote:1) have a look at he webserver log file for errors/warnings
2) change line 31 of install php from

Code: Select all

@require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );
to

Code: Select all

require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' );
1. I got the following response from server support:
"Hello,
If the script executes without errors, the error logs will not contain anything which you can use to debug your application.
The access logs are unlikely to be helpful for such a debugging issue. The error logs are separate and are not user-accessible, as they are shared for all users on the server. They will contain entries only if you have received error code 500 (Internal Server Error). Is this the case? If not, the error logs will not contain useful information to you.
Best regards,
Support"

When I called for the script to run via the address line in my browser, the screen only showed white. No error message appeared. I can recreate this white screen 100% of the time.

2. I removed the at-sign as suggested and ran the browser command again. This time, not quite a blank screen:
http://[mysite]/mantis/admin/install.php
yields:
"Parse error: syntax error, unexpected ')' in /home/[myaccount]/www/www/mantis/core/filter_api.php on line 3480"

Better than nothing, and I checked: Cincinati is still there.
David
rmc
Posts: 8
Joined: 23 Mar 2012, 11:47

Re: install.php shows only a blank screen, v1.2.9

Post by rmc »

DavidSinger wrote:MantisBT information:
V1.2.9

Host information:
Apache server
MySQL 5.1.54
PHP
David,

Here's a few of points to consider:

1) MantisBT 1.2.10 has just been released. If you're installing from scratch then using the latest release might save you some time having to upgrade later.

2) You don't say what versions of Apache and PHP you're using or whether you are running other PHP applications successfully from this site. Is this the first PHP app you've deployed here? Does the usual <?php phpinfo(); ?> test script run OK on your website?

3) Later versions of PHP are compiled against VC9 and require you to install a compatible version of Apache httpd - binaries available from Apache Lounge.

4) Is this a 64-bit or 32-bit installation? Again comaptibility may be an issue.

5) What user or system account is Apache running under and does it have the necessary permissions for the install operation? I've just had a whole heap of trouble getting Mantis Relationship Graphs to work on Win2003/IIS6.0 that I've traced to a permissions issue for the IIS anonymous internet user, IUSR.

Hope this helps,
Robert
DavidSinger

Re: install.php shows only a blank screen, v1.2.9

Post by DavidSinger »

rmc wrote:
DavidSinger wrote:MantisBT information:
V1.2.9

Host information:
Apache server
MySQL 5.1.54
PHP
David,

Here's a few of points to consider:

1) MantisBT 1.2.10 has just been released. If you're installing from scratch then using the latest release might save you some time having to upgrade later.

2) You don't say what versions of Apache and PHP you're using or whether you are running other PHP applications successfully from this site. Is this the first PHP app you've deployed here? Does the usual <?php phpinfo(); ?> test script run OK on your website?

3) Later versions of PHP are compiled against VC9 and require you to install a compatible version of Apache httpd - binaries available from Apache Lounge.

4) Is this a 64-bit or 32-bit installation? Again comaptibility may be an issue.

5) What user or system account is Apache running under and does it have the necessary permissions for the install operation? I've just had a whole heap of trouble getting Mantis Relationship Graphs to work on Win2003/IIS6.0 that I've traced to a permissions issue for the IIS anonymous internet user, IUSR.

Hope this helps,
Robert
Following is the reply I got from my hosting site on these questions:

=============== support from my support ===========================
Hello, The Apache version on the server is 1.3, and PHP is running properly.
We are not sure why your programmer is asking so many questions. The installation of Mantis is pretty simple and straightforward, and there are no compatibility issues - it just needs Apache, PHP, and MySQL. We are not sure what the problem is.
We just downloaded Mantis 1.2.10 from their site and uploaded it to your account.
Also, we created a MySQL username and password through the MySQL database section of your Control Panel:
MySQL username: [redacted]
MySQL password: [redacted]
We used this MySQL user to install Mantis for you:
http://cargohat.com/[redacted]
You can continue setting up your administrative account.
Let us know if you need further assistance. Best regards, Support
============== ========= ============ ============== ===============

My guess is that 1.2.9 is not a match for something somewhere, but 1.2.10 works.

Well, It is running now, so I've got work to do. It was an interest session. Hopefully somebody else will benefit as well.
Thanks for the effort you put in.
David
Post Reply