I have just installed new phpMyAdmin (version 3.4.8). There is no password for mysql root user. But I coudnt login and got this error:
#1045 Cannot log in to the MySQL server
Reason is: Missing blowfish string and config file.
The solution:
- change config.sample.inc.php to config.inc.php
- put some text for $cfg['blowfish_secret'] on line 17.
change
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
to
$cfg['blowfish_secret'] = 'sdghwkglsdkhuRandomTEXToituwetu45z'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
[warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), refererWed, 12 Oct 2011 11:13:20 +0000
As I want to add a forum entry I got Apache's 500 server internel error. i tried to change .htaccess, php-conf etec but no success.
Error was: [warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer: http://example.com/node/add/forum/1
After a research check error-logs of virtual host I found that /etc/apache2/mods-available/fcgid.conf must be changed.
I added following directive:
MaxRequestLen 157286400
PageRank is a website analysis algorithm of Google with the purpose of "measuring" its relative importance to other websites on the web. After Google's new search alghoritm "Panda" it is getting less importance while sorting search results.
Nearly 300 domains -with PR9- listet alphabetically:
1malaysia.com.my
aacsb.edu
amazon.com
andreasviklund.com
apache.org
apple.com
arwu.org
auf.org
baic.gov.cn
baidu.cn
baidu.com
basbakanlik.gov.tr
bbc.co.uk
beniculturali.it
berkeley.edu
bigtennetwork.com
bireme.br
bl.uk
bloglines.com
bmbf.de
bne.es
bnet.co.uk
bnet.com
Mysql: update weight by an auto-incremented string created on the flyFri, 23 Sep 2011 09:52:06 +0000
I had a problem with Drupal6 by sorting tags. Mysql can sort or place some non-ascii letters correctly but PHP can not.
Example: I have a list of cities and I want to sort them by first letter. I want that "ívori" and "îwata" beeing listet with "Ibiza" under "i". PHP places both ívori and îwata after Z. To prevent this I update "weight" manually with mysql and sort them by weight instead of alpha.
select @my_temp_counter:=0; update `term_data` set weight = (@my_temp_counter:=@my_temp_counter+1) order by name;
I have an i7 QuadCore PC. I have installed WAMP on it. Last time I get this error commonly: "#2006 - MySQL server has gone away". But when I try with mysql console I see that Mysql server is online also not "gone away". How can I configue Phpmyadmin to wait and not give such rush errors ?
I saw the list of websites with PR 10. One of them is very unusual: dragonballzrpgonline.com
And it is not a website anymore it is just a parked domain on register.com.
How can such a domain get Pagerank 10?
As Google updated its alghoritm to "Panda", it shouldnt come to such strange results.
Google updated Pagerank database in august 2011. Here is a list of top 10 Domains with Google PageRank 10.
google.com
facebook.com (social media)
cnn.com (us-american news company)
addthis.com (social bookmarking script)
miibeian.gov.cn (Chinese Goverment)
gmodules.com (a service of Google)
usa.gov (US Goverment)
hhs.gov (US-Department of Health and Human services)
unesco.org
piwik.org (PHP-Mysql based real time web analytics software, open source alternative to Google Analytics)
I have a problem with inline stylesheets. I like to use inline style sheets instead of using css code in head section of an html page or an external .css file.
Example:
But I have a problem when I want it to ffect just a part of subelement and not other paralell elements.
Example 2:
...
I want to my third-level "ul" have border but second-level not. I can do it with css code like this:
div ul { border: none; } div ul li ul { border: 1px solid red; }
I want to be sure than nobody changed any file in my www directory. To do this I want to create a md5 or sha1 checksum of whole folder. Is it possible and if yes how? Thanks a lot!





Index


