Welcome to Geeklog, Anonymous Tuesday, November 05 2024 @ 07:03 am EST

Geeklog Forums

Where to set admin path?


Status: offline

Estirose

Forum User
Newbie
Registered: 03/14/09
Posts: 1
My install ran fine, but somewhere along the way, I must have made an error when specifying admin directory. Whevever I try to do anything involving admin, the path is wrong (that is, http://[sitename]/configuration.php instead of http://[sitename]/admin/configuration.php, for example). I've checked siteadmin.php and db-config.php, and every database table that I can think of, but I can't find where I can fix this. Non-administrative functions seem to work fine.

Any pointers?

(Edit: version 1.5.2)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try calling up the Configuration panel directly by entering the correct URL. The "Admin URL" is the second entry from the top. Fix it and see if you can save it.

bye, Dirk
 Quote

Estirose

Anonymous
No, that doesn't work. I tried doing that, it tried to pull up the form again, and I got a 404.

I also went into the SQL table and input it into there because I couldn't get the config screen to function. Admin functions are still pointing to the wrong URLs.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Estirose

I also went into the SQL table and input it into there because I couldn't get the config screen to function.


When you do that, you need to adjust the string length. You'll have something like
Text Formatted Code
s:22:"http://localhost/admin";
where the 22 (in this example) is the length of the URL. So if you change the URL, you need to adjust that value. Try that.

bye, Dirk
 Quote

Estirose

Anonymous
That was the missing ingredient! Thank you!
 Quote

All times are EST. The time is now 07:03 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content