suddenly we have a blank page admin.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
sidneysavary
Posts: 4
Joined: Tue Oct 16, 2007 5:19 pm

suddenly we have a blank page admin.php

Post by sidneysavary »

i downloaded from this forum test1.php, test2.php, test3.php and test4.php. But all tests were successfull.

I downloaded also the request files

session_test.php, session_test2.php and phpinfo.php

session_test2.php has this message: $_SESSION['test'] is set to: TRUE

We buy since a while also a license and removed the (c) rights.

the domain is: http://support.chdom.ch

Thanks for any help. We are stucked!
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

From what I can see at http://support.chdom.ch/index.php?a=add your MySQL isn't working. Make sure your MySQL settings are correct. If you changed your MySQL username/password/database you will need to manually change the settings in file "hesk_settings.inc.php" (download the one on your server, open it in Notepad and make the changes, then save and upload again).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sidneysavary
Posts: 4
Joined: Tue Oct 16, 2007 5:19 pm

hesk_settings.inc.php

Post by sidneysavary »

Thanks but it don't look bad (i removed the line with the password).
Perhaps because of the German language or if we remove the (c) after a time it shows a blank page (but we payed for remove) or you think our provider made any update and now our helpdesk is not more functioning?

/* Help desk settings */
$hesk_settings['hesk_url']='http://support.chdom.ch';
$hesk_settings['hesk_title']='UNITRADE INFORMATIK - Support Ticket';
$hesk_settings['server_path']='/var/www/vhosts/chdom.ch/subdomains/support/httpdocs';
$hesk_settings['language']='german';
$hesk_settings['max_listings']=15;
$hesk_settings['print_font_size']=12;
$hesk_settings['debug_mode']=0;
$hesk_settings['secimg_use']=1;
$hesk_settings['secimg_sum']='DVRHVP4SGP';

/* Database settings */
$hesk_settings['database_host']='localhost';
$hesk_settings['database_name']='chdomch_support';
$hesk_settings['database_user']='supportcenter';
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If it worked and is now not working anymore (and the problem is MySQL) these things can be the problem:

1. someone changed mysql database name/username/password.

2. mysql is now disabled on your server (can happen if your host updated PHP from 4 to 5 and forgets to enable mysql)

Try setting $hesk_settings['debug_mode']="0"; to $hesk_settings['debug_mode']="1"; in the settings file, perhaps it will show some further useful info. Also upload phpinfo.php file to your server and place a link to it here.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sidneysavary
Posts: 4
Joined: Tue Oct 16, 2007 5:19 pm

phpinfo.php is already up

Post by sidneysavary »

phpinfo.php is already up:

http://support.chdom.ch/phpinfo.php

The provider told me that he changed some DNS server IP addresses. You think it can be because of this?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

What your host didn't tell you is they disabled MySQL (and GD library used for anti-spam image). This is from phpinfo: '--without-mysql' '--without-gd'

Ask your host to enable MySQL and GD back for PHP
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sidneysavary
Posts: 4
Joined: Tue Oct 16, 2007 5:19 pm

Thanks your direction helped me

Post by sidneysavary »

Hi
Our provider told me that they changed the server and will try to solve this database connection problem

So thanks of you, we gave them the correct direction to solve the problem.

Lets hope they solve it fast!

Sid
Post Reply