Sigh.... Login trouble

Started by jorgen, December 28, 2004, 02:04:00 PM

Previous topic - Next topic

jorgen

I have successfully implemented the bridge on a test site on my PC, and since this went smooth, I'm now attempting to upgrade my live site.

But I'm having some wierd problems, with the main one being login/out trouble.

When I log into http://www.inventorforum.net  I end up on a page with the adress "http://www.inventorforum.net/?option=com_smf&Itemid=42&?action=mambo_login", and the page says:

------------------
Method Not Allowed
The requested method POST is not allowed for the URL /index.html.
------------------

I've RTFM, and I've tested it on a test-site first without problems, but now I do not know what to do.
You can test with user/password test2/test2.

Any Ideas?

jorgen

By the way, my host just upgraded php to 4.3.10. I do not know if that is relevant.

Kindred

Jorgen,

A couple of things...
Regarding your "code" showing in front of each article (your post on Mambers.com), I think it may be related to your recent upgrade of Mambo. Your template or one of the modules/components looks to be calling for something...

When you log in to the bridge from the SMF screen (go to the forum, use the login link across the top of the screen) it works fine and logs into both SMF and Mambo...


You do have some errors when I go to your forum page...
(line 260, continue outside of loop)
(line 72, expected ;)


Strangely, although the calls are the exact same:
the "show all unread posts" option (http://www.inventorforum.net/index.php?option=com_smf&Itemid=42&?action=unread)
works properly from inside SMF, but from the bridge-module, it just bounces you back to the index page.


Actually... ANY link from the bridge module bounces you back to the index page without performing the action.
I think you may be missing a path from the config.smf.php.




On php 4.3.10, the host also has to upgrade the ZEND component...
but it looks like that is not the issue here since your site works and the forum works...

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jorgen

Quote from: kindred on December 28, 2004, 02:48:43 PM

Strangely, although the calls are the exact same:
the "show all unread posts" option (http://www.inventorforum.net/index.php?option=com_smf&Itemid=42&?action=unread)
works properly from inside SMF, but from the bridge-module, it just bounces you back to the index page.


Wow, I didnt try to access through the forum, only through the bridge.
I actually planned on removing the forum-login, and only log in through the bridge.

But I cannot log out. At least not through the bridge. And I removed the logout from the forum ;)
So it looks like the main problem is the bridge-box on the left side. Maybe Orstio has seen this before?

Thanks for noticing the errors. I'll look into it.

jorgen

Yep, logout works as expected with:   index.php?option=com_smf&Itemid=41&?action=mambo_logout

So Its just the bridgebox- thats not working.

jorgen

OK, I think I found something.

When I check my PM from the forum, I go to:
http://www.inventorforum.net/index.php?option=com_smf&Itemid=42&?action=pm

But from the bridge-box, I end up at:
http://www.inventorforum.net/?option=com_smf&Itemid=42&?action=pm

I seem to be missing the "index.php".
Now to find what setting is at fault.   (sigh...)

Orstio

Quote from: jorgen on December 28, 2004, 04:24:30 PM
OK, I think I found something.

When I check my PM from the forum, I go to:
http://www.inventorforum.net/index.php?option=com_smf&Itemid=42&?action=pm

But from the bridge-box, I end up at:
http://www.inventorforum.net/?option=com_smf&Itemid=42&?action=pm

I seem to be missing the "index.php".
Now to find what setting is at fault. (sigh...)

Do you have some kind of redirect set up with .htaccess?

[Unknown]


Kindred

unknown,   that link is the correct link and works...   what doesn't work is the links from the login (bridge) box. They (as jorgen has realized) are missing the index.php in the url...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jorgen

Quote from: Orstio on December 28, 2004, 05:50:58 PM
Do you have some kind of redirect set up with .htaccess?

Nope.
But I DO have a index.html, that redirects from inventorforum.net and www.inventorforum.net to www.inventorforum.net/index.php:
<html>

<head>

<title>Inventorforum</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=http://www.inventorforum.net/index.php">

</head>



<body>

</body>

</html>


I tried to remove this, but nothing new happened..
And I DID have a .htaccess-file there (used SEF before), but it is also gone now, without things getting better.

Orstio

QuoteNope.
But I DO have a index.html, that redirects from inventorforum.net and www.inventorforum.net to www.inventorforum.net/index.php:

How about if you change the name of index.html to ~index.html.

jorgen

Hey, how did you do that ;)
That seemed to help a lot. Now everything in the bridge-box works, except logout.

But I think I have other problems as well. Maybe something went wrong with the ftp-transfer of the files.
Because SMF now generates errors on the page. And I just realized that I cannot post messages on the forum, even when I run SMF outside the bridge.
And Mambo also behaves a little odd.
I think I'll tro to upload all the files from my PC to the server again tonight.

Thanks for the help so far. I'll be back to report after I've uploaded the files again.
You guys really are a helpful bunch!

jorgen

Problem solved    ;) :) ;D

The main problem I had seem to be corrupt files on the server. Probably related to my EX-favourite ftp-program smartftp.
I'm now trying flashFXP, which seem to handle things better.
I uploaded the SMF-files to the server again, and now the login/logout works as expected.
I also had some issues with mambo, but I'm uploading fresh mambo-files to the server as I write this, so hopefully it' will fix itself as well.

I still get some errors on the SMF-page in IE (firefox do not report these errors). The page looks alright though.
But when I run the forum locally on my PC (exact same smf-files), I do NOT get errors.  Can someone help me guess at what's wrong?
The error appears in both bridged mode and pure SMF.

jorgen

Quote from: jorgen on December 29, 2004, 04:14:59 PM
I still get some errors on the SMF-page in IE (firefox do not report these errors). The page looks alright though.
But when I run the forum locally on my PC (exact same smf-files), I do NOT get errors.  Can someone help me guess at what's wrong?
The error appears in both bridged mode and pure SMF.

I'll keep talking to myself   8)
I finally figured this one out by myself.
There was a problem with the forum-component I added to my mambo menu.
I solved it by uninstalling/reinstalling "com_smf" (probably unnessecary), and publish a new component to the main menu.

Thanks for bearing with me during my rants and problems. And thanks for good help!
I'll be still for a while now.

Advertisement: