collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 417
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Can't vote, Can't login through the portal  (Read 24549 times)

0 Members and 1 Guest are viewing this topic.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Can't vote, Can't login through the portal
« Reply #20 on: April 29, 2015, 09:49:56 PM »
Server Settings -> Database and Paths

Do you have something entered within the inputs for the following.. ?? :
Database username to use in SSI mode
Database password to use in SSI mode

Usually these can be left blank but I suppose you can enter the identical db login info that your forum is using.
This should force it to use the same db+session for SSI.php (which the standalone is using).

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #21 on: April 29, 2015, 11:47:38 PM »
Done. But still the same error.  :(

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Can't vote, Can't login through the portal
« Reply #22 on: May 02, 2015, 12:03:50 AM »
Rupurudu!,

  The only other thing I can think of at the moment is your .htaccess file somehow being configured to disable cookies for that specific directory or perhaps another one in the forum directory to allow them. To test this just copy the .htaccess file from your /home/klonfsmj/public_html path to your computer's hdd via an FTP application and then delete the original. Test your home page login after that and if it works then you know it is the .htaccess file causing the issue.

  Failing that I have exhausted every idea I can think of for the moment. With appropriate access (ie. FTP & SMF Admin) I could poke around and test some adjustments via trial & error but that is up to you to go that route.

Regards. 

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #23 on: May 02, 2015, 01:37:40 PM »
Rupurudu!,

  The only other thing I can think of at the moment is your .htaccess file somehow being configured to disable cookies for that specific directory or perhaps another one in the forum directory to allow them. To test this just copy the .htaccess file from your /home/klonfsmj/public_html path to your computer's hdd via an FTP application and then delete the original. Test your home page login after that and if it works then you know it is the .htaccess file causing the issue.

  Failing that I have exhausted every idea I can think of for the moment. With appropriate access (ie. FTP & SMF Admin) I could poke around and test some adjustments via trial & error but that is up to you to go that route.

Regards.
Here is my .htaccess file, it's not very complicated:
Code: [Select]
DirectoryIndex index.php
ErrorDocument 404 /index.php
suPHP_ConfigPath /home/klonfsmj/public_html
And for the admin access, Did you have Skype (or a chat program like Skype) we can talk?

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #24 on: May 05, 2015, 10:41:03 AM »
Bump.

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Can't vote, Can't login through the portal
« Reply #25 on: May 05, 2015, 12:38:17 PM »
In summary, you're using Standalone Portal Mode, with the standalone file on the root of your website while your forums are located on the sub-domain "forums".

Under normal conditions it would work if you disable the local storage of cookies, but it seems that wasn't a solution for you. If you're willing to, can you try submitting the information for your portal through this link and see if the problem still occurs?

http://forums.untamedheart.us/index.php?action=portal

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #26 on: May 05, 2015, 06:16:54 PM »
In summary, you're using Standalone Portal Mode, with the standalone file on the root of your website while your forums are located on the sub-domain "forums".

Under normal conditions it would work if you disable the local storage of cookies, but it seems that wasn't a solution for you. If you're willing to, can you try submitting the information for your portal through this link and see if the problem still occurs?

http://forums.untamedheart.us/index.php?action=portal
Yes, It works under this mode.

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #27 on: May 06, 2015, 07:41:06 AM »
I fixed the issue myself. Here's how to fix this if you are having the same issue:

Most of the hosting providiers and even most of the pre-compiled php servers now include a security extension named "Suhosin Extension"

It's messing with SMF's session system by invalidating SMF's session cookies, which is critical to SimplePortal.

Here's the code to disable it, add it to "php.ini":
Code: [Select]
; Turn off Suhosin's session encrption.  SMF is a big boy, it doesn't need its hands held.
suhosin.session.encrypt = Off
; Also turn off the cookie encryption. It's probably not needed, but better safe than sorry.
suhosin.cookie.encrypt= Off

Note that this will only disable session and cookie encryption, other parts of the extension works without issues.

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Can't vote, Can't login through the portal
« Reply #28 on: May 06, 2015, 07:55:26 AM »
Glad that you solved and that you posted the solution as well. Thank you!
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Can't vote, Can't login through the portal
« Reply #29 on: May 06, 2015, 04:49:33 PM »
Rupurudu!,

  My apologies but I have been rather busy as of late and am glad to see that you found a solution.
I wonder if there is another way to do it within PHP without having to configure its settings file for those that do not have access to that file.
There are no available suhosin settings within ini_set() but there are cookies & session settings available.
I am going to attempt to duplicate your issue by enabling those settings on a local test site & try experimenting with other available settings.

Available settings are shown with this command:
Code: [Select]
print_r(ini_get_all());

Regards.

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #30 on: May 08, 2015, 09:11:14 AM »
Rupurudu!,

  My apologies but I have been rather busy as of late and am glad to see that you found a solution.
I wonder if there is another way to do it within PHP without having to configure its settings file for those that do not have access to that file.
There are no available suhosin settings within ini_set() but there are cookies & session settings available.
I am going to attempt to duplicate your issue by enabling those settings on a local test site & try experimenting with other available settings.

Available settings are shown with this command:
Code: [Select]
print_r(ini_get_all());

Regards.
Okay. This is the code without the fix applied.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Can't vote, Can't login through the portal
« Reply #31 on: May 08, 2015, 10:31:56 PM »
Although the suhosin settings appear in that list of commands, I have read it will not affect it if changed via ini_set().
However it appears adding 1 line within your .htaccess file would have also solved the issue.
Code: [Select]
php_value suhosin.cookie.encrypt 0

What I was previously mentioning was to somehow force the cookie behaviour manually within the standalone file.
I have yet to test the idea.

Offline Rupurudu!

  • Semi Newbie
  • *
  • Posts: 24
  • Gender: Male
  • Klonoa is the best!
    • Untamed Heart Klonoa Collective
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: Can't vote, Can't login through the portal
« Reply #32 on: May 09, 2015, 02:56:04 AM »
Although the suhosin settings appear in that list of commands, I have read it will not affect it if changed via ini_set().
However it appears adding 1 line within your .htaccess file would have also solved the issue.
Code: [Select]
php_value suhosin.cookie.encrypt 0

What I was previously mentioning was to somehow force the cookie behaviour manually within the standalone file.
I have yet to test the idea.
The code is wrong. The important one is session.encrypt not the cookie.encrypt.

Code: [Select]
php_value suhosin.session.encrypt 0
php_value suhosin.cookie.encrypt 0

Also, not everyone uses Apache server. I'm using IIS on one of my forums and it don't have .htaccess