
Search In
In this blog we will be integrating Google Plus OAuth Login functionality using Cakephp. So, let's start with the first foremost step, i.e, creating the Google Apps to get the Google OAuth Client Id and Client Secret Key.
Step 1: Create
Hi Readers,
The below code snippet will give you the meta data of an audio file. You need to add an audio file in Resource Folder. Once that is done use the below code. Let us also understand the code.
- (void)viewDidLoad {
[super view
Realm is substitute of SQLite and ORM libraries in your Android application. It is a lightweight database that can replace both SQLite and ORM libraries.
Installation:-
Step 1: Add the following class path dependency to the project level bui
An error that occurs during the execution of a computer program is known as exception.
Exceptions are known to non-programmers as instances that do not conform to a general rule.
The code, which harbours or blink the risk of an exception, is fixed in
In CakePHP, you may want to use the Auth component to check if a user is currently logged-in to the system. you cannot access the Auth component from a view. So doing something like this in a view
$user = $this->Auth->user
This will Generate
If requirement is to show the error in SoapFault from Webservice, you can use below code. Just pass the faultMessage to the method and it will return the SoapFault:
/**
* Soap Fault return in case of error
* @ chandan Dec 17, 2015
For Push Notification using GCM in Android, use the following steps:
Create the Google Api Project on Google Console.
Note down the project number which will be used as GCM Sender Id.
Enable the GCM service by turn on the toggle for Google Cloud Me
If you want to set the expected payment data in Odoo follow the following code :
if vals.get('expected_pay_date') and self.invoice_id:
msg = _('New expected payment date: ') + vals['expected_pay_date'] + '.\n' + vals.get('internal_note'
To create a Facebook login using cakephp we need facebook app with appId, apiKey and secret key which are required for facebook login to work. Facebook connect and enables users to authenticate your application instantly with a Facebook Account.
Cop
Hello Reader's!
If you need to access your error log files in php then using Linux you can browser it as follows:-
abhishek@roor /var $ sudo updatedb
[sudo] password for abhishek:
abhishek@roor /var $ sudo locate error_log
/var/log
