Change your code link <a href="target="_blank"></a> to this code <a href="#" onclick="target='_blank'"></a> for passed validation on W3C.
Finnaly i got data of hosting and domain my client this day, and they hosted in Masterweb Indonesia. And they using their own panel called Spanel.
What a classic, boring and stress full using this webpanel. Spanel got application to install blog like Fantastico or Softacilous but off course not powerfull enough, then i tried to install wordpress. Coz they provided the version 3.2.1 not the last 3.3.1 then i have to upgrade it and other component. I tried install too plugins Disqus Comment System. Then i realized i will build the cms with beta folder, silly right, hihihi, thats me. I tried to delete the wordpress installation but theres left folder, wp-content. It’s because i cannot delete the folder wp-content that there’s akismet and disqus comment system folder that not to belong me. May be it’s because wordpress use cgi username when trying to install plugins. Then i left behind this folder and wait until i backup the old of my client site.
After that i create folder to install wordpress, and the weird is when i call that url there’s erro, CGI Execution Error. Whaaaat. After searching menu in Spanel, i tried to reset permission on my client site. I don’t know it’s cool enough or not coz i still confused with this webpanel. After i reset the permission, then i can delete the wp-content that i created before and error on the wordpress installation in the other folder too is gone.
Really weird and so awkward.
Since yesterday i tried to install Adobe Audition CS5.5, but it’s keep showing me Exit Code:20. I’m trying to google it but no answer to my problem.
Then i figure it out that, i install from network. So i copied the source Adobe Audition to Documents (i think it could be anywhere as long in your hdd), then the installation is completed. I gues Adobe can not install from source in the network.
if you care about valid HTML5, there is another small problem in the disqus plugin. It is using rel attributes in <span> tags (which is not allowed in HTML5) to mark these tags for the JavaScript code that later replaces them with the x comments and y reactions link.
Instead of rel attributes, a HTML5 conformal data-* attribute can be used. To fix this, do the following:
- Search disqus.php for <span class=”dsq-postid” rel=”[…]. There should be 2 occurrences around line 700 in the functions dsq_comments_number and dsq_comments_text.
- replace the rel tag with a data-* tag of your choice, for example data-id.
- Around line 1060 there are 2 functions, dsq_output_loop_comment_js and dsq_output_footer_comment_js. Within the loops inside these 2 functions, you will find a nodes[i].getAttribute(‘rel’) expression. Replace the rel with the name of the data-* tag you have assigned in step 2.
This will make HTML5 validators happy without affecting the functionality of the plugin.
Note: tested in most modern browsers (Internet Explorer 8 and up), Chrome, Firefox 4, Opera 10+11. I cannot guarantee that some older browsers may react strangely on data-* attributes. In theory, they shouldn’t, but you never know…
source: blog miranda
I’m trying to build wordpress theme with jQuery Mobile. But it’s always give an error when i tried to open any link. It’s keep give me loading and an error in the end.
After an hours finnaly i know what thats keep me wrong. That i’m not putting rel=”external” on the link that created by theme. So, i just give an jQuery function to add this rel on every link instead I manually add to all the file of the theme.
$(document).ready(function(){$("a").attr("rel","external");});
And viollaaa, now every link it works like a charm, Alhamdulillah.
Add max_allowed_packet = 32M or something number that you need on /etc/my.cnf (i user virtualmin)
It’s just like this:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
max_allowed_packet = 32M
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
