Menu

Warning: Failed opening 'lang/.inc.php

Anonymous
2002-11-21
2002-11-21
  • Anonymous

    Anonymous - 2002-11-21

    I keep getting this error, could anyone point me in a good direction to resolve this :?

    would be much appreciated.

     
    • Anonymous

      Anonymous - 2002-11-21

      Warning: Failed opening 'lang/.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/sites/site624/web/phpayv2/admin/lang.inc.php on line 11

      hmz. the whole error, forgot to post it. couldn't find the edit button..  must be me.

       
    • Andreas Kansok

      Andreas Kansok - 2002-11-21

      I think your shop-users can not change shop-language themselves?
      I forget to add an hidden field for this case in different files:

      reguser.php, publicpay.inc.php, pay.php

      In all cases there has to be after if($chg_lang) .... an
      else {echo "<input type=hidden name=nlang value='$langID'>"; }

      Other way (and easier) is to write before line 7 (SQL-Query) of lib.inc.php once $langID=xy; with xy contains the ID of your favourit language.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.