All posts in the topic My Widgets not work "Redirect Loop" on godday host (Short link)
Summary
- There are 4 posts — by 2 authors — in this topic.
- Latest post made by vhoainam at Jul 19 18:16 UTC
Hello ,
I'm hostting PeopleAggregator as guide on godaddy.com.
The function MyWidgets not working.
The error said when click mywidgets is :
Redirect Loop
Hope someone can help me.
When read the code in badge_create.php:
// --- controller (part 1)
// parse urls like:
// badge_create.php <-- show default badge
// badge_create.php/asdf <-- badge 'asdf', main page
// badge_create.php/default/friends/op=include/id=1 <-- include friend 1 for
badge asdf
$path_info = @$_SERVER['PATH_INFO'];
$bits = preg_split("|/|", $path_info);
$badge_tag = @$bits[1];
if (!$badge_tag) {
$badge_tag = 'default';
}
$section = @$bits[2];
1/I found that the Pa in my local PC is working good with
environment :Ubuntu8, Apache2 , PHP5.2.4 , MYSQL5
I am not sure I can help you fix this...
But the fact that the $_SERVER array seems to be empty points to a
typical issue some installations have:
If PHP is running as a CGI (and not as Apache module as it should)
PA relies on the $_SERVER set of vars in several places. None of them
are 'critical' as so much that PA wouldn't run at all... but certain
features (esp those that need to parse URLs etc) just can't work
withtout that infp.
-Martin
vhoainam schrieb:
> When read the code in badge_create.php:
> // --- controller (part 1)
> // parse urls like:
> // badge_create.php <-- show default badge
> // badge_create.php/asdf <-- badge 'asdf', main page
> // badge_create.php/default/friends/op=include/id=1 <-- include friend 1 for
badge asdf
Hi Martin ,
Thanks a lot for your help.
I found that problem you said, goddady.com set default host PHP5 running as CGI
. not as an Apache module . And we can not change that. I will trying to ask
them for solution. But so far is seem to impossible to run PA latest version
Pre7-67 on host Linux Share of godaddy.com anymore.
My missunderstand , i'm follow the wiki guide to install PA on Godaddy.com .
But the host godaddy don't say any about Apache version they support with Linux
Share Plan.
So, Would you or somebody have any suggestion for me that , what PA version can
run good on godaddy now ?
Again , thank for help.