Warning: chmod(): Unable to access images/ANTI SOC VAR CU ROM 150 X 210.jpg in /home/virtual/var/www/html/predef.php on line 19
how can I fix that?
Is "/home/virtual/var/www/html/images/ANTI SOC VAR CU ROM 150 X 210.jpg" a valid file?
What function are you using at the time of this error? chmod() or getimagesize() ?
CHMOD'ing has to do with permissions on a unix server. Do you own this server (or do you have root priviliges?) Do you 'who' Apache is set up to run as? Is it in a group? Does that group have access to that folder? Many more permission-related questions exist. If the above two questions don't help resolve your problem, we'll have to look at permissions. An easy way to do this is to use telnet/ssh/console to run commands on the unix server itself. This can be achieved via a PHP script, however. We'll cross that bridge when/if we get there.
Care to post a code snippet?