Profile photos not displaing

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!!!

Quote · 20 Mar 2009

almost the same thing happened to me last year...check media/images/ folder permissions..I think it was that folder.

Quote · 20 Mar 2009

I tried nothing changed...

Quote · 20 Mar 2009

What are they getting when they try to upload?  Any specific error, undefined or....?

Quote · 20 Mar 2009

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?

Quote · 20 Mar 2009

thats when I login...

but when i upload "File not choosen" smth like that

Quote · 20 Mar 2009

so anybody??????????????????

Quote · 21 Mar 2009

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.

Quote · 21 Mar 2009

I did! the photo is not uploading...

Quote · 21 Mar 2009

I did! the photo is not uploading...

Ok what error are you getting now?

Quote · 21 Mar 2009

 

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.

Quote · 21 Mar 2009

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

Quote · 21 Mar 2009

Ok go to cache folder and change user8.php file permision to 666. Let see if it work.

Quote · 21 Mar 2009

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" ) )
   {
    fwrite( $file, $sUser );
    fclose( $file );
    @chmod ($fileName, 0666);
    
    @include( $fileName );
    return true;
   }

Quote · 21 Mar 2009

that is present in my code... but the problem remained... users cannt upload profile photos.

Quote · 22 Mar 2009

guys? help please

Quote · 23 Mar 2009

Ok send me a letter here with your ftp details and i will check.

Quote · 23 Mar 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.