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

a problem of showing a png picture!

hi,all

I use GD lib for implementation of png picture showing and my simplified code is:

function show_image(){
        $bgpng = "png";
        $bg = imagecreatefrompng($bgpng);
        header("Content-Type: image/png");
        imagepng($bg);
        imagedestroy($bg);
}
show_image();

but the function "header()" cause an error:

Gallery Module Problem

Hope I am doing this right...am a newb... I have installed Drupal and Gallery2 and both work independently. Installed Galley module for Drupal and tried to setup. I may have screwed up either in not having Gallery in the Drupal directory OR not setting up the path correctly. In any case I have only totally blank Drupal pages unless I remove the Gallery Module from the Modules Directory. I tried re-installing and still no good. Just blank pages. I have tripped something up with the Galley module.

How Do i get Natural language search,breadcrumbs in search be displayed in tree view with search module capabilities?

hi,

I'm not getting functionalities like

1)Natural language search

2) breadcrumbs in search be displayed in tree view instead of linear with search module.

if we get these functionalities with existing search module please give me instuctions to achieve these.otherwise give me suggetions to get these type of functionalities.Do i need to extend the search module to get my features?

PM change in terminology suggestion...

The designation "Private Messages" is somewhat misleading, since anyone with access to the database can read the contents of those messages--they are thus not really private.

I would not change the ability of administrator(s) to read the PMs, since one occasionally encounters allegations of threats or abuse via PMs.

But I would urge PM module developer(s) to consider changing the references from "Private Message" to "Personal Message."

Classifieds?

Anyone still working on a classifieds module? I think this is the one major thing that drupal is lacking.

Drupal+Gallery2 another 'glitch'

I decided to install gallery2 as suggest in many posts around the place and followed the instructions exactly as applied in the install.txt of the (drupal) gallery module. When applying step 5 I got this error

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND g2_AccessMap.g_permission & 1 = 1' at line query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'gallery', 'Unable to get Gallery image block
Error (ERROR_STORAGE_FAILURE)
  • in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1166 (gallerystatus::error)
  • in modules/core/classes/GalleryStorage.class at line 245 (mysqldatabasestorage::search)
  • in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
  • in modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 89 (gallery::search)
  • in modules/core/classes/GalleryCoreApi.cl in /home/(removed)/public/includes/database.mysql.inc on line 66.

    Now I am only guessing, but my guess it's to do with the gallery database and the drupal gallery module not knowing how to access it (or the password for that matter - it was installed using cpanel) I further believe this to be the case because I get too many page not found errors and especially when I do get into the gallery there are no images to see (ie through drupal) yet when I visit the actual gallery, everything is fine.

Pages

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