Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: dev warning only visible in english.php  (Read 3907 times)

0 Members and 1 Guest are viewing this topic.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
dev warning only visible in english.php
« on: January 08, 2005, 06:14:00 pm »

The dev version warning is just showing as an empty cell in languages other than english.php 
Is this a langfallback problem?
« Last Edit: January 13, 2005, 10:47:54 am by Casper »
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: dev warning only visible in english.php
« Reply #1 on: January 13, 2005, 08:47:19 am »

Is this a langfallback problem?
Yes, it is. I fixed this by adding
Code: [Select]
$lang_version_alert_en = cpg_get_default_lang_var('lang_version_alert','english');
$lang_version_alert = array_merge($lang_version_alert_en, $lang_version_alert);
to include/langfallback.inc.php. Please confirm and mark thread as fixed if applicable.

Joachim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: dev warning only visible in english.php
« Reply #2 on: January 13, 2005, 10:47:40 am »

yes, works on my install, thanks.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.