Debugging
more_horiz
close

on 10th March 2015 / by deepa.n
Recently, we came across an error - "Forbidden You don't have permission to access / on this server" while trying to run a new virtual host on our Ubuntu 14.04 machine. The first step to troubleshoot this type of issue would be to check at your Apache error logs as this specific type status can be thrown due to many reasons. Since we have Apache 2.4.7 installed on our system, each virtual host file should have the .conf extension. We corrected the extension also. But the issue was still there. However this information lead us to think on it further and finally we found the reason for the issue. Apache Debugging Ubuntu Leave a reply Your email address will not be published. Required fields are marker * Avi (not verified) access_time 19 Jul 2019 - 03:10 I just spend the whole afternoon trying to figure out why apache2 won't come up. I must have gone through 10's of sites. This is the only one that helped. Thanks! Anonymous (not verified) access_time 19 Jul 2019 - 03:10 Fyi... That message can also occur in some browsers when a client (user) uses a VPN addon extension in her/his browser & tries to connect to a server which forbids such connections (yes, some servers can be configured to respond with that message when traffic from specific IPs (i..e known VPN servers) are received. If you are using a VPN, disable it to see if that message disappears. Gary (not verified) access_time 19 Jul 2019 - 03:10 Just installed Mac Yosemite 10.10.5. initially http://localhost worked fine. After configuring the Virtual Host configuration. I get the error: You don't have permission to access / on this server. Require all granted That option is set in my httpd.conf Any suggestions. Karla (not verified) access_time 19 Jul 2019 - 03:10 Thank you so very much. Add new comment
more_horiz
close

on 24th December 2014 / by jagadeesh
When I was calling CRM_Core_DAO::executeQuery() it gave error. I don't have any idea what went wrong. Not sure whether the SQL statement was correct or not. After searching for some time I found one function, composeQuery() in CRM_Core_DAO. It can be used to verify SQL query. Drupal MySQL Debugging CiviCRM Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 26th July 2013 / by muhammed.junaid
While working on Drupal Views, we might want to examine the query executed by the View to get its data. Analyzing the query may help us to identify why the view does not produce expected result. Read on to know how to view the SQL query executed by a View. Drupal Debugging Drupal Views Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 03rd June 2013 / by naveen.pl
We had recently faced an issue in one of our client's website running on Drupal 5. The site had crashed and we were unable to continue development. We began analyzing the problem by checking the free space on the site and came to the conclusion that the now deprecated PHP Ereg function was causing the site to crash. If you are facing the same issue in one of your Drupal sites, read on to know how we successfully fixed the bug. Drupal Drupal 5 Debugging Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 23rd May 2013 / by nidhi.sen
As a drupal developer, there were times when I was stuck at some point. At these times, 'devel' module came to my rescue. There are many debugging functions provided by devel. Those are dpm, dpr, dvm, dvr etc. Here, I am going to explain 'dpr()' provided by devel module. Drupal Debugging Leave a reply Your email address will not be published. Required fields are marker * shine (not verified) access_time 19 Jul 2019 - 03:10 I am a professional drupal developer since three years and I do wish to admit the fact that your blog is very much useful for me. The header of the drupal modules has a dpm functions supported by the devel module. Add new comment
more_horiz
close

on 29th April 2013 / by Anoop John
In Drupal 7 Image module offers an image field which makes available an image widget for file fields that can be added to content types. This will allow for upload of images to the image field which can then later be processed by the image module and be presented using the different image styles as configured. This means that image module should have the ability to process files uploaded using this field. Drupal Drupal 7 Debugging Leave a reply Your email address will not be published. Required fields are marker *
close

on 01st August 2012 / by deepa.n
We were testing our newly implemented modal popup for a login functionality. It was working pretty good in Firefox, Opera, and Chrome but not in IE8. When attempts to login by clicking on a login link the login modal was not appearing in IE8. Firebug said nothing, but jquery-1.7.2.min.js in IE showed the following error: Javascript Web Development HTML Debugging Leave a reply Your email address will not be published. Required fields are marker *
close

on 02nd July 2012 / by Anoop John
We recently saw this error on a Drupal 6 site that had not been updated for quite a while."warning: call_user_func_array() expects parameter 2 to be array, string given in sites/all/modules/contrib/views/views.module" means what it says. call_user_func_array expects the second parameter to be an array whereas a string was given instead. You can troubleshoot problems like this by writing a bit of debug code before the line where the error is reported. Drupal Drupal Development Debugging Leave a reply Your email address will not be published. Required fields are marker *
close

on 29th June 2012 / by jiby.john
As the world of internet grows day to day, the more educated and ever-wanting userbase now needs more data asynchronously. They don’t like to wait or load another page to see their data. In such situations we developers need to use more and more AJAX (Asynchronous JavaScript and XML - http://en.wikipedia.org/wiki/Ajax_(programming)) in the development of websites. Using AJAX in your web-development workflow is not that much difficult as you think. There is already a wide range of famous ajax libraries that make handling asynchronous requests easy for us. Web Development Debugging Leave a reply Your email address will not be published. Required fields are marker * Anonymous (not verified) access_time 19 Jul 2019 - 03:10 Thanks. That helps me alot sancolgates (not verified) access_time 19 Jul 2019 - 03:10 thanks! it help Add new comment
close

on 11th May 2012 / by vimal
As a Drupal developer, when we get an error, we may want to know the functions that are called before the system called the function where we get the error. In this case, views_trace() function comes to your help. This function is available if Drupal’s Views module is installed and enabled. Drupal Drupal Development Debugging Leave a reply Your email address will not be published. Required fields are marker *