Moodle / PHP | The uploaded file exceeds the upload_max_filesize directive in php.ini

Author - Webner

How to increase the value of ‘upload_max_filesize’ variable to upload a file/plugin of larger size.

We were trying to install a new plugin with size of approx 3.5 mb in our moodle site. It was showing an error:”The uploaded file exceeds the upload_max_filesize directive in php.ini Read more…

Zoho Creator | post data to external URL and redirect there

Author - Webner

In zoho creator, we have postURL function to post the data to an external URL but it receives a response back instead of transferring control to the external webpage. For redirection Zoho provides openURL function in zoho creator with which we can send the data to another url by passing Read more…

Zoho | Integration with Google Maps

Author - Webner
|
0 Comments
|

Problem: Create Google Map with in Zoho and pass address as an arguments to see the Directions on Google map. Also how to find the distance between Source and Destination address.
Solution: To create google map and get directions on the Map all you need is Read more…

Ubuntu Linux | Using ‘alias’ for a set of commands

Author - Webner

If you run a set of commands on regular basis you can use Ubuntu ‘alias’ command to create an alias for entire set and use the alias name in future. For example these are a set of commands to compile a project and copy resulting .war file it to a Read more…

Moodle / Totara | Enable completion tracking features at course level

Author - Webner
|
0 Comments
|

In Moodle / Totara site administrator can enable tracking of course completion based on various conditions. To use this setting we need to turn on course completion tracking using the following steps below:

Step – I

1. Login as admin to Moodle / Totara.

2. Go to Site Administration > Advanced Read more…

Java | Unable to add data to list created with Collections.emptyList()

Author - Webner

If you initialize a List in Java with method Collections.emptyList(), you will not be able to add data to this list. You will not get any exception if you try to add data to it, but data will not be added.
The reason here is that Collections.emptyList() returns Read more…

Adobe Captivate | How to Publish the project for an LMS

Author - Webner
|
0 Comments
|

These are the steps to publish a project created in Adobe Captivate for a Learning Management System like Moodle, Totara or Blackboard:

1. Open your Adobe Captivate project.
2. Select File > Publish.
3. In the Publish as drop-down, select HTML5/SWF (project file will be exported in the Read more…

Air Gapping | Mobile app connectivity with localhost services

Author - Webner

When we were trying to connect an android app with the php localhost services it was giving an error: cannot connect to the server please check your network connection.
Code independently was working but not when we were connecting Android app to localhost code. It was working on uploading the Read more…

Chargify.com | Steps to generate API key

Author - Webner
|
0 Comments
|

Chargify.com gives the ability for recurring billing and subscription-based charges. It supports integration with several payment gateways. In this document we are explaining how to generate Chargify API key for a domain/sub-domain name. Chargify API key is required to integrate Chargify through code:

1.Create account Read more…

Heroku – Find out database backup retained limit

Author - Webner
|
0 Comments
|

To see the database backup retained limit see the steps followed below:

1. Login into heroku.

2.Now click the database you are using. As you can see in the below screenshot database name is Heroku Postgres – Charcoal and it is Hobby Basic and it is purchased with Read more…

Html5 | Browser compatibility of some new attributes

Author - Webner
|
0 Comments
|

 

HTML5 form attribute
Firefox 6+
Safari 5+
Chrome 6+
IE 10+

<input type=”text” name=”name” required >

               
Supported
Not Supported
Supported
Supported

Read more…

Adobe Captivate | Slow Performance

Author - Webner
|
0 Comments
|

While working on Captivate after sometime it starts running very slow and stops responding. This problem can be overcome by clearing the project cache.

Adobe creates a folder “Adobe Captivate Cached Projects” inside the user’s “My Documents” folder. Captivate uses this Project Cache to store data while working on Read more…

Zoho Creator | Relate 2 sub-forms without lookup field

Author - Webner
|
0 Comments
|

In Zoho Creator if you create a form and embed 2 sub-forms inside it, to relate data of one sub-form to that of the other sub-form one option is to use a lookup field of 1 form in the other. For example if we have sub-form Read more…

Salesforce | Methods defined as TestMethod do not support Web service callouts

Author - Webner

Our code has some classes which contain functions that are used to make webservice callouts to connect with AWS S3 or EC2 machine. We have to cover these functions in our test methods but “Run Test” fails after running the first function with following message:

(Older Read more…

Heroku | Import/Commit Heroku App in/from Eclipse

Author - Webner
|
0 Comments
|

1.  Install plugin in Eclipse IDE :

Open Eclipse and navigate to Help->Install new Software.
Enter http://eclipse-plugin.herokuapp.com/install for the “Location” and click “Ok”.
Open Window->Preferences.
Select Heroku.
Enter Heroku username in Email field.
Enter your password in Password field.
Click Read more…

Maven | Using Properties defined in pom.xml in .properties file

Author - Webner

We are working on a web application built in spring MVC. We have some resources inside src/main/resources folder (Maven Project). The resources are Property files with data in the form of key-value pairs. We are using maven property placeholder syntax (${…}) inside properties files to use property values Read more…

Heroku | How to create/deploy your Php/CakePHP app (Ubuntu)

Author - Webner

1.  Sign up:

First, go to Heroku.com and click “sign up” to get your free Heroku account.

2.  Install the Heroku Toolbelt:

The Heroku Toolbelt contains the Heroku client, a command-line tool for creating and managing Heroku apps Read more…

Ubuntu | Open VPN Client Connection

Author - Webner

How to connect to VPN using open vpn-client in ubuntu 12.04 using username, password and ssl keys?

You have to first install openvpn

1. Run this command in terminal Read more…

Jquery | DataTables warning: table id – Cannot reinitialise DataTable

Author - Webner
|
0 Comments
|

If you try to set properties of Jquery datatable 2 times as below, it will give an error:

table = $(‘#product-data-table’).DataTable({stateSave: true}) ;

table = $(‘#product-data-table’).DataTable
({“aoColumns”:
[
{
“bSortable”: false },null,null,null
]
});

“DataTables warning: table id=product-data-table – Cannot reinitialise DataTable”.

DataTables does not allow Read more…

XML parsing problem – HTML entity characters in XML

Author - Webner

Problem

We had written a PHP program to parse large XML files and split each file into smaller chunks. Program was working fine for all the XML files except few. It was not splitting some XML files. After looking for the issue we found that Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 Next page ›
Send your message