PDA

View Full Version : All GAL AdminCP links open my main forum instead of settings


TenPercenter
03-10-2008, 01:08 AM
Odd thing. After installing the product and uploading the files, I hard refreshed to get the GAL menu in my AdminCP. Looks good so far.

But each of the menu items brings up my /forum/ (main forum page) in the righthand window instead of the settings.

All the other AdminCP settings links still work as expected.

I looked at any .htaccess files and didnt see any issues there.

The hyperlinks look ok: (http://dev.mysite.net/forum/admincp/gal_admin.php?do=settings)

TenPercenter
03-10-2008, 01:57 AM
note: I was on version 4.65 (inactive) and uninstalled it before installing 6.0.8 today.

Morgan
03-10-2008, 02:18 PM
Check that the gal_admin.php file is in the /forum/admincp directory. The only thing that I can think of is that the file is missing so 404s are being redirected to your forum homepage via htaccess.

TenPercenter
03-10-2008, 07:48 PM
Yep, it's there. That's a good idea on the 404 redirects though. What other files (includes?) does the GAL_admin.php need? Maybe one or more of those is missing?

TenPercenter
03-10-2008, 08:08 PM
I found it in the access log for apache. Thanks for the thought process kick.

71.164.180.152 - - [10/Mar/2008:13:52:51 -0500] "GET /forum/admincp/gal_admin.php HTTP/1.1" 301 5 "http://dev.chiptalk.net/forum/admincp/index.php?do=nav" "Mozilla/5.0

It's not a 404 code, but a 301 (Moved Permanently).

Now I have to figure out why it's getting a 301.

All other AdminCP clicks return a normal 200 code:

71.164.180.152 - - [10/Mar/2008:14:06:50 -0500] "GET /forum/admincp/gars_admin.php? HTTP/1.1" 200 139569 "http://dev.chiptalk.net/forum/admincp/index.php?do=nav" "Mozilla/5.0

TenPercenter
03-10-2008, 08:14 PM
Problem solved.

gal_admin.php file in the /forum/admincp directory was called GAL_admin.php with caps "GAL." I have no idea why it went over that way, it's lowercase in the distribution. Maybe because I overwrote an older GAL and it retained case?