Items filtered by date: December 2015

When you start your Xampp server you ge the floowing error:

#2002 - No connection could be made because the target machine actively refused it.

Stop and start the mysql service. It is most likely caused by a bad shutdown and restarting the service seems to fix the issue.

Published in xampp
Tuesday, 08 December 2015 20:02

Change default collation in phpMyAdmin

in phpmyadmin to get utf8_general_ci as default collation:

  • Open phpMyAdmin
  • Goto home/variables/character
  • Change latin1 to utf8

I need to verify this.

Published in MySQL

My solution was orginal posted on the joomlashine forum here.

If I modify your instructions to below they work:

Menu Item -> Page Display Tab -> Show page heading -> No
Menu Item -> Options Tab -> Show Title -> Show

My Notes:

'Show Page Heading' option

This option allows you to display a page title based on the menu item and it works as follows. If enabled it will try and display each of the items in order, if one does not exist, it moves to the next:

Page Heading --> Browser Page Title --> Menu Title

To fix my problem:

Per Menu Item

Enter a Page Heading

or

Menu Item -> Page Display Tab -> Show Page Heading -> No
Menu Item -> Options Tab -> Show Title -> Show
* this will use the articles title

Set Options Globally

Global Configuration --> Articles --> "Show Tile" = Show
Global Configuration --> Menus Manager --> "Show Page Heading" = No
* this will use the articles title

Assumptions

I have all article display options (Global Configuration --> Articles) set to Off or do not display. I find this is a neater way to build small websites.

Published in Joomla
Tuesday, 08 December 2015 19:54

My SPAM Notes

  • if an email is sent from an authenticated account, this reduces the chance of the email sent getting tagged as spam
  • sending an email that is signed reduces an emails spam score
Published in Email

in the Joomla admin

  • Extensions --> Language Manager
  • Select the language you want to alter i.e. English (en-GB) (you might not need to do this but it does not harm)
  • Click Overides
  • Click New
  • Change 'Search For' to search Constant
  • paste or type JPAGETITLE
  • Click on the JPAGETITLE highlighted area that appears below
  • Replace '-' with '|'
  • Click Save and Close

The '-' is now overided for '|' for that language only and with no core file alterations. This is also only for the Frontend.

Links

Published in Joomla
Tuesday, 08 December 2015 19:05

Typography

This is a single page for all of the basic Typography features of the Joomlashine templates. When a section gets big enought it will be moved to it's own page and that is why you might not see it here.

Table

This is a full and correct example of a Joomlashine table with a coloured header and odd rows coloured. There is an even class for rows but I prefer just to have the odd rows coloured and then I have centered the table to make it look nice. Joomlashine templates offer several table stylings that can be easily changed, this is but one of them but the basic cade apart from a few CSS classes is the same.

  • Yes: √
  • No: ×
  Monday Tuesday Wednesday Thursday Friday Sat - Sun
Guide Only All Prices in £
Arwen 280 375 240 240 460 665
Croglin 270 360 230 230 430 630
Evelyn 170 225 140 140 270 420
Gwendoline 180 240 150 150 290 455
Ruby 150 195 130 130 220 350

 

<table border="1" class="table-style style-colorheader" style="margin: auto auto;" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<th style="text-align: center;" width="81">&nbsp;</th>
			<th style="text-align: center;" width="81">Monday</th>
			<th style="text-align: center;" width="81">Tuesday</th>
			<th style="text-align: center;" width="81">Wednesday</th>
			<th style="text-align: center;" width="81">Thursday</th>
			<th style="text-align: center;" width="81">Friday</th>
			<th style="text-align: center;" width="81">Sat - Sun</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<th>Guide Only</th>
			<td colspan="7">All Prices in &pound;</td>
		</tr>
	</tfoot>
	<tbody>
		<tr>
			<th style="text-align: center;" width="81">Arwen</th>
			<td style="text-align: center;" width="81">280</td>
			<td style="text-align: center;" width="81">375</td>
			<td style="text-align: center;" width="81">240</td>
			<td style="text-align: center;" width="81">240</td>
			<td style="text-align: center;" width="81">460</td>
			<td style="text-align: center;" width="81">665</td>
		</tr>
		<tr class="odd">
			<th style="text-align: center;" width="81">Croglin</th>
			<td style="text-align: center;" width="81">270</td>
			<td style="text-align: center;" width="81">360</td>
			<td style="text-align: center;" width="81">230</td>
			<td style="text-align: center;" width="81">230</td>
			<td style="text-align: center;" width="81">430</td>
			<td style="text-align: center;" width="81">630</td>
		</tr>
		<tr>
			<th style="text-align: center;" width="81">Evelyn</th>
			<td style="text-align: center;" width="81">170</td>
			<td style="text-align: center;" width="81">225</td>
			<td style="text-align: center;" width="81">140</td>
			<td style="text-align: center;" width="81">140</td>
			<td style="text-align: center;" width="81">270</td>
			<td style="text-align: center;" width="81">420</td>
		</tr>
		<tr class="odd">
			<th style="text-align: center;" width="81">Gwendoline</th>
			<td style="text-align: center;" width="81">180</td>
			<td style="text-align: center;" width="81">240</td>
			<td style="text-align: center;" width="81">150</td>
			<td style="text-align: center;" width="81">150</td>
			<td style="text-align: center;" width="81">290</td>
			<td style="text-align: center;" width="81">455</td>
		</tr>
		<tr>
			<th style="text-align: center;" width="81">Ruby</th>
			<td style="text-align: center;" width="81">150</td>
			<td style="text-align: center;" width="81">195</td>
			<td style="text-align: center;" width="81">130</td>
			<td style="text-align: center;" width="81">130</td>
			<td style="text-align: center;" width="81">220</td>
			<td style="text-align: center;" width="81">350</td>
		</tr>
	</tbody>
</table>

Content Columns / Grid Colum Layout

This is the syntax for using Joomlashines inbuilt column system. You can set as many columns as you want.

Lorem ipsum dolor sit amet, cu ferri aperiri mea, omittantur reformidans neglegentur ius te. Melius percipit expetendis duo at, molestie scaevola at mei. Ad sed nibh solum definitionem, ubique percipit democritum nec ei, corrumpit hendrerit ad eum. Est te omnium virtute inimicus, eum te atqui tacimates pertinacia.
Lorem ipsum dolor sit amet, cu ferri aperiri mea, omittantur reformidans neglegentur ius te. Melius percipit expetendis duo at, molestie scaevola at mei. Ad sed nibh solum definitionem, ubique percipit democritum nec ei, corrumpit hendrerit ad eum. Est te omnium virtute inimicus, eum te atqui tacimates pertinacia.
Lorem ipsum dolor sit amet, cu ferri aperiri mea, omittantur reformidans neglegentur ius te. Melius percipit expetendis duo at, molestie scaevola at mei. Ad sed nibh solum definitionem, ubique percipit democritum nec ei, corrumpit hendrerit ad eum. Est te omnium virtute inimicus, eum te atqui tacimates pertinacia.
<div class="grid-layout">
	<div>Text in column 1</div>
	<div>Text in column 2</div>
	<div>Text in column 3</div>
</div>

Blockquotes

Blockquote 1

This is a nice Blockquote from JSN Air

Every company should be this way

Outstanding Products, Outstanding Support, Outstanding Business Ethics...Every company should follow these guys. WELL WORTH THE MONEY!

Bob Stevenson

CSS

.testimonials {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	font-size:12px;
	color:#898989;
}

HTML

<div>
	<h4>Every company should be this way</h4>
	<blockquote>
		<p class="testimonials">Outstanding Products, Outstanding Support, Outstanding Business Ethics...Every company should follow these guys. WELL WORTH THE MONEY!</p>
		<p><strong>Bob Stevenson</strong></p>
	</blockquote>
</div>

Blockquote 2

Super Gallery

Super gallery! I really like it right from first few minutes when i download it. Excellent documentation with great visualisation. Didn't get a chance to contact to support bec. everything clear and working smooth! Thank you guys!

samed1978,

Review from JED

HTML

<blockquote>
	<h4>Super Gallery</h4>
	<p>Super gallery! I really like it right from first few minutes when i download it. Excellent documentation with great visualisation. Didn't get a chance to contact to support bec. everything clear and working smooth! Thank you guys!</p>
	<p>samed1978,</p>
	<p><a href="http://quantumwarp.com/" target="_blank">Review from JED</a></p>
</blockquote>

 

Published in Joomlashine
Tuesday, 08 December 2015 18:54

My Caching Notes

There are 2 types of file caching implicit and explicit when talking about browsers but a 3rd type of caching, is proxying which is dealt with by external servers to reduce network load.

Implicit

This is where a file might be read from the cache or not. this works by th use of the last-modified header. most browsers will ask the server if the file they seek is newer thant the version it has it its cache. if it does not have the file in the cache it will download the file and if it does have the file in its cache it will see, via a header request, if the file on the server is newer, if newer it will download, if not it will use the locally stored version. by default the las-modified header is always sent but can be disabled by removing the header which will force the files always to be downloaded if not other cache headers are set.

Explicit

This is set by using the 'expires' header. you can set a date on the server when you want this file to expire. what this does is tell the browser to use the locally stored file until the expiry date is passed, the browser will not even do a header look up, it just accepts that it should use the locally stored file witout question. using this metjhod reduces header lookups for files that it already has but has a downfall that if these files are updated on the webserver that they will not get updated until either the client empties their browser cache, presses CTRL+F5 for a hard refresh of the expiry date passes. it is also common when using this type of cachiing that you can unset the 'last-modified' header to reduce traffic from your webserver.

Proxies

This is a metjod of caching data between the webserver and the targeet client without anyone in the stream really noticing. these servers can be used to load balance traffic and off load the caching and serving of files to a specific machine where that is all it does. the proxy does not generate the code but just mearly keeps a copy of it and servers it to a client. A CDN is a type of proxy and probably one of the most recognisably uses of a proxy. A CDN is used to negate issues of a worldwide distrubutions of a single website. If a single website is loacted in america and someone in austrailia tries accessing this site they will find it a lot slower that someone in california trying to access this website becauser they are thousands of miles away so the traffic has to travel a lot further so if you have a copy of this american website on a proxy server in austrailia the site appears to run just as quick in austrailia as it is in america because the files are travelling from the proxy server located in austrailia and not amrica. Not only does this method save time but money aswell because transataltic traffic is expensive. Proxy servers are more complex than just blind file caching because of how websites work so they can sync data, load balance and much more which is all configurable but in the end they do what they say on the tin.

Published in Caching
Tuesday, 08 December 2015 18:01

Dodgy RAM - An Explanation

Dodgy RAM can caused by a bad connection between the socket and the DIMM other than failed cells.

Bad connections can be caused because the DIMM socket is damaged or there is oxidation on either the DIMM connectors or the sockets connectors. This can be remedied by cleaning the oxidation off the surfaces by using isopropanol to clean the areas.

Further Notes

If pins of a socket are damaged or missing on one side of the socket, you could use DIMMs with chips only on one side. The chips on that side of the DIMM are only accessed by that side of the socket.

Using the memory with chips on one side only might only half of the time. It will also only allow you to have half the maximum RAM of that socket.

The reason is because:

  • A DIMM has 2 sides, A and B
  • Side A is accessed before Side B
  • Single sided DIMMs are populated on the A side
  • If the damage is to the B side of the DIMM socket then putting in a single sided chip will work because the B side of the socket is never accessed.
  • If the damage to the socket is to the A side, no matter whether you use a single or double sided DIMM then side A will always be accessed and will cause errors from that DIMM/Socket
Published in General
Tuesday, 08 December 2015 17:56

taskeng.exe opens up in a command prompt

Every so often on my dell laptop a command prompt opens with taskeng.exe being executed in it.

taskeng.exe runs supportassist.exe which is part of the Dell software package.

Links

Published in Windows General
Tuesday, 08 December 2015 15:31

Missing Displays

One of the main area for issues with Windows 10 is the way it handles displays/monitors.

Setup

  • Dell E6540 Laptop
  • 2 x Dell U2414H connected by HDMI

My monitors were shown in device manager on my Dell e6540. For my dell U2414H I also updated the drivers instead of using the generic Microsoft ones (not sure htis would of made a difference though)

  • Goto the intel HD Graphics Control Panel
  • Multiple Displays Tab
  • Goto the "Select One or More Active Displays" section
  • You will find your missing monitor listed and set to none and save
  • Set to match the name of your monitor andsave
  • Done

Other fixes that you should try first

  • Update drivers
  • Update monitor drivers
  • Reboot your PC with all the monitors turned on
  • If using a laptop on a docking station, undock and then re-dock
  • Try a different monitor
  • Make sure windows 10 is all upto date
  • Run intel driver update utility
  • Make sure all drivers are present (ie SM Bus / Chipset drivers)
Published in Windows 10
Page 40 of 96