Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Troubleshooting and Problems

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-19-2011, 10:05 AM
marouen marouen is offline
Junior Member
 
Join Date: Oct 2011
Posts: 2
Default Problem loading OSTicket admin interface

Hello all,

First I'm sorry for my poor english

I'm running OSTicket 1.6 (i'm not sure about the version, can someone tell me where can i find the right osticket version plz) with apache2 and php 5.2.14, on Centos kernel 2.6.

The setup was accomplished by another one, but he's gone.

Until the last week before migrating the application on a new server, every thing goes OK, but after migration, i cannot access to the admin page.

http://domain.tld/scp/admin.php ==> prints a blank page.

The result = 200 OK

I can't find errors in apache logs.

I'm using plesk pannel to do migration between servers, and I did the same thing with other sites; no problems occured.

Can any one show me what's wrong please?
Reply With Quote
  #2  
Old 10-19-2011, 11:41 AM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,600
Default

You should check the php.log. The http server is reporting 200, which mean it thinks it served the request. So either the problem is a php error or there is a big problem with the /scp/admin.php. I would:

1. re-upload the /scp/admin.php
test.

2. check the php.log file.
report any errors here.

If you do not know where your php.log resides you should be able to find it be examining your php.ini. Look for the error_log directive. If you do not have access to your php.ini you can turn on error displays in OST by doing the following:

locate and edit the /main.inc.php
On about line 43 locate
Code:
    #Don't display errors
    ini_set('display_errors',0);
    ini_set('display_startup_errors',0);
and change it to:

Code:
    #Don't display errors
    ini_set('display_errors',1);
    ini_set('display_startup_errors',1);
This should make OST display your errors. Simply change the 1's back to 0's later once you are done.
Reply With Quote
  #3  
Old 10-20-2011, 11:32 AM
marouen marouen is offline
Junior Member
 
Join Date: Oct 2011
Posts: 2
Default

Hi,
Sorry for the delay:

Here is the notices when i turned those values on:

Code:
Notice: Undefined index: HTTPS in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/class.misc.php on line 87

Notice: Undefined variable: dblink in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/mysql.php on line 27

Notice: Undefined variable: dblink in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/mysql.php on line 30

Notice: Undefined variable: dblink in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/mysql.php on line 34

Notice: Undefined index: userID in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/scp/staff.inc.php on line 54

Notice: Undefined variable: dblink in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/mysql.php on line 150

Notice: Undefined variable: dblink in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/include/mysql.php on line 150

Notice: Constant OSTSCPINC already defined in /var/www/vhosts/domaine.tld/subdomains/support/httpdocs/scp/login.php on line 73
I backed up the original installation, and i downloaded OST again to install it.
Those messages shown up, are generated after the new installation.

I tried to install it on a local centos server and all goes fine, without errors.
Is there something missed in php environnement on the other server?

Thanks in advance,
Reply With Quote


Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:24 PM.