This latest dev release of Tokens causes the following error when I try to backup my database using the backup and migrate module...

* warning: rename(/tmp/backup_migrate_OMdJCr.gz) [function.rename]: failed to open stream: No such file or directory in /home3/igmc/public_html/gospelrealm/sites/all/modules/backup_migrate/backup_migrate.module on line 873.
* warning: rename(/tmp/backup_migrate_OMdJCr.gz,sites/default/files/backup_migrate/manual/GospelRealm.comPostTokenupgrade-2009-05-15T10-34-5.sql.gz) [function.rename]: Success in /home3/igmc/public_html/gospelrealm/sites/all/modules/backup_migrate/backup_migrate.module on line 873.
* There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information.

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

This isn't enough information to really know how to fix the problem.

When you used an older version of token it worked?

Are any files created in /tmp/ called backup_migrate_*?

prdsp’s picture

Yes when I use the 1.x-dev version that was released on 4/20/09 it works perfectly. I'm using the token [site-name] as part of my backup file name. Where is the /tmp/ directory located?

greggles’s picture

It's at "/tmp" that's the root of the filesystem. You can change the location of it on admin/settings/file-system

The [site-name] token really hasn't changed, nor has much of anything else. I wonder what's going on...

hmmm - time for simpletests, I guess.

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)