jonnsl / sliComments

Comments component for Joomla! 1.6
GNU General Public License v3.0
16 stars 5 forks source link

No comment field #19

Closed Destroyer2012 closed 12 years ago

Destroyer2012 commented 12 years ago

Instead of the comment field i am getting this:

COM_COMMENTS_COMMENTS_COUNT COM_COMMENTS_LABEL_NAME COM_COMMENTS_LABEL_EMAIL COM_COMMENTS_LABEL_TEXT COM_COMMENTS_CHARACTERS_REMAINING

Here is a screenshot of it: http://img707.imageshack.us/img707/5291/slicomments.gif

Using latest Joolma 1.7 with only sh4sef and multiads.

How can i fix it?

jonnsl commented 12 years ago

Did you uninstalled the english language pack?

Destroyer2012 commented 12 years ago

Ehm no do i have to?, you mean the english language pack of Joomla, or slicomments? And how do i do that?

jonnsl commented 12 years ago

You don't have to uninstall the english language pack of Joomla. I said that because when you install a extension, joomla will only install the translation for that extension if the joomla have the same language pack, for example, if I try to install slicomments in a joomla site that dont have the english language pack, it wont install the english translation for the slicomments.

Have you tried to uninstall and install again? could you check if the file en-GB.com_slicomments.ini was correctlly copied to language/en-GB/ folder of your site?

Destroyer2012 commented 12 years ago

I have uninstalled and installed it again just a minute ago. And i have the English language files as you mentioned, see screenshot below. My default language is Dutch.

http://img96.imageshack.us/img96/9529/slicomments2.gif

Hm but if I go to language management in Joomla, I only see the dutch language?

jonnsl commented 12 years ago

someone else had a similar problem (#18). The problem was that the file was not saved as UTF-8 no BOM. Try this: https://github.com/jonnsl/sliComments/issues/18#issuecomment-3637233

Destroyer2012 commented 12 years ago

I downloaded the file en-GB.com_slicomments, opend it in Notepad++ and it says the file is ANSI. I tried to save it as UTF-8 and later as UTF-8 no BOM, both did not work! Still looking the same here, don't know what else to try?

jonnsl commented 12 years ago

That is normal, UTF-8 has backward compatibility with ANSI so when you try to save a file that have only ansi characters the editor will detect the file as ansi. Try this: Enable "Debug System" and "Debug Language" in the global configuration and see if in the front-end it show a message like this

**Parsing errors in language files**

/[redacted]/joomla-slicomments/language/en-GB/en-GB.com_slicomments.ini : error(s) in line(s) 36, 37, 39, 40
Destroyer2012 commented 12 years ago

No errors at all, everything looks fine.

jonnsl commented 12 years ago

Check if you have this files in the folder administrator/language/nl-NL: nl-NL.com_slicomments.ini nl-NL.com_slicomments.sys.ini nl-NL.lib_decoda.ini nl-NL.plg_content_slicomments.ini nl-NL.plg_content_slicomments.sys.ini nl-NL.plg_slicomments_akismet.ini nl-NL.plg_slicomments_akismet.sys.ini

if you haven't you can copy those files from the .zip the file nl_NL.plg_content_slicomments.ini is named incorrectly, rename it to nl-NL.plg_content_slicomments.ini

Destroyer2012 commented 12 years ago

To be sure I uninstalled slicomments, then re-downloaded the package, and installed it again. Still the same error. Then I looked in the administrator/language/nl-NL folder, and to my big surprise there were NO nl-NL slicomment files at all?

So I copy that 7 nl-NL you mentioned, and guess what. It works!!!!!! So thank you very much for your support. Still it is strange that it did nog copy the dutch language files to the folder? I guess my problems started there...

But now i can install it on all my websites :-), thank you!

(Little offtopic question: how do i update slicomments in the future without losing my comments?)

jonnsl commented 12 years ago

(Little offtopic question: how do i update slicomments in the future without losing my comments?)

use the joomla update manager administrator/index.php?option=com_installer&view=update

Ivan62 commented 12 years ago

Problem solved ..... in c panel, open all the language files for the slicomment and check whether the UTF-8, if not corrected them.

Ivan62 commented 12 years ago

Slicomment works great, except the problem with the privileges of the guest, but this will be resolved :)

Destroyer2012 commented 12 years ago

Nice way to promote your website here Ivan62?

Ivan62 commented 12 years ago

Not promotion and place is not adequate for the promotion. I just want others to see how a component works perfectly well. That's it. I removed the link and I apologize.

Destroyer2012 commented 12 years ago

@Ivan62 okay sorry, I quess I judged too quickly. I close the topic, my problem is solved.

@jonnsl I also install it on onother website, again slicomments didn't copy al the files to the administrator/language/nl-NL folder. Like before I had to copy the files manualy!