tempnam() error after install - QUICK ADVICE NEEDED - Thanks,

Events happening in the community are now at Drupal community events on www.drupal.org.
Merezcauss's picture

Hi OP community,

I am new at OpenPublish and so, but after I instaled it, I got the following error message;

warning: tempnam() [function.tempnam]: Unable to access in /mywebpath/includes/file.inc on line 799.
warning: fopen() [function.fopen]: Filename cannot be empty in /mywebpath/includes/file.inc on line 800.
The file could not be created.

Line 799 in includes/file.inc;

$file = tempnam(realpath($temp), 'file');

Line 800 in includes/file.inc;

if (!$fp = fopen($file, 'wb')) {

I really dont know, how to fix it, but it take part on and destroys my layout.
Thank you,

Comments

Looks like your Drupal temp

irakli's picture

Looks like your Drupal temp location is non-writable. Is it a shared hosting?

.............................................
http://twitter.com/inadarei

Hi, Thank you so much, yes is

Merezcauss's picture

Hi,
Thank you so much, yes is a shared hosting, but I really dont know where the tmp directory is, so that I can make it writable.
Any idea?
Thanks,

go to

resveld's picture

go to admin/settings/file-system and see if the tmp is readable. If not, change it to /tmp (which is normally readable).

-Ronald

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: