Are you getting blank pages on Wordpress without any error displaying on web browser? I got this error when I have deactivated the W3 Total Cache and with that removed subdomain used as cdn. Therefore, I have shifted all the media files to normal upload directly. In the process I… READ MORE
Wordpress has a nice feature of moving Wp-Content folder to a different place. This can be helpful for Content Delivery Network management. Wp-Content directory include all theme files, plugins and any uploads you have.
We can use Content Delivery Network to parallelize the connection in Browser and distribute the loads… READ MORE
I got an error “The requested theme does not exist”! Oh! I checked my website and everything was fine. I have taken a long breath!
Now, what went wrong? I was editing the theme. I want to change something in style.css of the theme. I have tried to remove the… READ MORE
I need to change My Wordpress Blog URL two times. Once I have transferred by blog from subdomain to main domain. Then define(‘RELOCATE’, true); in wp-config.php was enough.
Then I changed my domain completely. I got the point that using the same custom domain used on blogger (satya-weblog.com) will be… READ MORE
PHP frameworks are in great news from 1-2 years in PHP community. Lots of PHP frameworks are available to choose from. Framework is good for development for few reasons. This provides lots of developed code for reuse. All frameworks have community where developers can get help. Discussing your problem there… READ MORE
This post is for login code in Symfony Framework. Here is a simple PHP Login Code!
This is very simple login script written for symfony framework. This will ask for loginid and password like any login page. After successful login it will send user to list page. If unsuccessful, this… READ MORE
In actions.class.php page of symfony framework, you can catch errors and display those errors in template. Set errors in your action/method using:
<?php
if ($error) {
$this->getRequest()->setError(‘userName’, ‘The user Name field cannot be left blank’);
$this->getRequest()->setError(‘email’, ‘The Email field cannot be left blank’);
return false;
}
?>
Return false is… READ MORE
Schema file is used for defining your database schema for your application. Schema file will generate all the required data structure for you. This schema provides backbone for generating model to Symfony.
Schema.xml file allows database specific content declaration for your table. It also allows complex database declaration for your… READ MORE
For all those who are new to JavaScript and want to get working knowledge of JavaScript for form validation, Ajax functionality and others can learn these two JavaScript libraries. These two are working with each other. Prototype.js is base library for script.aculo.us. Prototype provides all the necessary functionalities for your… READ MORE
Whenever you rebuild your model, you have to loose your old data in Symfony. You will need to rebuild model whenever you change or add something new to your schema. If you are learning Symfony then you may not bother to loose data and may not feel too much for… READ MORE