Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

I need a little help here ...

Asked Modified Viewed 1,366 times
J
janmol
J
janmol 10
...........................
Jan Mølgård
PHP-Fusion, Denmark
Phone: 004528966794
Mail: janmol@wordit.dk
Mail: janm@janm.dk

Testsite version 9: http://php-fusion.dk/fusion_9_test/
  • Veteran Member, joined since
  • Contributed 752 posts on the community forums.
  • Started 256 threads in the forums
  • Started this discussions
asked
Veteran Member

On my testsite I get errors like this all the time:

Kildekode (Linje: 88 - 108)
88            // Format the result
89            switch ($options['language']) {
90                case 'English':
91                    $form = $count == 1 ? 0 : 1;
92                    $words_array = explode("|", $words);
93                    $result = $words_array[$form];
94                    break;
95                case 'Danish':
96                    $form = $count == 1 ? 0 : 1;
97                    $words_array = explode("|", $words);
98                    $result = $words_array[$form];
Line 98 -- 28 minutter siden
Undefined offset: 1


I understand, that the error comes when the "language selector" can't find an expression like this:
$locale['fmt_comment'] = "comment|comments";

- and this locale is either missing or wrongly translated.

BUT: It's impossible to see exactly what expression is missing ... I need Fusion to tell me, which locale-value give the error, so that I can correct it, Is there any way ... any at all ... that could make that possible??
Edited by janmol on 17-03-2017 13:51,
0 replies
There are no post found.

Category Forum

Locales Forum - 9

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

J
J
janmol 10
...........................
Jan Mølgård
PHP-Fusion, Denmark
Phone: 004528966794
Mail: janmol@wordit.dk
Mail: janm@janm.dk

Testsite version 9: http://php-fusion.dk/fusion_9_test/
  • Veteran Member, joined since
  • Contributed 752 posts on the community forums.
  • Started 256 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet