Hi guys! I have a big trouble! After I restored my website... users can not upload profile photos ... no errors appears. they chose photo and press upload from account... but nothing happens. please help me guys!!!
Hi guys! I have a big trouble! After I restored my website... users can not upload profile photos ... no errors appears. they chose photo and press upload from account... but nothing happens. please help me guys!!! |
almost the same thing happened to me last year...check media/images/ folder permissions..I think it was that folder. |
I tried nothing changed... |
What are they getting when they try to upload? Any specific error, undefined or....? |
Warning: fopen(/home/httpd/vhosts/site.com/httpdocs/cache/user8.php) [function.fopen]: failed to open stream: Permission denied in /home/httpd/vhosts/site.com/httpdocs/inc/profiles.inc.php on line 660 here is the mistake... whats that? |
thats when I login... but when i upload "File not choosen" smth like that |
so anybody?????????????????? |
Warning: fopen(/home/httpd/vhosts/site.com/httpdocs/cache/user8.php) [function.fopen]: failed to open stream: Permission denied in /home/httpd/vhosts/site.com/httpdocs/inc/profiles.inc.php on line 660 here is the mistake... whats that? Try changing permission for cache folder to 777 and also inc folder. |
I did! the photo is not uploading... |
I did! the photo is not uploading... Ok what error are you getting now? |
Warning: fopen(/home/httpd/vhosts/site.com/httpdocs/cache/user8.php) [function.fopen]: failed to open stream: Permission denied in /home/httpd/vhosts/site.com/httpdocs/inc/profiles.inc.php on line 660
here is the mistake... whats that?
Webmaster, check inc/profiles.inc.php line 660. What is within that string of code? Post it here and it may give an answer. |
tahts the code on that line : if( $file = fopen( $fileName, "w" ) ) but i think there is nothink connected with photo upload.. so when i click upload nothing happens the page refresesh or smth like that... and it is written that the foto was not choosen but i did that. .. please help |
Ok go to cache folder and change user8.php file permision to 666. Let see if it work. |
Here's what the entire string should be, the line 660 is just the beginning of the string. Note the @chmod & @include within this string.
if( $file = fopen( $fileName, "w" ) ) |
that is present in my code... but the problem remained... users cannt upload profile photos. |
guys? help please |
Ok send me a letter here with your ftp details and i will check. |