What did I do wrong... language pack...
Moderator: mkoch227
What did I do wrong... language pack...
Version of script: 2.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi All,
I did add Norwigen lanuagepack and it worked fine... then I translated everything to Swedish and I did dubblechecked everything, all was exacly as EN & No... so I installed it and the Hesk installation did die... only get http 500... and what should I do?
http://www.itkab.se/download/sv.rar
Best regards
Conny
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi All,
I did add Norwigen lanuagepack and it worked fine... then I translated everything to Swedish and I did dubblechecked everything, all was exacly as EN & No... so I installed it and the Hesk installation did die... only get http 500... and what should I do?
http://www.itkab.se/download/sv.rar
Best regards
Conny
Re: What did I do wrong... language pack...
All your lines in text.php end with However, they should only end with
So, delete " from the end of all lines, then upload text.php to your server and open text.php in your browser - it should tell you either that "No syntax errors detected" which is OK or give you the number of the line where another error is located.
Code: Select all
;"
Code: Select all
;
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
I have changed like you said... had missed it, but I still got HTTP 500 internal server error... and this appeard after I installed additional language...Klemen wrote:All your lines in text.php end withHowever, they should only end withCode: Select all
;"
So, delete " from the end of all lines, then upload text.php to your server and open text.php in your browser - it should tell you either that "No syntax errors detected" which is OK or give you the number of the line where another error is located.Code: Select all
;
http://www.itkab.se/support
Re: What did I do wrong... language pack...
You most likely have more errors in the language file, upload the modified one and I will check.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
Hi are the file... http://www.itkab.se/download/sv.rarKlemen wrote:You most likely have more errors in the language file, upload the modified one and I will check.
But can it not be other thing becouse, it dosen´t work with any language
//Conny
Re: What did I do wrong... language pack...
English works fine, so it is the text.php file:
http://www.itkab.se/support/?language=English
The one you posted is still the old one, upload the new one where you removed " from the end of lines.
http://www.itkab.se/support/?language=English
The one you posted is still the old one, upload the new one where you removed " from the end of lines.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
Sorry, I have changed now http://www.itkab.se/download/sv.rarKlemen wrote:English works fine, so it is the text.php file:
http://www.itkab.se/support/?language=English
The one you posted is still the old one, upload the new one where you removed " from the end of lines.
//Conny
Re: What did I do wrong... language pack...
You still had a lot of syntax error in the text file. I fixed those for you now and hope you will share the final translation with others
Download the fixed text.php file here:
http://www.phpjunkyard.com/extras/text_sv.zip
You need to be very careful when translating/modifying any PHP files because PHP is very strict when it comes to syntax errors and just a small error (like a missing quote, semi-colon, one quote too much etc) will break the script.

http://www.phpjunkyard.com/extras/text_sv.zip
You need to be very careful when translating/modifying any PHP files because PHP is very strict when it comes to syntax errors and just a small error (like a missing quote, semi-colon, one quote too much etc) will break the script.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
Klemen wrote:You still had a lot of syntax error in the text file. I fixed those for you now and hope you will share the final translation with othersDownload the fixed text.php file here:
http://www.phpjunkyard.com/extras/text_sv.zip
You need to be very careful when translating/modifying any PHP files because PHP is very strict when it comes to syntax errors and just a small error (like a missing quote, semi-colon, one quote too much etc) will break the script.
Hi, ofcourse will I share it... thanks for the help.... I did think I locked every where thanks a lot
Re: What did I do wrong... language pack...
I must ask... almost everything working... if I choose Swedish should not admin view be displayed? its working with english and norwigian...
//Conny
//Conny
Re: What did I do wrong... language pack...
Not sure what you mean?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
I mean when I have change langage to swedish and click on the link administrator panel and type username and password... will it only be a blank side (with side)Klemen wrote:Not sure what you mean?
Re: What did I do wrong... language pack...
But when you login in some other language it works fine?
If yes, login to admin panel in English then try turning "Debug mode" to ON, save settings, logout, open Hesk in Swedish and try logging in - do you get any error messages now?
If yes, login to admin panel in English then try turning "Debug mode" to ON, save settings, logout, open Hesk in Swedish and try logging in - do you get any error messages now?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: What did I do wrong... language pack...
Hi, It will not appear any error message on screen...Klemen wrote:But when you login in some other language it works fine?
If yes, login to admin panel in English then try turning "Debug mode" to ON, save settings, logout, open Hesk in Swedish and try logging in - do you get any error messages now?
Re: What did I do wrong... language pack...
Can you show me your latest language file? My guess is an error there (maybe you have empty space before <?php or after ?> in the text.php file?) is causing headers not being redirected properly.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools