|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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);
Code:
#Don't display errors
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
|
|
#3
|
|||
|
|||
|
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 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, |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|