Jump to content

Strange error when signing up


LudwigLindstrom

Recommended Posts

31 minutes ago, ndiaga said:

Hi,

Are   you in debug   mode?   If  yes  just   desable   it   test  again.

 

Hi ndiaga,

No, don't have debug on.

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', false);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
if (_PS_MODE_DEV_ === true) {
    @ini_set('display_errors', 'on');
    @error_reporting(E_ALL | E_STRICT);
    define('_PS_DEBUG_SQL_', true);
} else {
    @ini_set('display_errors', 'off');
    define('_PS_DEBUG_SQL_', false);
}

Link to comment
Share on other sites

46 minutes ago, ndiaga said:

Hi,

Here   you  just  need  to   change  the false  to  true.


/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', false);
}


//after   change 

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}

 

Well ok,

This gave me some errors. See below and attachments.

Context: Running PHP 7.2 with the latest Prestashop 1.6.1.24

This appear on the front page

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /www/webvol37/mj/1z6g4bmdi17r21g/belovelynagelskola.com/public_html/classes/Rijndael.php on line 124

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /www/webvol37/mj/1z6g4bmdi17r21g/belovelynagelskola.com/public_html/classes/Rijndael.php on line 124

This appear when I log in to the admin

Warning på rad 551 i fil /www/webvol37/mj/1z6g4bmdi17r21g/belovelynagelskola.com/public_html/classes/controller/AdminController.php
[2] count(): Parameter must be an array or an object that implements Countable

This error appears now when I try to sign up a new account

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror

---

Want you to know that I am very grateful for your help in this matter.

Screenshot 2020-02-23 at 14.31.03.png

Screenshot 2020-02-23 at 14.31.12.png

Screenshot 2020-02-23 at 14.31.22.png

Link to comment
Share on other sites

5 minutes ago, ndiaga said:

Ok,   I  see  .

It  seems   that  your  PHP  version   is  not  compatible  with   the  PrestaShop  version   you  are using.

Please  refer   to this   topic  : 

  

Hmm ok!

The problem is that I can't downgrade to more than 7.2, on my web server, which I am running today. Or do I need to upgrade to PS 1.7 in order for everything to work?

That's a big step what I can see. It's a complete new version.

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...