Closed (fixed)
Project:
Tournament Bracket
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2011 at 00:36 UTC
Updated:
28 Jan 2011 at 17:10 UTC
Greetings,
I'm testing out the module on my development environment and have an issue with missing brackets. Here is what has happened:
* created bracket
* no bracket is presented however the pdf is available
* go to edit and I receive the following:
warning: imagepng() [function.imagepng]: Unable to open '' for writing: No such file or directory in /Applications/MAMP/htdocs/DrupalSites/bigjohnsons/sites/all/modules/bracket/bracket_image.inc on line 652.
warning: unlink() [function.unlink]: No such file or directory in /Applications/MAMP/htdocs/DrupalSites/bigjohnsons/sites/all/modules/bracket/bracket_image.inc on line 655.
probably something simple... please advise... thanks
Comments
Comment #1
jimbullington commentedSounds like it's having trouble writing a temp file for the image.
You could try the 2.x-dev version (seems to be pretty stable) or change line 651 to:
$tmp = tempnam(file_directory_temp(), 'bkt');
Comment #2
jouflas commentedthe change to line 651 worked... thanks!
Comment #3
jimbullington commentedGreat - I have commited the code to CVS and created a new release (6.x-1.3) with this and some other fixes.