Jump to content

[URGENT] Problems with ajax response or Javascript , users can't register


micho88

Recommended Posts

When error reporting is on I get:

 

Warning: Function addCSS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 121

in /home/pcsi112/public_html/classes/Tools.php on line 1845

Warning: Function addJS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 122

in /home/pcsi112/public_html/classes/Tools.php on line 1845)

 

 

If error reporting is off, everything works fine, but register for new users.

 

When user try to register he/she get this:

http://www.112pc.si/img/Capture1.JPG

Edited by micho88 (see edit history)
Link to comment
Share on other sites

For all modules, I have to check this?

 

What about "old" isLogged()? Is that ok, for example:

 

if (!$this->context->customer->isLogged())

 

or

 

I have to change lines like that to 

if (!$this->context->customer->$logged)

 

Is there any tutorial how to change all that old stuff to working lines. Or what is the best way? I dont know anything what to change, so it is very confusing, when I reading posts on forum about that

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