The Devel module is a suite of modules useful for development.

learn more… | top users | synonyms

0
votes
3answers
79 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 ...
1
vote
1answer
41 views

enable dd() for drush - temporary://debug_drupal.txt call fails

If I included calls to dd() from code I run with drush, I see messages like this: WD php: Warning: file_put_contents(temporary://drupal_debug.txt): [warning] failed to open stream: ...
0
votes
0answers
25 views

How to theme a view page display to look like my node template

I have a View page display that I create on the fly with arguments. There are going to be at least 100 fields by the time I am done mapping them all. I also have several nodes with the same fields, ...
3
votes
2answers
107 views

module_load_include not working including inc file

I am trying to make it work, but it seems simply not working in Drupal 6. Maybe this is the issue, it does not work on D6? This is the code: // $file_path = module_load_include('inc', ...
3
votes
1answer
34 views

What is the difference between the Load and Render objects in Devel?

When viewing a Node in the Devel tab, what are these different objects Load and Render? How and where would I have access to them in the theme layer?
1
vote
1answer
95 views

Reduce latency in loading a page in Drupal 6

I have activated cache in Drupal, and the Devel module. The total time in all queries is less than one second, but the latency is 4.34 seconds. Can anyone explain the latency? What happens during the ...
0
votes
1answer
17 views

How to get the value of a variable in CCK from Devel?

I am using a custom .tpl file to theme teasers, and I am having trouble with the value of a variable returning true even when apparently there is no value inside ($picture). I would like to see what ...
3
votes
3answers
97 views

problem with hooking node add/edit form

I wanted to hook node/add/patient-history form because I wanted to add ajax in that form. Before adding Ajax I wanted to get field names correctly. So I tried this: function ...
0
votes
1answer
79 views

How do I remove the inserted a span tag in an href parameter when using Full Calendar and Devel Themer

When devel_themer is active inside of a Fullcalendar formated View, links contain the span tag. See below in the href parameter. This however does go away when I disable devel_themer and clear cache. ...
1
vote
2answers
106 views

Creating fake (test) data

Is there a module or part of devel module that will auto populate (with fake data) a Content Type a create a dozen or so nodes?
0
votes
1answer
50 views

Devel user & decrease number queries

I'm trying to decrease the number of my queries with the devel module but I have two questions. 1) Why do I have 281 dblog_watchdog queries? How can I get rid of them? Why should I keep them, I ...
0
votes
0answers
28 views

Method to test which module consumes the most memory [duplicate]

Possible Duplicate: Getting per-module memory stats? I would like to test which module consumes the most memory, because I get an out of memory error ("Fatal error: Allowed memory size of ...
-1
votes
2answers
165 views

How can I have the JS/CSS cache refresh on every page load?

How to clear cache on every page load? I am doing CSS & JS theming and currently having to manually clear cache (using devel module) every time and then reload the page again to see my changes? ...
1
vote
3answers
138 views

Print out the contents of node object in a node template

How do I print out the contents of the $node object in a node template in a way that is easily readable. I thought that <?php dpr($node);?> would do it but that doesn't seem to work in my ...
0
votes
1answer
57 views

PHP evaluated in rule works locally but not on remote server

I have this code. When I run this on my local server, it works fine but when I run it on the remote server it does nothing. Not even the messages appear. I am using the devel module. Any help ...
1
vote
1answer
115 views

Devel : what kind of information devel_boot, devel_shutdown and php tweak describes?

I have a problem on my website about slow query and many 324 errors. I tried to resolve them but as i'm new in Drupal i have a lot of difficulties to understand some stuff. (The website site i'm ...
4
votes
1answer
152 views

Devel query log not showing all queries

I've enabled the Devel query log, and it's logging most queries as expected. However, I've got this module which connects to another database and executes a few queries against that one. All queries ...
0
votes
1answer
423 views

Devel and XHProf configuration!

I have installed Devel and XHprof to profile (kind of performance analysis) my website . Configured everything but i am confused with this setting XHProf URL: Path to the publically accessible ...
3
votes
3answers
662 views

Devel module and Krumo

I super love Krumo/Devel. However, I'm sure I'm missing something obvious, because when I use dsm() and I get my array or object all expandable and awesome, sometimes I have a hard time knowing which ...
1
vote
1answer
58 views

How can I stop the Devel module from generating blog/forum entries for Anonymous user?

I'm using Devel's generate content feature to generate Blog/Forum entries for a site I'm working on and funny enough, I get to have a blog post by an anonymous user or forum topic by an anonymous ...
2
votes
1answer
183 views

Huge delay on first request due to many slow SQL queries [duplicate]

Possible Duplicate: Performance Problem: Delay on first request The first page of my site takes up to 15 secs to load and then the site become responsive. If I leave the site for 20 min or ...
1
vote
3answers
239 views

How to debug a delete query?

I'm trying to debug an issue with a delete query not happening. I've added logging before the query, after the query and I'm logging the return value of the query. Everything looks right, the only ...
0
votes
0answers
28 views

Shopping Cart Troubles

I'm using Ubercart in a Drupal 6 setup. Basically, I've created a cart full of test items. I created a Gift Certificate/Gift Cart product with attributes of Price, Purchaser's E-mail, Recipient's ...
0
votes
1answer
694 views

shorten input text size and maxlength with exposed filters

I use Drupal-7.14 and Omega sub theme. I have a view of my content type with exposed filters. When focusing input tags, HTML output is like this: <div class="view-filters"> <form ...
2
votes
0answers
85 views

How to display devel dpm messages on a panels generated page?

I am testing a custom module for a site using Panels Everywhere & Panels. I need to put the results of a Devel module dpm() message into a pane so that I can see it on page displays. Does anyone ...
0
votes
1answer
100 views

Devel admin interface unreachable; or I broke my Devel?

Not sure what broke where, been using devel & love it. I enabled the Display $page array option, went, did stuff, came back to disable and when trying to load admin/config/development/devel either ...
0
votes
0answers
212 views

Add image when creating content with Devel Content Generate?

I used to use Devel to generate nodes content for developing purposes. I works fine but it doesn't add images to the created nodes even though the content type has a image field. What am I missing ...
0
votes
3answers
298 views

Issues with the devel module

After I install the devel module I can no longer configure any blocks, I get an internal server error. I uninstalled and the issue stopped, re installed and its an issue again. Furthermore, I cannot ...
0
votes
1answer
53 views

What are the URLs for devel generated images in CCK fields?

I generated a few nodes with Devel. When I do a krumo($node), the CCK field consisting of an image, does not have a filename. $field_name['und'][0][filename] is a string of 0 characters. I only get ...
2
votes
2answers
363 views

Devel's dpm needs two refreshes to display message from (pre)process

I use Zen and have copy/pasted the STARTERKIT to my foo template. Devel is enabled with the "Rebuild the theme registry on every page load" setting on. In my completely empty template.php I type in ...
0
votes
3answers
235 views

how to get the form id of a particular form using Devel execute PHP in drupal 7?

I wanted to get the form id of particular forms to customize those forms. I dont want to use form alter hook to obtain the form id every time. I wanted a simple way to acquire the form_id of the ...
7
votes
2answers
263 views

Find slowest loading / longest time to generate pages

Is it possible to find pages that take the longest time to generate? I am aware Devel can collect query log per page, but is there a module that collects these per page and displays a list of slowest ...
2
votes
1answer
145 views

how to render html link within dsm message?

I would like to include a link to the reports page within a dsm message. Here is what I tried: $loglink = l("logs", 'admin/reports/dblog'); $msg= "See $loglink for watchdog messages"; dsm ...
1
vote
2answers
90 views

Other modules like the Devel module?

I've just started learning Drupal, and the devel module is great and everything but I had a couple of questions about it: Is it possible to change the output text when generating article or basic ...
3
votes
2answers
695 views

How can I see my drupal site as a anonymous user while logged in as admin?

I want to use Devel Themer to look at the "homepage" comment field, but it only shows up for anonymous users. Is there anyway to see a page as a anonymous user would, and at the same time be logged ...
0
votes
3answers
2k views

dpm() does not display any results on screen

I have the same problem as file_scan_directory() takes about 10 seconds to execute. I just tried the dpm(func_get_args()) suggestion, and unfortunately it doesn't show anything to me. I've cleared ...
1
vote
1answer
763 views

Where are logs created by drush_log() stored?

I have installed Devel module to use xhprof. In devel settings, I have enabled xhprof, but when I load a page, can't see a link to xhprof. I read the source and found this: drush_log('xhprof link: ' ...
0
votes
2answers
654 views

Devel 'Display Query Log' not showing any queries

I've enabled 'Display Query Log' in the Devel Settings but I don't see any logged at the bottom of my page when I load a page. I just get 'Queries exceeding 5 ms are highlighted.'. I'm running Drupal ...
2
votes
1answer
227 views

Displaying page execution time using devel

How is it possible to use devel module to show Page execution time on a site? I enebled it and it shows numbers only on admin pages. Thank you for help.
10
votes
3answers
992 views

How to debug permissions?

How to debug permissions in Drupal 7 ? I use core reporting, error logs, devel module error logs, backtrace and node access permission block but sometimes it is not enough. What else to check to find ...
2
votes
1answer
27 views

Has anyone used beta profiling module

For most of my projects i am using Devel module. Recently i looked at other module Profiling - it also provide integration with views and Panels. I was thinking to use this, as mentioned here it is ...
2
votes
1answer
245 views

Can't access module settings (Devel module)

I have a module that's enabled and working, but the configuration options won't show. The module in this case is Devel, which I've used on other sites with no problem. In this site, whenever I click ...
4
votes
3answers
2k views

How to use the dsm( ) Devel function to print the $form array of my form?

I want to use the dsm( ) function of the Devel module to print the $form array of a form ,where the form_ID is "search_theme_form" .How to do that?Thanks
0
votes
1answer
330 views

Custom PHP code in Rules differs from Devel's one

I'm facing an issue which is quite boring since the result displayed into Devel's PHP executer differs from the results of the Custom PHP code. What I want to do is sending private messages (thanks to ...
0
votes
4answers
283 views

DSM output intermittently shows up

For some reason my DSM output is only occasionally showing up. Nothing significant is changing on the template I'm calling it from. It will show up, then on refresh go away, and randomly re-appear 10 ...
2
votes
1answer
369 views

How to make Drush rsync @dev @staging exclude some directories?

I am using the following drush commands to synchronize development and test environments. drush rsync @dev @staging drush sql-sync @dev @staging How to setup drush to exclude certain directories ...
1
vote
2answers
843 views

dpm does not display form return values

I just enabled the devel module on Drupal 6 and using dpm($form) was showing values for me but it does not show values any more. What would mostly the issue here? Is there a way to see those values? ...
4
votes
1answer
1k views

Devel kpr, dpr, dpm, etc. only print after cache flush

I'm writing a small module and using the Devel print functions (dpr, kpr, dpm, etc.) to print out some values. However, I only see the values in the page after I flush certain caches. if I just ...
1
vote
1answer
320 views

How to use Devel module to see what creates an URL?

I want to know what creates an URL of a site for example a view,panel etc. Which command should I write on the Devel module on "Execute php" ? Thanks
2
votes
1answer
153 views

How to inspect outgoing email content?

There are several modules that send email from my site: Rules, Trigger, User, ... I am looking for a place to set a drupal_set_message() and print out the email contents. Where in the code would be ...

1 2