Closed Bug 299216 Opened 20 years ago Closed 19 years ago

Write error when trying to upload preview image

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: doug, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

User-Agent:       Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.8b2) Gecko/20050514 Firefox/1.0+
Build Identifier: Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.8b2) Gecko/20050514 Firefox/1.0+

Browsing to png file then clicking "Add Preview" resets form and displays the
following error message:

Warning: imagejpeg(): Unable to open
'/opt/update/images/previews/haikufox/0.3-1.jpg' for writing in
/opt/update/developers/previews.php on line 242

Reproducible: Always

Steps to Reproduce:
1. log into developer page
2. click on existing theme entry
3. click "Add a Preview"
4. fill in form
5. click "Add Preview"

Actual Results:  
the form reset with the above error message displayed just above the file name
field.

Expected Results:  
upload the preview image

Tried this with Firefox under BeOS and also Firefox 1.0.4 under Windows2000. 
Same results in each case.
after completely deleting and recreating the theme entry, I was able to upload
the preview image with no problem.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.