PDA

View Full Version : Cannot access Admin Panel


jdayer
09-28-2009, 11:52 AM
Hi All:

I installed osTicket using Fantastico on the page-zone hosting service and I cannot access the admin panel.

This makes the product very difficult to review.

admin.php results in a blank screen without any source code at all. Reviewing the admin.php code on the server it would appear that there is a check for admin user that is failing. I deleted that section of code and had exactly the same results.

code removed:
if(!$thisuser or !$thisuser->isadmin()){
header('Location: index.php');
require('index.php'); // just in case!
exit;
}
I put the code back in the file.

I have tried making some other small changes in an attempt to get some kind of debugging output and it consistently fails.

permissions on the file and directory are 755.

Thanks

John

PS: before someone asks, yes I modified main.inc.php to show errors.

Kelli
09-28-2009, 01:06 PM
A couple of people recently have mentioned installation issues using fantastico. I'd start by uninstalling what you have now, downloading the latest version (http://osticket.com/dl/osticket_1.6.rc5.tar.gz), and doing a manual install, just to rule out any fantastico errors.

A clean manual install is very quick and easy to do.

toastmenot
10-23-2009, 02:32 PM
I have the same problem as John with admin.php it doesn't matter what i put in it, I can't see the page. page can not be found???

drozenski
10-23-2009, 02:45 PM
are you logging into

yourwebsitehere.com/scp


or trying to go directly to the admin.php page?


If you just installed it and want to make sure you have all the correct files.

Download the file from this site.
Unzip it
Delete everything in your current ticket directory.
Then replace them all with the new files.

toastmenot
10-25-2009, 07:53 PM
I can login as admin, but when i go to the link admin panel nothing happens. pae can not be found. When i go directly to yourwebsitehere.com/scp/admin.php same problem.