Download & Extend

I got a warning. Can anyone resolve or explain this?

Project:Job Posting
Version:6.x-1.9
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:warning

Issue Summary

warning: fread() [function.fread]: Length parameter must be greater than 0 in "my web root"/drupal/sites/all/modules/job_posting/job_posting.module on line 704.

Comments

#1

I'm guessing you're trying to attach a 0-length (i.e. empty) file to a job posting application. However, this should simply generate a form validation error unless something else is amiss...
Please provide some context on when and/or where this message is appearing (e.g. what were you doing just prior to and at the time of the error?) Also details on your hosting environment may be helpful, including which modules you have enabled. It might also be worthwhile to try reproducing the error with the job_posting 6.x-dev version (to see whether the issue you're experiencing was resolved indirectly, perhaps through another bug fix).

#2

This is a development version of drupal for testing before transfering to it's final destination. It is hosted on 1and1 in a shared hosting package. The error occurs when my test user with "authenticated user" role submits an application to a test job posting. I am using the following modules:

Core 6.9
rotor banner 6.x-1.4
CCK 6.x-2.1
Calendar 6.x-2.0-rc6
Date 6.x-2.0-rc6
Image 6.x-1.0-alpha4
Messaging 6.x-1.1
Notifications 6.x-1.1
Organic groups 6.x-1.1
OG forum 6.x-1.1
Advanced Forum 6.x-1.0-rc1
Advanced help 6.x-1.1
Author Pane 6.x-1.0-beta2
Global Redirect 6.x-1.2
Gravatar integration 6.x-1.5
IMCE 6.x-1.2
Job Posting 6.x-1.10
Nice Menus 6.x-1.3
Path redirect 6.x-1.0-beta1
Pathauto 6.x-1.1
Poormanscron 6.x-1.0
Token 6.x-1.11
Profile role 6.x-1.2
jQuery Update 6.x-1.1
jQuery plugins 6.x-1.6
Wysiwyg 6.x-1.0
Views 6.x-2.3
E-journal 6.x-1.0-alpha2

I haven't tried the development version. I will look into that.

#3

Status:active» closed (fixed)

no followup after long period of inactivity