Opt-In Cookie Manager

problem upgrade 2.0.3 - Opt-In Cookie Manager

problem upgrade 2.0.3

by masterbiz » Tue Feb 14, 2023 6:10 pm

This extension worked great, today I decided to upgrade to 2.0.3 but I get this error:

[ROOT]/phpbb/class_loader.php on line 160: require(./ext/chris1278/social/event/listener.php): failed to open stream: No such file or directory
User avatar
masterbiz
Registered User
Posts: 65
Joined: Thu Dec 20, 2012 8:31 am

Re: problem upgrade 2.0.3

by Chris1278 » Tue Feb 14, 2023 8:44 pm

Please check whether you have uploaded all the files correctly. This message indicates that the file listener.php is not available. This should be in the directory:

ext/chris1278/cookie/event

condition.

In addition, the message does not fit into this extension. Because the directory chris1278/social does not exist within the cookie manager.

The directory belongs to another extension which is not yet validated in the phpbb.com database.
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: problem upgrade 2.0.3

by masterbiz » Thu Feb 16, 2023 6:03 pm

Ok if the author says so, however I disabled social media now I get these errors

phpBB Debug] PHP Notice: in file [ROOT]/ext/chris1278/cookie/event/main_listener.php on line 248: Undefined variable: impressum_link_for_cookie
[phpBB Debug] PHP Notice: in file [ROOT]/ext/chris1278/cookie/event/main_listener.php on line 260: Undefined variable: style_postion1
[phpBB Debug] PHP Notice: in file [ROOT]/ext/chris1278/cookie/event/main_listener.php on line 261: Undefined variable: style_postion2
User avatar
masterbiz
Registered User
Posts: 65
Joined: Thu Dec 20, 2012 8:31 am

Re: problem upgrade 2.0.3

by Chris1278 » Thu Feb 16, 2023 7:29 pm

Ok this is probably because you have enabled phpbb debug mode.

try to fix it like this: find this line:

Code: Select all

$u_terms_link							= append_sid("{$this->root_path}ucp.$this->php_ext", 'mode=terms');
then add the following after the line:

Code: Select all

$impressum_link_for_cookie	= '';
$style_postion1				=  '';
$style_postion2				=  '';

Then clear the forums and browser cache
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: problem upgrade 2.0.3

by masterbiz » Fri Feb 17, 2023 7:23 pm

Hi , I solved it without adding the line above .. by deleting the 2.0.2 data with debug activated there are no errors . Thank you for your support and quick responses
User avatar
masterbiz
Registered User
Posts: 65
Joined: Thu Dec 20, 2012 8:31 am