Sending Mails by Gmail for Free WordPress Web Hosting
Posted on | January 8, 2010 | Views (126) | Comments (2)
As you can see in the above picture, the SMTP service is disabled for the free hosting accounts, whereas PHP Sendmail enabled. Hui-wang.info is currently hosted by byethost.com. The problem is that mails sent from my site arrive at the destination in a very big delay. And there was one time that my site was blocked due to a not very heavy mail traffic. Here is how I’ve solved this not big but bothering issue.
Duplicate Post Name In WordPress
Posted on | August 15, 2009 | Views (671) | Comments (15)
In Wordpress 2.8.4, from the function wp_unique_post_slug in line 1730 in wp-include/post.php, we can see that the post_name is not allowed to be duplicated.
Static CSS with Dynamic Element ID
Posted on | July 28, 2009 | Views (274) | Comments (0)
We can make dynamic CSS via PHP, but it’s a little bit complicated when just a very small modification is needed. The idea, static CSS with Dynamic element id, comes from when I am trying to render a sidebar in different pages in Wordpress. I’d like to show it to you with a single line [...]
GD Library Error: imagecreatetruecolor does not exist
Posted on | July 3, 2009 | Views (2,258) | Comments (5)
To solve this problem you should get gd extentioin installed and activated in PHP.
Normally the gd library is availlble with PHP 4.3+ installed. However if it doesn’t exist, for linux users, type the following command in a terminal,
sudo apt-get install php5-gd
For those who use windows, you can find it in the ext directory in php-5.2.10 [...]
Unable to locate WordPress Content directory (wp-content).
Posted on | June 21, 2009 | Views (6,072) | Comments (55)
This error arised from the installation of a plugin within the dashboad where the ftp information is needed. I am currently using byethost.com as my web host.
I found that someone here is talking about the similar problem. For this moment, I have just figoured out that error is generated by the file
wp-admin/includes/class-wp-upgrader.php in line [...]
What is a php framework?
Posted on | May 27, 2009 | Views (177) | Comments (0)
There are plenty of articles which descripes the deferrences between php frameworks. But before talking about how to make a choice, it’s worth talking about what a php framwork is.
The idea behind a framework is to offer a design you can use across multiple applications. All applications have a number of basic [...]
Install PDT 2.0.1 and Eclipse 3.4.1 in ubuntu 9.04
Posted on | May 24, 2009 | Views (1,226) | Comments (4)
What is PDT?
The PDT is working towards providing a fully functional PHP Integrated Development Environment framework for the Eclipse platform. This project will encompass all development components necessary to develop PHP-based Web Applications and will facilitate extensibility. It will leverage the existing Eclipse WTP Project in providing developers with PHP capabilities. The main components in [...]
Could not perform XLST transformation
Posted on | May 21, 2009 | Views (106) | Comments (0)
When I am trying to realize my first project with this tutorial under the symfony framework, I met this error.
cause: php symfony propel-build-model
error:[propel-om] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.
analyze: the xlst module was not enabled during php installation
solution: sudo apt-get install php5-xsl
Hi everyone, I'm Hui, a student originally from China, now studying at TELECOM SudParis in France. Hui-Wang.info is being used as a place to record my various adventures with technology.