exstreme / Jcomments-4

Modified Jcomments 3.0.7 with Recaptcha 2 in comments. Adapted to Joomla 4. No compatibility with Joomla 1.5\2.5\3.x
16 stars 13 forks source link

Notice #93

Closed phnoel closed 2 years ago

phnoel commented 2 years ago

Hi! Please, how to resolve this ? Notice: Undefined index: * in C:\xampp\htdocs\weblim\components\com_jcomments\cl asses\text.php on line 187

Notice: Trying to get property 'message_policy_whocancomment' of non-object in C:\xampp\htdocs\weblim\components\com_jcomments\cl asses\text.php on line 187

Many thanks

Globulopolis commented 2 years ago

@phnoel replace file in your installation from this https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php and let me know if issue is fixed.

phnoel commented 2 years ago

Sorry, it doesn't work: I get a helix Class 'JComments' not found error.

I modified the jcomments.php file in the com_jcomments folder. Was it the right one?

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 03/06/2022 16:23:00 Europe/Paris Copie à : phnoel @.>;    Mention @.>

@phnoel replace file in your installation from this https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php and let me know if issue is fixed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

I modified the jcomments.php file in the com_jcomments folder. Was it the right one?

No. Download this file https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php and put into C:\xampp\htdocs\weblim\components\com_jcomments\classes\ with replace.

phnoel commented 2 years ago

OK, tank you Vladimir, but what file to replace ?

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 03/06/2022 18:32:24 Europe/Paris Copie à : phnoel @.>;    Mention @.>

I modified the jcomments.php file in the com_jcomments folder. Was it the right one?

No. Download this file https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php and put into C:\xampp\htdocs\weblim\components\com_jcomments\classes\ with replace.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

but what file to replace

text.php

phnoel commented 2 years ago

Sorry, it still doesn't work! The form (top of page) is not displayed

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 03/06/2022 23:13:16 Europe/Paris Copie à : phnoel @.>;    Mention @.>

but what file to replace

text.php

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

Sorry, it still doesn't work! The form (top of page) is not displayed

The form or notice? We talk about notice. If form not displayed, when check the access rights in component settings.

phnoel commented 2 years ago

OK, thank you, by changing the rights the form is displayed well now, but I still get these messages :

Notice: Undefined index: * in C:\xampp\htdocs\weblim\components\com_jcomments\classes\text.php on line 187 Notice: Trying to get property 'message_policy_post' of non-object in C:\xampp\htdocs\weblim\components\com_jcomments\classes\text.php on line 187

Does it matter? If I set the Error Report to "none" they still show up?

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 04/06/2022 11:55:51 Europe/Paris Copie à : phnoel @.>;    Mention @.>

Sorry, it still doesn't work! The form (top of page) is not displayed

The form or notice? We talk about notice. If form not displayed, when check the access rights in component settings.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

@phnoel maybe. Have you replaced the file that I mentioned above?

phnoel commented 2 years ago

of course ! this one :  https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php

here  : C:\xampp\htdocs\weblim\components\com_jcomments\classes\text.php

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 04/06/2022 13:56:23 Europe/Paris Copie à : phnoel @.>;    Mention @.>

@phnoel maybe. Have you replaced the file that I mentioned above?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

Try to add messages for language 'All' on 'Messages' tab in component settings.

phnoel commented 2 years ago

Really sorry, but I can't find the "Messages" tab in the component settings.

I have "comment list" and "comment window settings" and nothing in there related to language.

Can you take a screenshot for me? Many thanks

De : Vladimir @.> À : exstreme/Jcomments-4 @.> Sujet : Re: [exstreme/Jcomments-4] Notice (Issue #93) Date : 04/06/2022 14:51:55 Europe/Paris Copie à : phnoel @.>;    Mention @.>

Try to add messages for language 'All' on 'Messages' tab in component settings.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Globulopolis commented 2 years ago

Can you take a screenshot for me? Many thanks

image

Globulopolis commented 2 years ago

@phnoel redownload file from https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/text.php and replace in your folder C:\xampp\htdocs\weblim\components\com_jcomments\classes\text.php This should fix the notice.