Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Robsen

Fehlermeldung im ACP

Recommended Posts

Folgende Fehlermeldung bekomm ich, wenn ich auf System Settings gehe:

Warning: load_words(./lang//lang_error.php) [function.load-words]: failed to create stream: No such file or directory in /www/htdocs/pfad/forum/sources/functions.php on line 1272

hat einer eine Idee woran das liegen kann?

Share this post


Link to post

Ja, das liegt daran, dass das Verzeichnis der Funktion load_words nicht übergeben wurde und diese keine Sicherheitsabfrage hat. Warum die Variable nicht übergeben wurde, kann ich dir auf die Schnelle nicht sagen, aber eine Sicherheitsabfrage in der entsprechenden Funktion könnte ich dir geben. ;)

Suche in der functions.php

    function load_words($current_lang_array, $area, $lang_type) {
und füge darunter ein
  if(!isset($lang_type))
 $lang_type = 'en';

dann sollte es auf jeden Fall funktionieren, solange du den Ordner "en" noch in deinem "lang" Verzeichnis hast. :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×