Incomplete URL when launching forum

Started by jonesH, November 11, 2015, 12:07:23 AM

Previous topic - Next topic

jonesH

almost always, right after leaving the login screen, the index.php? component of the URL is missing (and the page fails to load, of course). Instead, the incomplete URL looks like this: httpx://myforum/action=forum


What's funnier is that if I plug in the missing values, or if I go back and redo the login process, it works!


The forum extras are UTF-8, SimplePortal and Responsive Curve added on, and Coppermine Gallery bridged to it.

margarett

Did you apply any trick for removing index.php from the URL?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

jonesH

No tricks, but I un-bridged CMG and so far I seem to be doing better. I will be testing some more and if things stay like this I will come back to mark the topic solved.

jonesH

In the meantime I uninstalled Coppermine Gallery and Responsive Curve, I changed the theme back to Curve, and uninstalled SimplePortal 2.3.6. Now launching the forum was OK. I reinstalled SP (even though in my custom theme it failed two tests, but so what, since I'm running the default theme anyway) and the problem is back.

Next I intend to work out the kinks with the failed tests in my custom theme (./theme1/scripts/script.js)

By the way, this is happening to me on iPad and iPhone, not the desktop.

If anyone knows how to fix this, please help.

Kindred

what is your site URL?
Are you using prettyURLs or anything like that?

If you are missing index.php for the URL, that suggests that you used some code hack or htaccess to remove it --   and removing that will potentially cause LOTS of problems -- especially with extensions and bridges.

Сл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."

jonesH

No tricks, no .php edits, not sure what's going on with the .htaccess but that file I haven't touched either. The index.php file is where it should be. But I am looking at the home directory and there is an index.php (file size 14,812) and an index.php~ (14,350) with identical Last modified datetimestamp. This is likely due to me reinstalling SP this morning.


Thanks for your help, Kindred, let me work on this a bit.


By the way, the forum is still private, in development, and as a Guest all you see is the Login/Register screen. Would that help?

Kindred

it's a start, but probably not enough... a temporary/user login would be helpful, since you indicate that the index.php disappears only after leaving the login screen....
Сл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."

jonesH

I got a chance to work on this a little and as I'm looking at the SP 2.3.6 parse for SMF 2.0.11, I see that the code changes towards the end of the index.php files do not look like the parse. Matter of fact, where SP says:

Find:[Select]
if (empty($REQUEST['action']) ||

there is no such thing in index.php. What I see instead is


if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))

Code following this point is not looking good, either.  So I guess at this point I need to find out from SP what's going on on their end.

jonesH

It would seem now that my problem disappears and the forum login takes the user to the portal if I uncheck the "Disable Portal Redirection" in SimplePortal > Settings > Configuration. More testing next. Even if this turns out to be the case, it does not work as intended: with the box ticked, the login gets confused and kicks up a generic error.

jonesH

After much experimenting, here's something intriguing: as I had the forum initially set up, upon launch the user (Guest, at this point, forum browsing denied) landed at the login page. Upon login, the incomplete URL problem happened.


Now, I allowed the Guest to browse the forum, so upon arrival the Guest would see the portal, some blocks on each side and the regular stuff such as main menus. Upon login, the URL functions correctly (no more missing parts). I tried this dozens of times on iphone and ipad, with and without Responsive theme, as user and as admin, and it worked right every single time.


Does this make sense to you?

Kindred

Not really...  I have never seen those symptoms before, and I am certain that your same configuration has been used by others.

Сл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."

jonesH

Indeed. I have succesfully used this in the past, too, yet somehow this is happening to this forum now. I will work on it more and if all stays ok I will mark this topic Solved. Thank you.

Advertisement: