Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Administration problems with fresh install

Asked Modified Viewed 4,091 times
-
-Rick-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

I have just installed the latest version of php-fusion (7.02.03) on a sourceforge project page. I followed the instructions found in the readme and everything seemed to go OK. However I encounter some strange problems, of which some are scattered around the forum, but don't really seem to be related. After logging in and *trying* to do a DB restore, I just get kicked back to the homepage, leaving me with the following problems:
- Pressing refresh creates duplicate entries of my account name in the 'Who's online field',
- I cannot go back to the admin panel,
- I cannot logout.

The only 'solution' is to remove all cookies and other webhistory (at least on Firefox just removing the cookies is not enough). I tried four different browsers (Opera, Firefox, Konqueror and Rekonq) and they all seem to suffer from this problem. I haven't tested if the DB restore function is the only thing, but I suspect not because sometimes it also happens without doing that... Anyway it seems that cookies/other cached webcontent+admin panel seem to be the main problem here.

Any help would be appreciated
0 replies

9 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

You trying to restore your backup or just do a fresh installation?
0 replies
-
-Rick-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

My end goal is to move the site, but I haven't done any of that yet so these problems occur with a fresh installation.

I noticed that with Opera, I can't even reach the admin panel after logging in (ie it goes straight back to the news.php page).
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

There is no problem with the php-fusion code

Read the read me correctly

This might help...
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28378&rowstart=20
Be careful, because that file can be changed since that post.

Only noobs have this problem.
0 replies
-
-Rick-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

Fangree_Craig wrote:

There is no problem with the php-fusion code

I admire your confidence.

Quote


Read the read me correctly

Uhm what did I miss?

Quote


This might help...
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28378&rowstart=20
Be careful, because that file can be changed since that post.

Thanks, but assuming you mean this file; it's exactly the same as the file in the release archive?

Quote


Only noobs have this problem.

Good to know.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

I am Just passing on what I have been told by the developers.

If you have any concerns feel free to send a Private Message to Korcsii or PMM. ;)
0 replies
-
-Rick-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Alright good news! With the help of Korcsii we found a solution.

The problem seems to be that for some reason php-fusion fetches the 'wrong' IP address. I'm not sure where these addresses come from, perhaps from SF.net internally, but they seem to be continuously changing. This constantly invalidates the aidlink (ie. the part after aid= from the admin pages) and things become messy.

Anyway, the fix is actually quite simple: open maincore.php (in the root directory) and change the line (latest release at line 80):

define("FUSION_IP", $_SERVER['REMOTE_ADDR']);

with

define("FUSION_IP", $_SERVER['HTTP_X_FORWARDED_FOR']);


And everything is OK again :)

So many thanks to Korcsii for the quick support.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

This is not a good solution for most of the servers.

At first - can contain several ips
http://www.jamescrowley.co.uk/2007/06/19/gotcha-http-x-forwarded-for-returns-multiple-ip-addresses/
At second - spoofing
http://www.php.net/manual/en/language.variables.predefined.php#31724
0 replies
-
-Rick-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Hmm...

Well the first was easy to fix, but some Googling left me with the impression that there is no better alternative to avoid spoofing. So any suggestions are welcome...
0 replies
W
Webhost india
W
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
answered
Newbie

you can have try on new ipaddress which will resolve the issue.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
-
-
-Rick- 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
W
W
  • Newbie, joined since
  • Contributed 3 posts on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet