• Online Demo
  • 30-day Free Trial

Go Back   Blesta Forums > Projects > Bug Tracker > Bug

Language Error Issue Tools
issueid=358 06-12-2012 09:12 PM
Junior Member
Language Error
Sesserror1

SESSERROR1 doesn't translate properly for English, instead system shows the language key as follows:




ACCESSERROR1 also doesn't translate properly.

Issue Details
Project Bug Tracker
Category Unknown
Status Not a Bug
Priority Unknown
Affected Version 2.4
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

06-13-2012 04:47 PM
Administrator
 
This is not an issue with Blesta, but likely something else with your server or installation.

Are you using the default en-us language that comes with Blesta? Are there any other language defines in Blesta that are not working? Can you look in the language file (../language/en-us.php) and verify that the SESSERROR1 and ACCESSERROR1 defines exist?
Reply
06-14-2012 01:47 AM
Junior Member
 
This is what I have for the language keys:

Code:
define("SESSERROR1", "Your session has timed out due to in-activity, please login again.");
define("ACCESSERROR1", "You have been logged out due to a security violation.");
I am using the only language file which is en-us.php. No other language keys seem to invoke a problem, although I haven't really done a full test of all 1800plus keys. ;)

In terms of the server or installation, not sure what could be wrong there. Everything else works from e-commerce sites I host as well as CMS systems such as Joomla and Wordpress without any problem. Can you tell me what you think it might so I can correct them?

See here for a real time example:

http://goo.gl/L5r0w

(Shortened for obscurity by search engines as I don't want my site linked to this problem)

Tyson, I will be more than happy to give you access to the Blesta install if you want to poke around there and see what you think if that would help.
Reply
06-14-2012 03:53 PM
Administrator
 
Someone had this issue before with language defines missing from the login page, but I don't recall exactly what the problem was, although I'm leaning towards something misconfigured in the config file that you created when you installed Blesta.

A couple common problems with the config file are incorrect paths to WEBDIR and ROOTWEBDIR, or saving the file in unicode or some other format rather than a simple ascii text file.

I'm drawing a blank at what else it could be right now.
Reply
06-16-2012 03:01 AM
Blesta Developer
 
Is register_globals on or off? If it is on, can you turn it off and try it again? register_globals is a setting in php.ini prior to PHP 5.4, and it's off by default in PHP 5.3, but a lot of people still have it enabled due to some applications not working without it.
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 09:27 AM.