Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
11 views

Drupal Blocks/Widgets Width / Height Parameters [closed]

The site I am maintaining has bugs in the header and widget blocks. How do I change this? Search bar is out of alignment with nav menu. News and Events widgets overextends if too much text is ...
0
votes
1answer
9 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
23 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
57 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
18 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
60 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
0answers
19 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
18 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 ...
0
votes
1answer
45 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
42 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
92 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
47 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
56 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
398 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
23 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
30 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
178 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
43 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
165 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
85 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
36 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
157 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
115 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
324 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
238 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
51 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
33 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
90 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
116 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
45 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
146 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
329 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
59 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
36 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
100 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
164 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
86 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
194 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
367 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
120 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
164 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
4answers
808 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
215 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
703 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 ...