Questions related drupal modules & themes debugging

learn more… | top users | synonyms

0
votes
0answers
6 views

The webform is not excepting the files with extension .docx sometime and sometime its excepting?

I have version = "7.x-3.15" core = "7.x" project = "webform" and I have a field file in which I have given permission (.docx, .doc, .pdf) to be uploaded but when the user is uploading any file with ...
0
votes
2answers
17 views

User email being deleted when submitting Profile 2 form

i'm debugging a site that I haven't made. The issue is that the users email address is being deleted. I've found which form it's happening on; and by using hook_form_FORM_ID_alter I can see that ...
0
votes
0answers
8 views

missing cet_enable field in product type settings (Commerce Event Ticket)

I have installed the Commerce Event Ticket module along with any requirements and have enabled it. I see the following under column description in admin/modules: Allows tickets (with unique ...
0
votes
2answers
58 views

How to debug a 5 second Drupal response time

I recently noticed that my Drupal 7.34 site is taking 5 seconds or more to respond. So the most basic page, or an image (with itok) will take 5 seconds or more. If the page is complex then there can ...
0
votes
0answers
10 views

how to get through devel debug log

I've installed devel debug log module to see execution time of all pages. Now the problem is about queries which do an action of delete, insert or update in cash tables in spite of setting cash ...
0
votes
0answers
18 views

View XML Request when using WSClient and Rules

I am building a website that uses 3rd party data from a web service. I decided to use WSClient...so far so good. I am using Rules together with WSClient to create the proper SOAP request, however I ...
0
votes
1answer
31 views

How to add a report an error button in a Drupal 7 website and collect user's browser details?

We just did a website upgrade. On some sites I have seen a 'Report an error' icon (in the right hind corner). After clicking on it, a user can report an error which will send along other information ...
0
votes
0answers
36 views

How to debug missing form field?

My content type has a field_file (managed file). Problem is that the file is only visible to person who uploaded it. I upload the file as UID 1 and can't see it as normal admin. The field is there in ...
0
votes
0answers
18 views

Debugging/Profiling tools for Drupal [duplicate]

Looking for other debugging or profiling tools/methods for Drupal other than Web Profiler and Devel module. Anyone?
1
vote
0answers
26 views

Issue with “edit” links on Menu pages

I have an unusual bug i've encountered during development of a client site -- it appears that for all Editable menus, when I click on edit, the site loops me into a Redirect Loop, pointing to a menu ...
3
votes
1answer
37 views

Image field - 'Number of values' is not showing up in admin form

Something's very wierd with my existing Drupal 7 setup (current Drupal version, set up in early 2013, custom Zen Subtheme). When I create a new Content Type with a new Field Type "Image" this 'Number ...
0
votes
2answers
33 views

Why does dpm() sometimes fail and krumo() works

They both dump variables in the same format & style. From some articles or documentation that I'd read, it seems krumo() calls dpm(). The problem is that sometimes I call dpm($var) and nothing ...
0
votes
0answers
19 views

Number of protocol messages (Page not found)

Why does i get a gigantic number of protocol messages for just one "page not found" request? How can i fix it? Isn't this a huge leak for the performance?
0
votes
1answer
13 views

Theming property non-object when transversing the $node object

I'm getting this error when I run the code below, in reference to $color module: Notice: Trying to get property of non-object in cotyhouse_preprocess_html() function ...
0
votes
2answers
57 views

Differences from dpm and dsm for devel module for debugging objects?

What are the differences of dpm and dsm for the devel module? I mainly use dsm for the devel module. What are some other common debugging functions that are useful in the devel module?
0
votes
1answer
1k views

Drupal Error : The website encountered an unexpected error. Please try again later [duplicate]

I made a site locally and when I uploaded it to the hosting server, it worked fine except when I went to edit some content type. It showed this error: The website encountered an unexpected error. ...
1
vote
1answer
19 views

How can I send an e-mail to the admin when use of a view results in an error?

I have a large number of complicated views on a site, some of which, when searched with certain options or by certain users, give the following error: An illegal choice has been detected. Please ...
0
votes
1answer
302 views

Drupal issues - DB and modules in folder that doesn't exist

Ok, so I ran into an issue today that completely baffles me... I have a staging server that I have about 30 sites on. Most are WordPress and about 5 are Drupal. Yesterday I worked on a Drupal site ...
0
votes
1answer
52 views

Resume State - Recruiter Distribution

I have been using the recruiter distribution for a while and for some reason I remove the ability of the resume state. I have analyze the problem and the issue is that every time someone register to ...
1
vote
1answer
28 views

How to extract query placeholders for debug purposes?

When I cast query to string, I can see WHERE that will be passed to the database, like this: WHERE (idProperty = :db_condition_placeholder_0) AND (idCategory = :db_condition_placeholder_1) But ...
2
votes
2answers
813 views

How to enable developer/debug mode in Drupal 8

Installing drupal 8 core (using standard profile). whenever I get exception/error, I get blank page with "The website has encountered an error. Please try again later." (as below image) text and no ...
1
vote
1answer
139 views

How to log actual SMTP Authentication module communication with server?

We are using SMTP Authentication module. Our SMTP provider claims we are whitelisted. Configuration works. When Drupal is supposed to send email, proper entry appears in Watchdog, claiming succesful ...
6
votes
1answer
105 views

Is there any 'advanced' debugging available for Views?

I know Views can show you an SQL preview, various performance statistics, and other SQL queries performed for live previews; I'm looking for something a bit closer to the bone. The use case... I'm ...
0
votes
1answer
115 views

How to debug / log comments when developing a custom module to fire when cron is run

I am about to develop a custom module that will hook into a hook that is triggered when cron runs. Since the module will be activated during a cron run, i am not sure how to go about giving myself ...
1
vote
1answer
84 views

How to alter and debug views queries?

I'm trying to find the hook/module which can modify a views query. The view is from Workbench module which is displaying the draft's of the actual user. If I Disable SQL rewriting in the Query ...
0
votes
1answer
1k views

An AJAX HTTP error ocurred. HTTP Result Code: 500 (while trying to rebuild content access perms)

I have installed a module that ask me everytime to rebuild content Access Permissions, but every time I try to do it, it shows me an error I do not have idea why is it happening. Please help An AJAX ...
0
votes
0answers
29 views

Best way to approach a mismatch in schema

I'm new to drupal and decided to write my own field module (position_affiliation). But when I enable it and apply the module to content, I get a schema/database mismatch error. The specific mismatch ...
0
votes
1answer
52 views

Debugging Migrate: how to print what data's mapped to a field

I have a migration module that imports data from a CSV. I've steadily been adding code to the module and fields to the CSV, and it's always worked, albeit sometimes only after some work. But now ...
1
vote
2answers
383 views

Messed Up Drupal Site, truncated all cache, menu_router, registry_file and now I can't access site

After disabling comment module, I could not access some modules, so I researched how to get that fixed and end up following this. I cleared all the cache_table, menu_router and registry_file. This ...
0
votes
0answers
74 views

Can't update LDAP module due to Memory Limit

I need to update the LDAP module from 7.1.x to 7.2.x to remove a fatal error. When I navigate to the update.php script, there are 18 updates. When I run the script I get this error: An AJAX HTTP ...
1
vote
3answers
340 views

What Causes DatabaseTransactionOutOfOrderException and how do I fix this?

I am working on plugin to Drupal Commerce, and I started getting this error: DatabaseTransactionOutOfOrderException: in DatabaseConnection->rollback() (line 1058 of ...
1
vote
2answers
99 views

Weird behaviour when using dsm

I am using Drupal 7 on a CentOS 6.5 box. I am trying to debug some code which produces the following error: User error: ImageMagick error 1: convert: no decode delegate for this image format ...
0
votes
0answers
48 views

Drupal Commerce Services resources incompatible with Taxonomy

After installing "Commerce Services resources" module I found a bunch of errors like this: Notice: Undefined index: in _field_ui_bundle_admin_path() Notice: Undefined index: field_name in ...
1
vote
1answer
893 views

How to debug EntityMalformedException?

I've got fatal error EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7700 of .\includes\common.inc) when trying to access user/xyz. I tried to ...
0
votes
1answer
18 views

What file generated output

I was debugging by adding a print_r() to my code to check array values along the way. The problem is I forgot where (which module and which file) I had added the print_r() statement since it has been ...
3
votes
2answers
164 views

How to debug merge query?

I have a simple merge query, with one key and three fields, something like: $query = db_merge('product') ->key(array( 'id' => $id_product, )) ->fields(array( 'name' => ...
0
votes
0answers
507 views

Undefined offset: in drupal_http_request associated with includes/common.inc

I am getting these notifications: Notice: Undefined offset: 1 in drupal_http_request() (line 989 of /var/www/drupal/drupal-7.26/includes/common.inc). Notice: Undefined offset: 2 in ...
0
votes
0answers
49 views

How to display an array in drupal [duplicate]

while coding, i need to display various variables and arrays for debugging. Can someone tell How to print/display an array via drupal_set_message or some other way inside any hook?
0
votes
1answer
64 views

Krumo output with debug()

When debugging I prefer using the Devel module because of the clickable Krumo output. However when disabling the Devel module on production unremoved calls to e.g. dsm() can cause a WSOD because of ...
1
vote
1answer
102 views

Views not found on disabling Page Title module

I've Views 7.x-3.7 and Page Title 7.x-2.7 installed. Since many months I'm using Meta tags and Page Title module but now I want to remove Page Title module as I don't need it since Metatag module ...
0
votes
2answers
162 views

WSOD for logged users after upgrading some module

I have updated the following modules on my website: ctools context devel ds libraries metatag pathologic rel_to_abs variable webform After the upgrade whenever I log in, I am not able to access ...
0
votes
1answer
66 views

Strange debug prints appear in the system log

I have two Drupal 7 sites on an Apache server that are printing strange debug messages in a system log. The sites are set in their vhost config to use error logs within each local site folder, like ...
1
vote
1answer
484 views

How to trace Drupal 7 Core Logic Using Netbeans with xdebug?

I'd like to understand how Drupal core works by tracing core logic and how functions unfold. I installed Netbeans with xdebugger and started a new project. The project includes drupal installation run ...
0
votes
0answers
20 views

How can I disable the default PHP error catching in Drupal? [duplicate]

I'm not accustomed to being so limited by a CMS whereby I have to use it's built-in error reporting instead of more specific logging with native PHP error logging. Is it possible to disable the error ...
0
votes
0answers
41 views

What can cause user names to disappear from admin pages?

On an existing Drupal system I see a strange phenomenon; user names disappear from the admin/people page. I've disabled the realname module but still it happens. How to debug such an issue? Edit: ...
0
votes
0answers
138 views

Rewrite drupal views $rows

I have a view which has to display a list of nodes: title, subtitle with the container that links to the single node. Difficulty comes when I want to display this view following this from bootstrap ...
2
votes
0answers
247 views

How can I trace the source of a redirect error listed in Administration -> Reports?

Under Reports -> Recent log messages, I have a large number of errors such as the following: Type: access denied Date: November 7, 2013 User: Anonymous Location: ...
0
votes
1answer
104 views

How to debug queries and exports sent to Salesforce?

I'm using Salesforce Suite module. My initial investigation says that the connection is encrypted via HTTPS. Is there any easy way of debugging what is exactly sent to Salesforce? I ended up by ...
0
votes
1answer
37 views

jQuery not functioning in Chrome regardless of core/custom code

For whatever reason jQuery is refusing to function in Chrome for us. It works in all other browsers. This is the case regardless of the theme, page (aka: core admin pages like blocks have no jquery ...
2
votes
0answers
49 views

What is the best way to debug variables? [duplicate]

It's seem useless to use print_r(), vardump(), debug_backtrace() in Drupal 8, since huge information is printed out to the screen. How do developer debug variables in Drupal 8?