Incoming email to osTicket, but attached files from the email message are missing in the ticket.
Make sure attachements are enabled for tickets in osTicket.
- Login as osTicket administrator
- If you are not on the administrative control panel, switch to it by clicking Administrative control panel (top right menu)
- Settings -> Tickets
- Scroll down to the attached files section and click on the Config button
- Make sure the Allow attached material is ticked and optionally select the file types to accept. Also check the allowed file size so it is sufficient.
- Click Save
In Windows 7. 8 or 10 Contacts there is only a possibility to import contacts in CSV format. If you have your contacts in VCF files you need to use Windows Live mail program in order to import them.
First of all, if you have your contacts in many different VCF files it can be convenient to combine them into one single file. That way you can import one file instead of thousands. This post describes how to combine them.
- Download Windows Live mail here.
- Install Windows Live mail on your computer.
- Open Windows Live mail and configure your mail account.
- Click on Contacts and when asked, log in to your Windows Live account (i.e. the same Microsoft account used to log in to your computer running Windows 7, 8 or 10)
- Click Import, select Visit card (.vcf)
- Select your VCF file and import it.
After uploading/copying the files from the upload directory to a osTicket installation in order to upgrade it to osTicket 1.9.14, I got the error message ‘Access denied’ when trying to login as administrator to finalize the upgrade. Deleting the osTicket session cookie did not help either.
It turned out that the problem was that all files in the distribution ZIP-file had file permission ‘000’ causing the trouble. A ls -l looked like this:
---------- 1 webNNN clientX 5162 jun 11 18:22 login.php
---------- 1 webNNN clientX 980 jun 11 18:22 logo.php
---------- 1 webNNN clientX 714 jun 11 18:22 logout.php
---------- 1 webNNN clientX 1584 jun 11 18:22 main.inc.php
---------- 1 webNNN clientX 930 jun 11 18:22 offline.php
---------- 1 webNNN clientX 2830 jun 11 18:22 open.php
A simple fix was needed. Make sure you are in the upload folder of the unpacked distribution zip when you do this:
chmod 644 `find . -type f -print`
A Mac suddenly displayed the message “Your startup disk is almost full” to the user. However, there should be plenty of space left on the disk. Something was eating up the disk rapidly.
Some investigation using Activity Monitor showed that a process called fontworker was also eating a large chunk of the CPU as well. In the Terminal I entered the command:
sudo du -sm *
to find out what folder was using most space (the command requires admin privileges so it will prompt you for the administrator password). I then entered:
sudo du -sm *
to find out what was using most space in the largest folder (replaced by “the-folder-name” in the example above). I repead the steps until I found a large file containing the fonts database occupying about 85 GB which is way more than normal.
It turned out the fonts cache had become corrupt.
To rebuild the font cache was easy. By simply restarting the computer into Safe mode and then reboot it back into normal mode, the font cache was cleared and rebuilt, solving both the disc and CPU problem.
Problem with the fonts sometimes occurs after OSX reinstall which in this particular case had been performed about a week ago.
When working with template files like css in Joomla the codemirror editor is used. However, a great annoyance is that it is not possible to use the browser search (CTRL-F) to find code. When your css becomes large this can be really annoying.
There is a search addon available for codemirror however. This is how you add it to your codemirror editor in Joomla:
Download these files:
Upload the files into your Joomla and place them in the <Joomla root>/media/editors/codemirror/lib directory.
Edit the file <Joomla root>/plugins/editors/codemirror/layouts/editors/codemirror/init.php
Find the two lines (around line 19-20) looking like this:
JHtml::_('script', $basePath . 'lib/codemirror' . $extJS);
JHtml::_('script', $basePath . 'lib/addons' . $extJS);
After them, add the following lines:
JHtml::_('script', $basePath . 'lib/search.js');
JHtml::_('script', $basePath . 'lib/searchcursor.js');
Save the file and enjoy searching in codemirror using the commands described in the search addons page (like CTRL-F etc)!
Note: A future possible system update will however overwrite the changes made in init.php.
Solution by Stefan Helander, HelTech Communication AB.
To find all files modified on, for example, January 21 2013:
find . -newermt 2013-01-21 ! -newermt 2013-01-22
When you are dealing with a hacked or otherwise compromised website where someone has installed a backdoor or other kinds of malicious code you will often find php files with code packed into non-readable format using php eval, like
To find out what the code does, copy the entire eval code (including “eval(“) into this site: http://ddecode.com/phpdecoder/
You will in the end get a human readable version of the code. Usually nasty stuff.
USB memory sticks or external disks that has been formatted on a Mac might not be readable if you connect it to a Windows computer. The reason is that the Mac has formatted it using a file system unknown by Windows.
To read the disk you can use the free tool hfsexplorer.
If you have your contacts exported into .vcf files, they can easily be imported into for example iCloud, Google or your email program. However, if you have a couple of hundreds or thousands of contacts, and equally amount of .vcf files it will be very inefficient to import each contact one by one.
A solution is to combine all contacts into one single .vcf file. By importing the combined .vcf file all your contacts are imported at once.
To combine all .vcf files into a single one can easily be done using a Windows command prompt (cmd).
copy *.vcf allcontacts.vcf
Now import the file allcontacts.vcf into iCloud or similar.
When trying to upgrade Magento from 2.0.2 to 2.0.4 I got a windows saying Update in progress and the last line from the system log says “./composer.json has been updated” then nothing more happens for quite a long time. Finally an error screen displays “Error in Update!”.
To restart the update process while trying to figure out the error i had to manually delete the files var/.maintenance.flag and var/.update_in_progress.flag.
Magento System Upgrade error
To make Magento run in Apache we had set php.ini for the web user to memory_limit=1024M and according to instructions, the cron jobs should be called with the -c pointing to the php.ini used by the web server, in our case /etc/php5/fpm/php.ini.
No error message revealed why the update failed but I found out that the php.ini we used for cron (/etc/php5/fpm/php.ini) had a memory_limit=128M. By editing this file and increasing it to 1024M the update worked.