I am unable to add movies through the imdb option. It
give me these three errors:
Warning: Supplied argument is not a valid File-Handle
resource
in /var/www/html/phpweb/mod/phpmovielib/phpmovielib_fun
ctions.php on line 1559
Warning: Supplied argument is not a valid File-Handle
resource
in /var/www/html/phpweb/mod/phpmovielib/phpmovielib_fun
ctions.php on line 1560
Warning: Cannot add header information - headers
already sent by (output started
at /var/www/html/phpweb/mod/phpmovielib/phpmovielib_fun
ctions.php:1559)
in /var/www/html/phpweb/mod/phpmovielib/phpmovielib_fun
ctions.php on line 1576
I have checked the rwx permissions on /tmp and for the
phpmovielib folder as well. And they all seem to have
the correct permissions set. So, I am at a loss for
what to try next. I would appreciate your help on
this.
Thanks.
Logged In: YES
user_id=367732
I have had only one report of this problem before.
It seems that on certain systems, the /tmp folder is not
necessarily where the operating system might be trying to
create the file that's downloaded from IMDB...
it might be connected to your web server settings too.
the webserver needs to have access to whichever folder the
system is creating tmp files in, I am not using Unix or
Linux locally to be able to test and help you with this.
I use windows locally to test, then I upload to my provider
(they have done all the settings...I have no access but
through FTP)
what I recommend is you try giving the webserver group full
access, or make the owner of the /tmo folder 'nobody'
If you find a solution to this problem...I would appreciate
it if you post the solution here for other users to benefit
from it.
Thanks
Talal Nehme