I have been running bawstats for a while, having installed it with no problems. However, going to look at the stats again I get the following error message:
The language file could not be found in this location: /usr/local/cpanel/3rdparty/share/awstats/lang/awstats-en.txt<br>Please check your config.php. The value of $BAW_CONF['path_lang'] has to point to the directory where awstats stores its language files (typically somewhere /cgi-bin/awstats/lang)
I presume that my hosting service has moved the awstats installation to the new location (see below).
I have done the following:

  1. Checked on my server to find where the file is: I get the following:
    root@server [/]# find -name awstats-en.txt
    ./usr/local/cpanel/src/3rdparty/gpl/awstats-6.9/wwwroot/cgi-bin/lang/awstats-en.txt
    
  2. Modified the config.php file accordingly. Still get the same message
  3. Upgraded from 6.x-1.1 to 6.x-1.3 - however when I run update.php I get the same error message from the update.php run, and although Drupal now displays version 6.x-1.3 in the module list, I'm still getting the same error.

Comments

egfrith’s picture

Status: Active » Needs review

Have you tried changing the "AWStats language directory" from within the drupal web interface on the configuration page at admin/config/bawstats? I think you would need to set it to /usr/local/cpanel/src/3rdparty/gpl/awstats-6.9/wwwroot/cgi-bin/lang.

egfrith’s picture

Issue summary: View changes
Status: Needs review » Closed (cannot reproduce)