The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

White Screen of Death after tweaking template file and adding a views template file

Experimenting with Drupal I learned fairly quickly that ANY syntactical/semantic error invites the dreaded White Screen of Death, so I've become somewhat accustomed to debugging the minor errors I ...
-1
votes
0answers
7 views

Dynamic Display Block sometimes not displaying images in correct sizes [on hold]

hoping to get a bit of debugging assistance. My website uses a Dynamic Display Block for a slideshow of 3 images to cycle on the top header of each page. I managed to get the module set up and ...
5
votes
0answers
60 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
32 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
44 views

find the hook altering a views query

I try to find the hook/module who's modifying a views query. It's a views of the module Workbench displaying the draft's of the actual user... If I Disable SQL rewriting in the Query settings the ...
0
votes
1answer
46 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
19 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
0answers
11 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
85 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
16 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 ...
0
votes
1answer
50 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
80 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
20 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
90 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
94 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
164 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
0answers
139 views

Xdebug can not work with curl when add SESSION and Token

My development environment: PHPStorm for write code and debug Xdebug development module with Services Module curl command line for test Service RESTful api I test my Service api like this ...
0
votes
1answer
42 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 ...
0
votes
0answers
25 views

Drupal 7 & Windows server using WAF F5 firewall does not allow login

So, under any other installation - local using WAMP for PC, MAMP for mac, and standard linux hosting the site runs fine. no issues. When we try to deploy to the client's server, the one we have no ...
1
vote
1answer
83 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
93 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
33 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 ...
0
votes
0answers
89 views

dsm or dpm not displaying output on screen

I have just run into a wierd problem, the devel model's dpm function isn't outputting to the screen. I have checked the permissions and they are good, the devel module is enabled and all should be ...
1
vote
1answer
175 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
19 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

How do I debug mymodule_batch() with xdebug?

In my submit function, I call the batch api with batch_set($batch). I am able to insert an xdebug_break() and debug the submit function as normal. However, when batch_set() calls mymodule_batch(), ...
0
votes
0answers
33 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
84 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
116 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
81 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
34 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?
0
votes
0answers
182 views

Is it possible to trace a Drupal PHP session variable and if so, how?

I'm having an issue with Drupal not caching pages and I think it's being caused by an active PHP session variable being set for anonymous users. I want to know if it's possible to quickly and/or ...
1
vote
1answer
317 views

Drupal 7 site crashed after enabling module - No DB backup. What do?

I enabled the blog module on a website, after that the site crashed. The error is the same on everypage: Catchable fatal error: Argument 2 passed to entity_views_field_definition() must be an ...
0
votes
2answers
96 views

No access to admin page after change my server and domain

I have changed my website to a new domain and server. I can navigate throught my content. However, after login I can't access to admin pages. No error is shown, only blank page. What I did was upload ...
0
votes
1answer
137 views

Post becomes unpublished upon editing it and no additional date values or image uploads are possible

I have a custom content with a large number of multivalue date fields (around 200-300 values). I created a node and added a large number of dates. When subsequently editing the post, the following ...
0
votes
0answers
97 views

PHP notice on update.php

On a Drupal 7 installation I got by inheritance, I am getting the following PHP notice whenever I run upgrade.php: Notice: Undefined index: scale in number_field_schema() (line 36 of ...
0
votes
4answers
691 views

How can I debug an AJAX error in VBO? (PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'uri'

I have a view that lists all the user accounts on my site. With VBO, I have a rules component, Resave user account (action set, action: save entity (user), no force saving immediately). Recently, ...
2
votes
1answer
38 views

When I save a user account as an admin, I get logged in as that user

I'm experiencing a strange issue that I'm having a really hard time debugging. When I save a user account (of an authenticated user) as an admin, the account is saved, but when the page reloads I get ...
0
votes
1answer
177 views

Drupal 7 multisite setup white screen [closed]

I have attempted to set up a Drupal 7 multi site set-up. I followed the instructions online and have one site (site1) that is setup like a regular single install Drupal site and a second site (site2) ...
1
vote
1answer
606 views

Drupal 7 - Array to string conversion in DatabaseStatementBase

I have an error on a Drupal 7 site that I cannot solve. Notice: Array to string conversion in DatabaseStatementBase->execute() (line 2168 of ... I cannot use dpm, can't find a way to debug, and ...
1
vote
1answer
29 views

find out object properties passed to a function

which is the best way of debugging codes in drupal? for instance in election module there is a submodule called conditions, and there is a function: function ...
5
votes
1answer
101 views

Module to list menu_router / path debug info?

Every now and then, mostly when looking at a new site, I find myself wanting to know What's the source of this particular page? Usually, I end up starting to dig in the menu_router table, and ...
0
votes
1answer
31 views

Debugging Imagecache related module

I'm trying to create a custom module that builds on top of imagecache and imagecache_actions to dynamically add an overlay to image thumbnails based on fields of the node its attached to. I used ...
1
vote
1answer
166 views

Backtracing an SQL error shown in drupal set message with no specifying information

I am using a feeds hook to email some information to workbench section users. I've been changing some of my code and suddently I'm getting a database error: SQLSTATE[42000]: Syntax error or access ...
0
votes
1answer
96 views

Omega - Debugging blocks only for specified role

Is it possible to see debugging blocks only for specified role? IDEA I made special role "theme developer" to see debugging blocks of Omega only for this role. When I check in ...
0
votes
1answer
142 views

Finding out what file was called immediately before error

I'm getting the following errors in dblog whenever I look at a page: Notice: Undefined offset: 0 in _menu_check_access() (line 635 of /home/mysite/public_html/includes/menu.inc). Notice: Undefined ...
0
votes
3answers
855 views

Let anonymous view dpm()

I need to debug a D7 site from the anonymous user. What settings need to be changed to allow anonymous to view dsm(), dpm(), krumo(), etc. commands? Note: I have already enabled Access developer ...