When we install zen-cart v1.3.9h, if we do not set date.timezone correctly, the message E”RROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.” will bump out. Continue reading How to set date.timezone?
After I have installed x-cart v4.4.1 under DreamHost for my new domain prescriptionglasses123.com, it shows:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, firstname.lastname@example.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log. Continue reading Dreamhost 500 Internal Server Error
IF your wordpress blog has thoudsands of post, and we add the follow code to show all your wordpress posts:
$rand_posts = get_posts(‘numberposts=-1&orderby=title&order=ASC’);
If you try to show all posts at one page, you will have problems, and showing the following error code:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 45 bytes) in D:\xampp\htdocs\wp\medical\wp-includes\functions.php on line 2913 Continue reading Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 45 bytes)
PHP code book (32) , Linux CD Disk(8), Apache Skills (732)
If we want to let remove “()”, and the number inside (), at the same time remove the whitespace before “,”. We can use PHP to meet the demand: Continue reading How to use PHP to replace some special data?
I feel images under detailed page’s custoemr also bough in X-cart 4.4.0 too small, so I searched X-cart forum, but failed to find the answer on how to increase the images size. In fact it is very easy to control the image widh and height. Follow me: Continue reading How to change images size under Customer also bought of X-Cart 4.4.0?