PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old December 27th, 2012, 06:49 PM
LivelyDesigns LivelyDesigns is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 3 LivelyDesigns User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 48 sec
Reputation Power: 0
Eroor logging into admin panel

I changed some settings on our admin panel and have been unable to resolve.

Getting this error:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.


This is in a MVC PHP setting.

Reply With Quote
Old December 28th, 2012, 02:06 AM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 2,263 IAmALlama User rank is Lance Corporal (50 - 100 Reputation Level)IAmALlama User rank is Lance Corporal (50 - 100 Reputation Level)IAmALlama User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 5 h 51 m 8 sec
Reputation Power: 9
someone would probably have to look at the raw http headers to see how it is redirecting. I can help if you want, but it would probably mean giving me access to the admin panel so I can see the problem and check it out for myself. other than that, "admin panel" could mean just about any php app out there as most will come with an "admin panel".

what app are you using for the mvc (or mvc framework perhaps)?
what settings/files did you change?
can you just undo the changes? (ideally undo changes until it is fixed then redo changes that don't break it)
do you have backups of changed files/db dump that you can restore? (if not, why not? as this would be the first line of defense when something breaks for any real production site/system/production/enterprise app)

Last edited by IAmALlama : December 28th, 2012 at 02:13 AM.

Reply With Quote
Old December 29th, 2012, 08:15 AM
LivelyDesigns LivelyDesigns is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 3 LivelyDesigns User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 48 sec
Reputation Power: 0
Here is what corrected the server issue

This code had to be added for the host server to be able to negotiate the secure login properly:
if (isset($_SERVER['ORIG_PATH_INFO']))
{
$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
}

if (get_magic_quotes_gpc()) {
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
while (list($key, $val) = each($process)) {
foreach ($val as $k => $v) {
unset($process[$key][$k]);
if (is_array($v)) {
$process[$key][stripslashes($k)] = $v;
$process[] = &$process[$key][stripslashes($k)];
} else {
$process[$key][stripslashes($k)] = stripslashes($v);
}
}
}
unset($process);
}

Thanks for your viewing and input

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Eroor logging into admin panel


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap