Jump to content

Empty "token" value


savvato

Recommended Posts

Hello. Faced with the problem of the development of the module.

In Prestashop 1.5.6 with switched off friendly URL, this function

Tools::getValue('token');

returns a null value.

Cash in back-office off, cookies and cache browser  cleaned. With the friendly URL all work fine, the function returns a non-null value.

What could be the problem?

P.S. Sorry for my bad English, using Google translator.

 

Link to comment
Share on other sites

Sorry for incomplete information, in BO. Here is the line of code

$s = file_get_contents('http://ulogin.ru/token.php?token=' .Tools::getValue('token') . '&host=' .$link->getPageLink('authentication.php'));

When using the function

Tools::GetToken();

servise ulogin.ru returned 'token expiried'

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...