Error : “WordPress database error MySQL server has gone away for query…..” Solution : You need to add the following line in line number 334 in wp-includes/wp-db.php file $this->query(“set session wait_timeout=600″); Done
Error : After run /scripts/fixcommomproblems Que this message Code: Processing mailman /bin/pwd: failed to stat `.’: Permission denied Processing zarautzi /bin/pwd: failed to stat `.’: Permission denied Processing alphaele /bin/pwd: failed to stat `.’: Permission denied Processing transjus /bin/pwd: failed to stat `.’: Permission denied Solution: Hello,It seems to suid is not set for /bin/pwd [ Read More ]
How to install Mail::SPF on cpanel server
Categories: cpanel, InstallationHow to install Mail::SPF on cpanel server ? Please use the following one line command to perform the install: perl -MCPAN -e “get(‘Mail::SPF’)” && cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf && tar -xzvf Mail-SPF-v2.007.tar.gz && cd Mail-SPF-v2.007 && perl Build.PL && ./Build && ./Build test && ./Build install && /scripts/checkperlmodules –full Done =========================================== As an alternative, to help clarify [ Read More ]
Internal Server Error
Categories: cpanel, PHPSuPHP Permission Issue suPHP enhances overall server security. When migrating from a server that is not running suphp to a server running these, permission and ownership issues occur . When you access your domain you usually see Tail the Apache error logs to see what the error is # tail -f /usr/local/apache/logs/error_logs You can see [ Read More ]
How to set correct ownership to all account on the cPanel server. You can use the following commands to set the correct ownership for all accounts which is hosted on the cPanel server. =============================== for i in `cat /etc/trueuserdomains | awk ‘{print $2}’` > do > chown $i.$i /home/$i -R; > chown $i.mail /home/$i/etc -R; [ Read More ]
how to include file in jsp page
Categories: TomcatHow to include file in the .jsp pages : <%@ include file=”footer.jsp” %>
Error : Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2420 bytes) in /home/username/public_html/thumbnail.php on line 49 Solution : To change the memory limit for one specific script by including a line such as this at the top of the script: Open the file /home/username/public_html/thumbnail.php and add the following code below [ Read More ]







