View Full Version : Basic Installation Screen Problem
tecnet
02-04-2008, 02:31 AM
I have been attempting to install osTicket 1.6 RC3. My web server is Server 2003. I have installed MySQL 5.0 and PHP 5.2.5.
I have created a MySQL database and osticket username and password using the documentation from this website: http://www.iisadmin.co.uk/
I created a website in IIS called HelpDesk listening on port 8000. I added index.php to the Documents tab for the website.
I can browse the website in IIS which brings up the osTicket Basic Installation webpage.
I enter the relevant information into the Install page (it prompts me if any fields are missed or contain incorrect syntax) however when I click on the Install button the webpage just goes completely white and nothing happens. I have tried both Firefox and IE with the same result.
I have browsed the forums but cant find anything that seems to indicate why I am experiencing this problem.
Can anyone offer me some advice as to why this is occurring?
Please enable error reporting in main.inc.php on lines 42&43:
ini_set('display_errors',0);
ini_set('display_startup_errors',0);
should be
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
This is always important if you have problems, since it will probably show you what is wrong.
tecnet
02-11-2008, 03:03 AM
Thanks for your suggestion which I have followed.
Is the ini file change supposed to result in screen output of any errors encountered or is it logged to a file somewhere?
I still receive the same blank browser screen once the Install button is clicked.
bslevin
02-11-2008, 04:01 PM
I am having the exact same problem. Once i enter all the info and click ok i just get the following
Internet Explorer cannot display the webpage
I did the change you sugested and nothing
Onoref
02-14-2008, 09:29 AM
Yup, same problem here.
I'm pritty sure my MySQL is setup owke (external connection works), PHP I guess aswell since I get the setup screen. But when I fill everything out and hit "install" the screen just goes white and nothing is put in the DB.
I activated the error reporting but didn't get anything differant (in other words, no errors)
I am however running all of this off a Fedora 8 and not a windows machine.
What is the name of your config file? config.php or ostconfig.php?
Try both cases to see if it makes a difference. Make sure you also edit the file main.inc.php. In this file you have the line "require('ostconfig.php');" change it according to you config file.
Let me know if it makes difference
Onoref
02-15-2008, 05:39 AM
I'm not 100% sure I know where you're going with this since I can't seem to find a config.php file.
But my blind faith made me do it anyway and I got the expected "No such file" but I also got a second error with it which intrested me.
Fatal error: require() [function.require]: Failed opening required 'config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/upload/main.inc.php on line 53
Any ideas?
The config file is located in the root directory of osTicket (in your case the upload directory).
In this directory there are multiple files, but there should be a main.inc.php and a config file (named either "config.php" or "ostconfig.php"). If neither of these files exists there is a problem.
Seeing your error gives my the impression that you do not have the file config.php. This means you should have an ostconfig.php file.
Can you please verify this.
Onoref
02-15-2008, 08:28 AM
I have an ostconfig.php and that was the file allready beeing used by the setup. I changed the ostconfig.php to config.php in my main.inc.php. And that's what resulted in the error I just posted.
I did a locate for the config.php and that doesn't seem to exist. Only ones I have are /upload/ostconfig.php and /upload/include/class.config.php
EDIT: I did a new download to check if maybe something went wrong in the copying etc but I still can't find a config.php, only have an ostconfig.php
No, you inderstood me wrong :)
Will try to make myself more clear.
In versions prior to RC3 there was a file called config.php, as of RC3 this file is changed/renamed into ostconfig.php (the one you have).
What I would like you to do is the following:
* Rename ostconfig.php to config.php
* Change you main.inc.php so that is says require('config.php');
And then try again, I want to see if this makes a difference for you.
Onoref
02-19-2008, 07:00 AM
Hey, first off sorry for the late answer. This is just a little side project of mine so I tend to look at it every once in a while while for example now a VM is copying :P
So yes, I misunderstood you. What I did was: mv ostconfig.php config.php but offcourse that removed the ostconfig.php and so I got the error saying I needed to make ostconfig.php 777 so after I copyed the config.php back to ostconfig.php and changed the main file to use config.php I tried again and still same old white screen with absolutly no error :P
Appreciate your help tho 4ice, thing is I know how to run a server but don't ask me to debug php :p
mozey
03-13-2008, 10:56 AM
1.) I had the same issue with the install just giving a blank page.
2.) Enabled error messaging and followed the advice of renaming ostconfig.php:
]# less main.inc.php | grep fig.php
require('config.php');
require(INCLUDE_DIR.'class.config.php'); //Config helper
3.) Now the problem is that everytime I browse to /support/setup I get "Configuration file permission settings"
4.) chmod 777 config.php
5.) still getting the message
6.) # ls -la config.php
-rwxrwxrwx 1 root root 1213 2008-01-29 11:04 config.php*
maybe the installer is confused? is there a way to reset it?
baccaro
03-13-2008, 01:39 PM
I followed all the steps listed here since I am getting the same frustrating white screen. Nothing has worked thus far. I too enabled the display errors but don't get anything.
I really wanted to roll this ticket system out to our entire company this week. It will help us incredibly with our support issues.
Any help is greatly appreciated.
mozey
03-14-2008, 06:42 AM
it seems my problem was that is was missing the package php-mysql. from the package info "This is a dynamic shared object (DSO) for PHP that will add MySQL database support." after installing it i have some results on page two of the installer
baccaro
03-14-2008, 08:28 AM
mozey,
I figured it was my PHP/MySQL setup. I can't even seem to connect to mysql with a simple php script.
$link = mysql_connect('localhost', 'root', 'password');
The problem now is I can't seem to find the package you are referring to. The mysql and php sites do not make it easy to locate the necessary downloads.
Can you provide a link to where you downloaded the php-mysql package?
Thanks.
baccaro
03-19-2008, 11:53 AM
I resolved the issue. It was with my PHP setup. I did not have MySQL support working properly. I downloaded the newest PHP install zip, copied all of the files in the ext folder from that zip onto my server into the php/ext folder, then restarted IIS.
That then allowed me to get past the blank screen. I still had some other install issues, but they were minor and I had it up and running within an hour.
knightsllp
08-08-2008, 05:14 AM
I was having this same problem. With help from mozey and baccaro (thanks) I sorted it.
To fix it i re ran the php installer for windows php-5.2.6-win32-installer.msi and selected to change the installation and selected to install the extra features mysql and mysqli
As soon as this was installed it worked
:)
hamid
10-14-2009, 08:48 AM
hi,
I have downloaded osTicket version 1.6 RC5 and tried to install on SME-Server 7.4. During installation, I noticed that there is no ostconfig.php available. Where and how do I get this file?
Hamid
pdltoys
10-18-2009, 02:13 PM
Thanks for your suggestion which I have followed.
Is the ini file change supposed to result in screen output of any errors encountered or is it logged to a file somewhere?