Recently I set up a PC with Ubuntu 16.04 + LAMP.
In a web application I've found that the frontend was not displayed correctly. So I checked in Chrome browser Developer Tools, and find that most of the css files were missing.
These css files are named with random numbers, for instance, Resources/Public/Css/Basic.1536323070.css.
But actually in the folder Resources/Public/Css/ there exists only a file named Basic.css. Therefore the system could not find the Basic.1536323070.css, and the frontend was not shown properly.
In Contrast, I've checked this in another PC (also with Ubuntu 16.04 + LAMP) of mine. In this PC, the css files like Resources/Public/Css/Basic.1546357210.css can be found by the system (although in the corresponding folder there is only the file Basic.css), so, the frontend is well shown.
On these two PCs I've used the same version of Apache, Mysql, PHP, and done the identical configurations.
Can someone tell me why one PC can find the css files with random numbers, but another can't?
Related
I followed the instructions in
https://www.azerothcore.org/wiki/Database-Setup
keep getting this
my OS is windows 10
It looks like you have a space in your username. From my understanding the db_assembler.sh does not currently support spaces in the path. I would suggest moving your azerothcore source folder to a different directory.
I'm currently struggling with a Qt app. I'm trying to download some files from Google Drive using QNetworkManager, QNetworkRequest and QNetworkReply.
First of all, my app works fine on a few computers (4 or 5 people tested it and didn't encounter any error). Each file which must be downloaded is effectively downloaded. (About 280 files are downloaded each time this way, and there is no problem.)
The issue is a member of my work team has only 0-byte files. Every single file which is downloaded over SSL doesn't have any content. The only one download on classic HTTP is correctly donwloaded.
Have you ever seen this bug?
All my "download" code comes from this single tutorial.
Edit : After a few tests, we found that the error was Error creating SSL context ().
Thus, we tried to solve it by installing both needed libraries (ssleay32.dll and libeay32.dll) on the computer but it didn't work. Do you know if it needs some other libraries?
It was actually about missing libraries. I had to add to my folder :
libeay32.dll
libssl32.dll
ssleay32.dll
The point was, even on 64-bit systems, these libraries had to be for 32-bit systems because I compiled my applications for 32-bit systems...
Moreover, msvcr120.dll was needed for some computers.
I am using a bar code font to display bar code in my crystal report. It's working fine but in one condition
It needs restart of machine after installing bar code font. So it's working good because after installing bar code font I simply restart the machine and it start's work.
But when I uploaded my project on web server the same condition occurs. My service provider installed bar code font on server but, it requires restart of server to take effects which is not possible.
So what is the solution ?
I know that this is a old post.
But i had a issue with using a windows 10 computer with the font not registering even after i restarted the computer.
I found that the issue is that the font didnt get installed into the windows/fonts folder.
I tried dragging it into the correct folder but it still installed in C:\Users\***\AppData\Local\Microsoft\Windows\Fonts
I found the a solution is to right click on the font and click install for all users.
That was only way that it installed it in the right folder.
Found in answers.microsoft.com
I know that this is a different issue i just wanted to have the information available for anyone else that comes up with a similar issue.
Although many applications can detect the fonts installed using Drag-n-Drop or Copy-Paste to the Windows\Fonts folder, but Crystal Reports needs the fonts to be registered.
Drag-n-Drop or a copy-paste of font in the Windows\Fonts will not be registered until the system is restarted.
You'll have to ask your service provider to delete the copy/pasted or drag/dropped file from the Windows\Fonts folder and then do a proper install of the font, it will register it without restarting the system.
Typically a font can be installed/registered in the system as follows:
Control Panel > Fonts > File Menu > Install New Font > Select Drive of new font file > Select Folder of new font file > Select New Font File > Select Copy Fonts To Fonts Folder CheckBox > OK
Some options may vary depending on Windows version but procedure will be same. After installing/registering the font just close and re-open your Crystal Reports without restarting the system.
For official Microsoft reference of installing and removing fonts in common windows versions you may see How to install or remove a font in Windows
JWrapper support now redirects to StackOverflow, so I'm posting here.
The Windows shortcuts created by JWrapper don't work; they point to a location which doesn't exist; I can verify this by navigating to the directory pointed to in the properties of the shortcut:
C:\Users\jchrist\AppData\Roaming\JWrapper-SampleApp
and seeing that the expected SampleAppWinLauncher.exe isn't there.
I can reproduce this simply with a slight modification of the SampleApp. Open the jwrapper-sampleapp.xml file and copy main virtual app, but give it a different name:
<App>
<Name>SampleApp2</Name>
<LogoPNG>sampleapp/logo.png</LogoPNG>
<MainClass>jwrapper.SampleApp</MainClass>
<Param>one</Param>
<Param>two</Param>
</App>
If you do this, and then run the 32-bit offline installer, you'll get a dialog which allows you to select which of the two virtual apps you want to launch.
After selecting one of the (identical) virtual apps and quiting it, the shortcuts provided in the start menu in the SampleApp folder do not work. If you dig into the properties of the shortcuts, you can see they point to an executable which doesn't exist. (It did exist, but it deletes itself after the first run).
I'm using the latest JWrapper (jwrapper-00036138363.jar, although this problem existed with jwrapper-00035090611.jar) as well.
I've tested this on Windows 7 today and it works OK. I haven't tested this on server 2008 but Windows 7 is treated basically the same as Server 2008 by JWrapper. Also the executable disappearing after the first run is not normal behaviour.
My guess would be that this is antivirus software that is detecting the run as a false positive and deleting the executable. Do you have any AV software installed? can you turn it off to test?
Unfortunately some AV software will delete files etc without any warning.
I have a mapped drive from a *nix system on my windows 7 machine. I would like to work on code from work on my home computer. The problem is the directory structure at work has a bunch of symlinks which the R code references. Windows is unable to see those symlinks and so the entire thing crashes. Is there a way to make Windows/R recognize these links? The reason I say Windows/R is because WinSCP is able to see these links.