1). The Drupal database layer is built atop PHP's PDO library. PDO provides a unified, object-oriented API for accessing different databases but it does not provide an abstraction for the different dialects of SQL used by different databases.
Step 1: Download chrome to your Download Directory from http://www.google.com/chrome
Step 2: Open Terminal ( Ctrl + Alt + T )
Step 3: Run this command:
Command: sudo apt-get install libnspr4-0d libnss3-1d libxss1 libcurl3
You can show all errors by adding a few lines to your local testing site's settings.php:
$conf['error_level'] = 2;
- uname -m
1). Check the mod_rewrite is enabled or not for your apache server:
apache2ctl -M "OR" apachectl -M
Note 1: The above command list all the loaded modules of your apache configuration.
Run the following code: sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf sudo /etc/init.d/apache2 reload
[tubepress mode="playlist" playlistValue="7818810BA4ABA0C2" theme="youtube" playerLocation="normal" hqThumbs="true"]
Yes , of course you can use the constructor instead of init(). Thereâ€™s nothing to stop you. But you shouldnâ€™t. The original reason for init() was that ancient versions of Java couldnâ€™t dynamically invoke constructors with arguments, so there was no way to give the constructur a ServletConfig. That no longer applies, but servlet containers still will only call your no-arg constructor. So you wonâ€™t have access to a ServletConfig or ServletContext.
ye, we can. We do it usually when we need to initialize any members which are to be available for a servlet/JSP throughout its lifetime.
: Used to include static resources during translation time. : Used to include dynamic content or static content during runtime.