Jump to content

Module text is gone


Recommended Posts

Hello,

 

Hopefully someone can help asap, because we experience a lot of failed orders right now.

 

Basically all the text for the modules is gone. When we try to configure the modules there is no text there - just the boxes and icons. This means that the modules do not work properly for the customer, so they cannot place any orders.

 

Can this be a cache issue?

 

Thanks in advance.

 

 

Link to comment
Share on other sites

I think it could work, but our files look different. Here´s some of classes/Translate.php file:


 


if (isset($_MODULES[$current_key]))

$ret = stripslashes($_MODULES[$current_key]);

elseif (isset($_MODULES[$default_key]))

$ret = stripslashes($_MODULES[$default_key]);

// if translation was not found in module, look for it in AdminController or Helpers

elseif (!empty($_LANGADM))

$ret = Translate::getGenericAdminTranslation($string, $key, $_LANGADM);

else

$ret = stripslashes($string);

 

if ($sprintf !== null)

$ret = Translate::checkAndReplaceArgs($ret, $sprintf);

 

if ($js)

$ret = addslashes($ret);

else

$ret = htmlspecialchars($ret, ENT_COMPAT, 'UTF-8');

 

if ($sprintf === null)

$lang_cache[$cache_key] = $ret; 

else    

          return $ret;

 

}

return $lang_cache[$cache_key];

 

 

What needs to be changed here?

Link to comment
Share on other sites

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
×
×
  • Create New...