Quote:
Originally Posted by dangerin
Good evening guys...
With the help of mobe00 that has installed this wonderful MOD on my site i see this errors code :
Warning: tempnam() [function.tempnam]: restriction in effect. File() is not within the allowed path(s): (/home/*****/:/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 275
Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 281
what can be? I've reactivated all the products that i had deactivate for a correct installation of YAFB
Bye and thanks newly to mobe00
|
open_basedir this is host problem not a mod problem. Not sure if there's a work around for this or now. I got his error without this mod when trying to uupload profile pics fro URL instead of from computer.
Its possible that you have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your main directory and chmod it to 777. Then in the Admin CP set "Upload In Safe Mode?" to 'Yes' and point the "Safe Mode Temp Directory" to that directory. Or disable open_basedir.