News:

Wondering if this will always be free?  See why free is better.

Main Menu

Problem with SSI

Started by clubkadettspain, May 30, 2024, 08:24:06 AM

Previous topic - Next topic

clubkadettspain

Hi, i have a separate webpage from my smf forum (but on the same server) where users can login, register, search, view last posts etc, this allways worked on my last smf version, but when I migrate to 2.1.x stop working some functions:

1.- Login fails
2.- Search fails


If you click on both options first it shows this message:

this form is not secure autofill is turned off

then when you click on press enter to continue it shows:

You are about to submit an unsecured information
An unsecured connection is being used to submit this form, so other users will be able to see your information.


If you click on "send it anyway" it allways shows (on login):

Failed to submit the form. Session has expired.

or on the search case:

You are not authorized to enter this section

Everything SSI functions works well like last forum messages, birthdays etc.

My code:

First i require SSI: <?php require("../../forum/SSI.php"); ?>

And all my ssi functions on my main page:

<?php ssi_login();          
<?php ssi_quickSearch(); ?>
<?php ssi_recentPosts($num_recent = 10);?>
<?php ssi_logOnline(); ?>
<?php ssi_todaysBirthdays(); ?>

Thanks

Kindred

The problem is http vs https

Your custom page is not https
Сл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."

clubkadettspain

Quote from: Kindred on May 30, 2024, 09:06:17 AMThe problem is http vs https

Your custom page is not https

ummm all my site is on my server that has https configuration, can you explain me what you mean?
thanks

Kindred

That error message indicates an unsecured page.

What is the url of your forum?
What is the url of your custom page?
Сл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."

clubkadettspain

Quote from: Kindred on May 30, 2024, 02:25:33 PMThat error message indicates an unsecured page.

What is the url of your forum?
What is the url of your custom page?

Custom Page: h t t p s : / / w w w . c l u b k ad e t t s p a i n .es / w e b / h t m l /
Forum: h t t p s : / / w w w .  c l u b k a d e t t s p a i n . e s / f o r u m /

sorry to put with spaces but i cant put it normal because it seems to be some restrictions here

Kindred

There's your problem,  likely.

Are your cookies to to subdomain independent?
Сл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."

clubkadettspain

Quote from: Kindred on May 30, 2024, 06:49:43 PMThere's your problem,  likely.

Are your cookies to to subdomain independent?

Well all files are on the same server on the same mother folder, is not a subdomain, is a simply php file with all calls to SSI inside:

/var/www/clubkadettspain.es/web/html/index.php
/var/www/clubkadettspain.es/forum/ -> and inside this folder all smf folder files

. thanks

Kindred

But you did not answer my question
Сл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."

Advertisement: