D-Mack Media Forums

Full Version: Warning message [...recommendfriends.php on line 57]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First of all: This looks like a great component, and I am sure that this warning message is easily fixed. I suspect it has to to with my language settings (Norwegian site). Any way, this is the message:

Warning: include_once(/home/nnganaag/public_html/devel/components/com_recommendfriends/includes/en_GB.php) [function.include-once]: failed to open stream: No such file or directory in /home/nnganaag/public_html/devel/components/com_recommendfriends/recommendfriends.php on line 57

Warning: include_once() [function.include]: Failed opening '/home/nnganaag/public_html/devel/components/com_recommendfriends/includes/en_GB.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nnganaag/public_html/devel/components/com_recommendfriends/recommendfriends.php on line 57


All the form labels come as strings from the language file, ie title is _DM_TITLE, Your name is _DM_YOUR_NAME and so on.

But how do I fix this?

Have a nice day!

Steinar
I had the same problem with my language catalan.

The component expected to find a file called ca-AD.php with the language. In your case must appear a message showing that in some place in the administration area of the component (maybe no-NO.php, or something similar).

You have two options. Copy the english en-GB.php file to no-NO.php (or something similar) and you'll have your component in english... or translate it to norwegian!! :-)

Cheers.
Thanks a lot! That worked like a charm :-)

Norwegian translation is underway, it will take a few days.

Steinar

PS. For others who might have the same problem, don't forget to edit line 57 in recommendfriends.php
Reference URL's