This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

error warning in preferences.php after 1.7 > 1.8
#1

Hi,
i get this message after upgrading to 1.8 (from 1.7)

Code:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/web/virtuals/abc/virtual) in /data/web/virtuals/abc/virtual/www/domains/example.com/comments/includes/swift_mailer/lib/preferences.php on line 15

I trying fix it,but i am not sucess Confused

Can you help me, please
Reply
#2

I solved with:

Code:
// if (function_exists('sys_get_temp_dir') && is_writable(sys_get_temp_dir()))
//{
//  Swift_Preferences::getInstance()
//    -> setTempDir(sys_get_temp_dir())
//    -> setCacheType('disk');
// }

but cache may be good with many visitors, can i solve it another way?
Reply
#3

Hi,

You could try this:
http://dev.kayako.com/browse/SWIFT-1654#...04_verbose

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Plum
02-Oct-2020, 10:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)