Page 1 of 2
s01e07 - GDPR Suite SUPPORT / QUESTIONS
Posted: Thu Dec 24, 2020 12:22 pm
by Denzel
Got
Notice: Trying to access array offset on value of type null in /includes/modules/content/account/cm_account_gdpr_nuke.php on line 86
after activation of nuke account module in admin. Disappears after choosing one country.
Code in line 86 could be changed to
Code: Select all
return ($country['countries_name'] ?? 'all');
or even null without quotes to leave the field blank.
s01e07 - GDPR Suite Nuke Account
Posted: Thu Dec 24, 2020 12:53 pm
by Denzel
On Nuke Account I got
Warning: require(includes/template_top.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /ext/modules/content/account/nuke_account.php on line 88
Fatal error: require(): Failed opening required 'includes/template_top.php' (include_path='.:/usr/lib/php7.4') in /ext/modules/content/account/nuke_account.php on line 88
This is because template_top.php and template_bottom.php have been moved to the template directory. The code in lines 88 and 117 should be like this
Code: Select all
require('templates/default/includes/components/template_top.php');
Code: Select all
require('templates/default/includes/components/template_bottom.php');
The currently active template should be inserted here...
Re: s01e07 - GDPR Suite Nuke Account
Posted: Thu Dec 24, 2020 1:07 pm
by ecartz
It should look more like
Code: Select all
require $oscTemplate->map_to_template('template_top.php', 'component');
But is this App even relevant anymore? GDPR is in core now.
Re: s01e07 - GDPR Suite Nuke Account
Posted: Thu Dec 24, 2020 1:09 pm
by Denzel
When I confirm the deletion I get:
Notice: Undefined variable: osCsid in /ext/modules/content/account/nuke_account.php on line 76
Which could perhaps be fixed with a "global". Notice disappears, but I can't see any changes in the session table...
Code: Select all
global $osCsid;
tep_db_query("delete from sessions where sesskey = '" . $osCsid . "'");
Re: s01e07 - GDPR Suite Nuke Account
Posted: Thu Dec 24, 2020 1:28 pm
by Denzel
ecartz wrote: ↑Thu Dec 24, 2020 1:07 pm
It should look more like
Code: Select all
require $oscTemplate->map_to_template('template_top.php', 'component');
But is this App even relevant anymore? GDPR is in core now.
Ah, thanks! I'm not that familiar with the template system yet. I mostly built for the admin site.
There are many modules in the suite, which are not in core.
How to turn off GDPR
Posted: Thu Apr 01, 2021 7:05 pm
by plamastus
Hi,
Is there a way to turn off GDPR?
Thanks,
Patrick
Re: How to turn off GDPR
Posted: Fri Apr 02, 2021 11:20 am
by Nigel
It might be via Admin / Modules / Content
Look down the list.
Don't quote me on it though, there might be a better way.
Re: How to turn off GDPR
Posted: Fri Apr 02, 2021 11:48 am
by plamastus
Awesome
Thanks
How to turn off GDPR
Posted: Wed Dec 29, 2021 4:27 am
by moshelakin
Hi,
Is there a way to turn off GDPR?
Thanks
Re: How to turn off GDPR
Posted: Wed Dec 29, 2021 6:45 am
by heatherbell
moshelakin wrote: ↑Wed Dec 29, 2021 4:27 am
Is there a way to turn off GDPR?
GDPR are modules so disable or uninstall them - User Guide -
https://phoenixcart.org/phoenixcartwiki ... le=Content