Whenever I load a tag page, it takes forever to load, it can take over 1 minute to load the tag page..
And sometimes it doesn't load it.. it just goes to home page.. Anyone know why?
can you link me t your site...
and give me some examples of tags which go to your homepage?
http://pornleo.net
Click on any of the tags on the front page or use ' site:pornleo.net ' in google search to pull up any other tag pages.
[07-Jul-2011 08:08:24] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 299
[07-Jul-2011 08:08:24] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 1522
[07-Jul-2011 08:08:24] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/pornleo/public_html/include/functions.php on line 1522
[07-Jul-2011 08:08:24] PHP Warning: mysql_affected_rows() [<a href='function.mysql-affected-rows'>function.mysql-affected-rows</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 1523
[07-Jul-2011 08:08:24] PHP Warning: mysql_affected_rows() [<a href='function.mysql-affected-rows'>function.mysql-affected-rows</a>]: A link to the server could not be established in /home/pornleo/public_html/include/functions.php on line 1523
[07-Jul-2011 08:08:24] PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/pornleo/public_html/include/functions.php on line 1544
[07-Jul-2011 08:08:24] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 299
[07-Jul-2011 08:08:24] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 1748
[07-Jul-2011 08:08:24] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/pornleo/public_html/include/functions.php on line 1748
[07-Jul-2011 08:08:24] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/pornleo/public_html/include/functions.php on line 1750
[07-Jul-2011 08:08:24] PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/pornleo/public_html/include/functions.php on line 1758
i see this in the error_log ..
any idea?
I have no modified my template in months =/
I tried a different template.. same results
all of that suggests that your site cant connect to your mysql server...
recheck your mysql details in config.php...
if it couldn't it wouldn't be able to pull any videos on my page or anything else really.. it is connecting, i just duno what those errors mean specifically
Quote:[07-Jul-2011 08:08:24] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pornleo/public_html/include/functions.php on line 299
means it cant connect to the mysql server...
the rest of the errors, occur when calling certain mysql functions, after the connection has been refused...
pls try to disable getting content from google.
for mysql error yu may have many visitrs so you have too much mysql conection
may be u need to get better server
i figured it out, when loading a tag page it calls a different server for the content. My firewall saw too many requests for this and blocked the IP Range.. which then didn't allow it to call to that IP.. I whitelist the IP range in my firewall and it's fixed.
(08-07-2011 02:31 AM)admin Wrote: [ -> ]pls try to disable getting content from google.
for mysql error yu may have many visitrs so you have too much mysql conection
may be u need to get better server
Server
· 2x Xeon Quad Core E5630 2.53GHz
RAM
· 16 GB DDR3-1333 ECC SDRAM
These are my specs, I think I'm ok =P