Categories
Development Security Technical Support

sysPass 2.1.8 – Text not being translated

After some hours being lost, I discovered why sysPass translation system was not doing anything even if locale was installed.

The issue lies in setLocales (/inc/SP/Core/Language.class.php), it doesn’t set all language variable.

putenv('LANG=' . $lang);

is not enough. The following line needs to be added.

putenv('LANGUAGE=' . $lang);

It works with this but according to ubuntu help page, the value we set for LANGUAGE would not be ideal. See for yourself at https://help.ubuntu.com/community/EnvironmentVariables.

I’m guessing the difference between LANG and LANGUAGE has to do with how the combo Apache/PHP is running. I didn’t see anything that indicated setting both variables might be wrong.

I discovered the fix which works with PHP 7.1.* when I saw the comment from “yuricardenas at gmail dot com” in the PHP manual, http://php.net/manual/en/book.gettext.php.

 

 

Categories
Technical Support

Ubuntu 16.04 – Installing epson WF-2650

Since LSB cannot be installed easily on ubuntu 16.04, drivers found on epson website is not really usable anymore.
I found my answer here –> https://askubuntu.com/questions/763157/ubuntu-16-04-installing-epson-driver-fails-on-lsb-3-2/763268#763268?newreg=2a690758362a43a6ac908da5423110dc

sudo apt-get install printer-driver-escpr

And then simply add the printer using DNS-SD connection.

Categories
Non classé Technical Support

Windows server SBS2011 – Backup problems

If you are having issues with Acronis Backup and Recovery 11.5 and Windows SBS 2011 or Windows 2008 (including R2), it might be related to your hard drive.

Take a look at this page for the support hard drive on Windows :

http://support.microsoft.com/kb/2510009

First thing you realize is that 4K (4096 bytes)  per sector is not supported on every version of windows.

Before buying a new hard drive, you might want to make sure that it is 512 bytes per sector.

Hope I was able to save you some time.

 

Categories
Technical Support

Problem solving : Windows startup (related to memory)

Warning : If you have a problem with your computer and you’re at ease with computer hardware, you could attempt what is included within this article. However, please note that you are on your own, I will not be held responsible if it turns out bad.

A computer has been submitted to me on thursday for a problem at startup. (Windows 7, Core i7, 16GB RAM, SSD Hard Drive).

First possibility : Application thet gets in the way.

The first possibility that comes to mind is that an application is causing Windows to have troubles loading. Clearly it’s time to perform a clean boot. Here is the link how to achieve it, http://support.microsoft.com/kb/331796. It’s mostly about going in msconfig and go through a process of elimination to find the application or service that prevents windows to boot correctly. Under normal circumstances, if it starts in safe mode and all is running smoothly, it’s a good sign. Once the guilty software is identified and desactivated, it should be good now. Unfortunately here, it was not that simple.

Blue Screen Of Death shows up..

In this case, blue screen started to show up. Every time the message is about memory management. I start having doubts about the memory sticks. Computer might be new, it’s not a reason to rule it out. It’s time to test with memtest86+, http://www.memtest.org/. Results are clear, screen is red, memory has defects. I turn it off. I removed all memory sticks except one. I start memtest86+ and test again. Then I repeat the process with another stick until I find the bad stick. Bad stick is found. It’s now excluded. I put the good memory back in place. I power on. First step completed.

Corrupted OS

With the memory problems, some files must have been corrupted and the OS is corrupted. It refuses to boot.  I reinstall windows. With a SSD drive, there is no pain. Tuesday I will have the replacement for the stick and then back to the full 16GB of RAM. Sweet.
You

How would you have dealt with this problem ? I’m not a tech, I’m a developer, so I’m curious about all the possibilities.