i've been having trouble exceeding php's memory limit when adding large attachments (20mb or more) so i've implemented the disk caching technique as described in the documentation regarding "keeping memory down to a minimum"
however, when i include the following two lines:
Swift_CacheFactory::setClassName("Swift_Disk_Cache");
Swift_Disk_Cache::setSavePath("path removed for privacy");
i get the following error:
Code: Select all
[Tue Apr 17 11:40:47 2007] [error] [client 74.132.209.182] PHP Warning: Swift_ClassLoader::require_once(/swift/lib/Swift/../Swift/Disk/Cache.php) [<a href='function.Swift-ClassLoader-require-once'>function.Swift-ClassLoader-require-once</a>]: failed to open stream: No such file or directory in /swift/lib/Swift/ClassLoader.php on line 35, referer: http://67.59.3.94/messages/compose.php
[Tue Apr 17 11:40:47 2007] [error] [client 74.132.209.182] PHP Fatal error: Swift_ClassLoader::require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/swift/lib/Swift/../Swift/Disk/Cache.php' (include_path='.:/usr/share/pear:/usr/share/php') in /swift/lib/Swift/ClassLoader.php on line 35, referer: http://67.59.3.94/messages/compose.phphowever, in the file structure as it is currently distributed, the file "Disk.php" exists in the folder "Cache"
is this merely a typo, and hence a bug? what's the best solution for fixing this?
thanks in advance
w7