Access Denied When Trying to Create a New Page on a Publishing Site

According to my project. user have to created a new page on SharePoint 2010 publishing page them-self.
But when it the test stage. I got this problem when i log into SharePoint publishing site with contribution privileged.

The account can’t create a new page and got the access deny pop up page.
I’ve found the solution refer to the following blog related with MOSS 2007 but it still works on SharePoint 2010 as well.

http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/

The solution is just to check the permission on the master page and page layouts document library that allow your user to access them.