This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Analysis/Caching PHP

I was wondering if there was a tool for me to run to see if I can see every line of code being executed for a given time. For example, lets say I wanted to see every line of code being executed when I view a node, how do I do that? Also, how can I monitor every query being executed for a given page?

Module Returning Multiple Headers?

Hi there, I'm working on my first drupal module (basically a hack of recipe.module) and I have things working up to a point: The module can be loaded in the modules list; it properly displays a form; the form posts data properly to the database; but the return screen errors with:

warning: Cannot modify header information - headers already sent by (output started at /var/www/pt2/modules/chronicle/chronicle.module:220) in /var/www/pt2/includes/common.inc on line 192.

Can someone with more experienced eyes have a look and tell me where I might be going wrong?

Field Lengths on node.module forms

Hi,
I have creating several "node" system modules and on the hook_form function I build different field elements with code like this....

form_set_error on checkboxes does nothing?

My code is correctly tagging the error to the correct checkbox:

<label class="option"><input type="checkbox" class="form-checkbox error" name="edit[sort2]" id="edit-sort2" value="1" /> Allow sorting on column 2?</label>

UIEForum Module - A replacement for the built in drupal module

http://drupal.org/node/38829

UIEForum is a complete forum system, that is intended to replace the existing drupal forum module.
Due to it's separate database design, it can co-exist quite happily with the default drupal forum, however it is recommended that only one be enabled at a time.

This module's design is not based around the drupal node-system. It uses it's own tables for storing forum data. There is a possibility that this will change at some stage, but for now it's the easiest, and most logical method to proceed.

UIEForum was originally developed as a 'homebrew', standalone forum for www.unreal.ie - and has since been ported over to suit drupal's code structure and rules, as the site is due to move to the drupal system in the coming months. This is still a work in progress, so I fully expect there to be various bugs, however alot of work has gone into the development of the original system, and now the drupal port, so here's hoping that it's not too buggy.

The module allows for the use of groups (roles) to provide security on specific forums, and as such, can be a suitable replacement for users that are currently debating moving from a VBB (or similar) environment.
At the moment, a fixed list of smilies are available, but this will be moved to a database list soon(ish).
Development of this module is ongoing, so be sure to check back frequently.

error module-album image_invalidate

hi

In I module album leave following the error to me when I create a album:

warning: Invalid argument supplied for foreach() in /home/susemani/public_html/modules/album/album.module on line 94.
warning: Cannot modify header information - headers already sent by (output started at /home/susemani/public_html/includes/common.inc:384) in /home/susemani/public_html/includes/common.inc on line 192.

And when attempt to put photos, when puncturing to raise the following error:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions