Please upgrade here. These earlier versions are no longer being updated and have security issues.

Problem with UserPic or Change Avatar

Hi everybody. I update my forum to 2.1.8 and now i can´t upload or change the pics to avatar in the forum.

I did all that i read in a little post about to repair permissions or apply the 777 to all folders.

Only i see that when an user is registered in the forum it create a userpic folder with a number but in are not nothing. No pics nothing!!

Thanks in advance,
Regards from Spain ;)

«1

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    You did not need to change permissions to the folders if the permissions were good before. Do not 777 all your folders . That is very very risky.

    You need to check the edit profile permissions in the dashboard to allow edit profile .

  • Hi Vrijvlinder ok ok i express bad the last time. I only changed permissions to several folders that i saw in other posts. I did that of edit profile permissions and nothing. When i change a pic of a user (i´m admin) or my pic allways appear a blank image :/

    Any idea?
    Regars

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    can you edit anything else in the profile ? do you have a link to see ?

    peregrine
  • Yes!! But appears in Spanish ok? http://comosehaceunvideojuego.com/foro/index.php?p=/profile/edit/196/Sethimu5

    I can edit his name and all content only i have problems when i want to update or change an avatar or pic user :neutral_face:

    Regards

    vrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited January 2015

    Ok I see what the problem may be.

    You need to check the htaccess file, please post it here.

    RewriteBase needs to be /foro

    RewriteBase /foro

    not #RewriteBase /foro

    the # disables this function

    and inside the config.php put

    $Configuration['Garden']['RewriteUrl']=TRUE;

  • RubiyoooRubiyooo New
    edited January 2015

    Hi again ;) I´m afortunable to know english ^_^_y
    I did all you said me but nothing. Does not work yet :/

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       RewriteBase /foro
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
    // Cache
    $Configuration['Cache']['Enabled'] = TRUE;
    $Configuration['Cache']['Method'] = 'dirtycache';
    $Configuration['Cache']['Filecache']['Store'] = '/home/a9338481/public_html/foro/cache/Filecache';
    
    // Conversations
    $Configuration['Conversations']['Version'] = '2.0.18.4';
    
    // Database
    $Configuration['Database']['Engine'] = 'MySQL';
    $Configuration['Database']['ConnectionOptions']['12'] = FALSE;
    $Configuration['Database']['ConnectionOptions']['1000'] = TRUE;
    $Configuration['Database']['ConnectionOptions']['1002'] = 'set names \'utf8\'';
    $Configuration['Database']['CharacterEncoding'] = 'utf8';
    $Configuration['Database']['DatabasePrefix'] = 'GDN_';
    $Configuration['Database']['ExtendedProperties']['Collate'] = 'utf8_unicode_ci';
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Dashboard'] = 'dashboard';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    
    // EnabledLocales
    $Configuration['EnabledLocales']['vf_es_ES'] = 'es-ES';
    
    // EnabledPlugins
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['Emotify'] = TRUE;
    $Configuration['EnabledPlugins']['Gravatar'] = TRUE;
    $Configuration['EnabledPlugins']['Facebook'] = TRUE;
    $Configuration['EnabledPlugins']['OpenID'] = TRUE;
    $Configuration['EnabledPlugins']['GoogleSignIn'] = TRUE;
    $Configuration['EnabledPlugins']['cleditor'] = TRUE;
    $Configuration['EnabledPlugins']['WhosOnline'] = TRUE;
    $Configuration['EnabledPlugins']['Voting'] = TRUE;
    $Configuration['EnabledPlugins']['FileUpload'] = TRUE;
    $Configuration['EnabledPlugins']['ShareThis'] = TRUE;
    $Configuration['EnabledPlugins']['VersionCheck'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaSEO'] = TRUE;
    $Configuration['EnabledPlugins']['StopForumSpam'] = TRUE;
    $Configuration['Debug'] = TRUE;
    
    // Garden
    $Configuration['Garden']['Title'] = 'Foro: ソComo se hace un videojuego?';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Cookie']['Name'] = 'Vanilla';
    $Configuration['Garden']['Cookie']['Path'] = '/';
    $Configuration['Garden']['Cookie']['HashMethod'] = 'md5';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = FALSE;
    $Configuration['Garden']['Registration']['Method'] = 'Captcha';
    $Configuration['Garden']['Registration']['DefaultRoles'] = array('8');
    $Configuration['Garden']['Registration']['ApplicantRoleID'] = 4;
    $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
    $Configuration['Garden']['Registration']['InviteRoles'] = 'a:5:{i:4;s:1:"0";i:8;s:1:"0";i:32;s:1:"0";i:16;s:1:"0";i:3;s:1:"0";}';
    $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '8';
    $Configuration['Garden']['Email']['SupportName'] = 'Foro: ?Como se hace un videojuego?';
    $Configuration['Garden']['Email']['UseSmtp'] = FALSE;
    $Configuration['Garden']['Email']['SmtpPort'] = '25';
    $Configuration['Garden']['Email']['SmtpSecurity'] = 'ssl';
    $Configuration['Garden']['Email']['MimeType'] = 'text/plain';
    $Configuration['Garden']['ContentType'] = 'text/html';
    $Configuration['Garden']['Charset'] = 'utf-8';
    $Configuration['Garden']['FolderBlacklist'] = array('.', '..', '_svn', '.git');
    $Configuration['Garden']['Locale'] = 'es-ES';
    $Configuration['Garden']['LocaleCodeset'] = 'UTF8';
    $Configuration['Garden']['Domain'] = '';
    $Configuration['Garden']['WebRoot'] = FALSE;
    $Configuration['Garden']['StripWebRoot'] = FALSE;
    $Configuration['Garden']['Debug'] = TRUE;
    $Configuration['Garden']['RewriteUrls'] = TRUE;
    $Configuration['Garden']['Session']['Length'] = '15 minutes';
    $Configuration['Garden']['Authenticator']['DefaultScheme'] = 'password';
    $Configuration['Garden']['Authenticator']['RegisterUrl'] = '/entry/register?Target=%2$s';
    $Configuration['Garden']['Authenticator']['SignInUrl'] = '/entry/signin?Target=%2$s';
    $Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}?Target=%2$s';
    $Configuration['Garden']['Authenticator']['EnabledSchemes'] = array('password');
    $Configuration['Garden']['Authenticator']['SyncScreen'] = 'smart';
    $Configuration['Garden']['Authenticators']['password']['Name'] = 'Password';
    $Configuration['Garden']['Errors']['LogEnabled'] = FALSE;
    $Configuration['Garden']['Errors']['LogFile'] = '';
    $Configuration['Garden']['SignIn']['Popup'] = TRUE;
    $Configuration['Garden']['UserAccount']['AllowEdit'] = TRUE;
    $Configuration['Garden']['TermsOfService'] = '/dashboard/home/termsofservice';
    $Configuration['Garden']['UpdateCheckUrl'] = 'http://vanillaforums.org/addons/update';
    $Configuration['Garden']['AddonUrl'] = 'http://vanillaforums.org/addons';
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['Forms']['HoneypotName'] = 'hpt';
    $Configuration['Garden']['Upload']['MaxFileSize'] = '5M';
    $Configuration['Garden']['Upload']['AllowedFileExtensions'] = array('txt', 'jpg', 'jpeg', 'gif', 'png', 'bmp', 'tiff', 'zip', 'gz', 'tar.gz', 'tgz', 'psd', 'ai', 'fla', 'swf', 'pdf', 'doc', 'xls', 'ppt', 'docx', 'xlsx', 'log', 'rar', '7z');
    $Configuration['Garden']['Picture']['MaxHeight'] = 1000;
    $Configuration['Garden']['Picture']['MaxWidth'] = 600;
    $Configuration['Garden']['Profile']['MaxHeight'] = 1000;
    $Configuration['Garden']['Profile']['MaxWidth'] = 250;
    $Configuration['Garden']['Profile']['Public'] = TRUE;
    $Configuration['Garden']['Profile']['ShowAbout'] = TRUE;
    $Configuration['Garden']['Profile']['EditUsernames'] = FALSE;
    $Configuration['Garden']['Preview']['MaxHeight'] = 100;
    $Configuration['Garden']['Preview']['MaxWidth'] = 75;
    $Configuration['Garden']['Thumbnail']['Size'] = 50;
    $Configuration['Garden']['Menu']['Sort'] = array('Dashboard', 'Discussions', 'Questions', 'Activity', 'Applicants', 'Conversations', 'User');
    $Configuration['Garden']['InputFormatter'] = 'Html';
    $Configuration['Garden']['Search']['Mode'] = 'matchboolean';
    $Configuration['Garden']['Theme'] = 'bittersweet';
    $Configuration['Garden']['MobileTheme'] = 'mobile';
    $Configuration['Garden']['Roles']['Manage'] = TRUE;
    $Configuration['Garden']['VanillaUrl'] = 'http://vanillaforums.org';
    $Configuration['Garden']['AllowSSL'] = TRUE;
    $Configuration['Garden']['PrivateCommunity'] = FALSE;
    $Configuration['Garden']['EditContentTimeout'] = -1;
    $Configuration['Garden']['Modules']['ShowGuestModule'] = TRUE;
    $Configuration['Garden']['Modules']['ShowSignedInModule'] = FALSE;
    $Configuration['Garden']['Modules']['ShowRecentUserModule'] = FALSE;
    $Configuration['Garden']['Format']['Mentions'] = TRUE;
    $Configuration['Garden']['Format']['Hashtags'] = FALSE;
    $Configuration['Garden']['Format']['YouTube'] = TRUE;
    $Configuration['Garden']['Format']['Vimeo'] = TRUE;
    $Configuration['Garden']['Format']['EmbedSize'] = 'normal';
    $Configuration['Garden']['Version'] = '2.1.8p2';
    $Configuration['Garden']['Messages']['Cache'] = 'a:0:{}';
    $Configuration['Garden']['Logo'] = 'S68D6J2FTMD2.png';
    
    // Modules
    $Configuration['Modules']['Garden']['Panel'] = array('UserPhotoModule', 'UserInfoModule', 'GuestModule', 'Ads');
    $Configuration['Modules']['Garden']['Content'] = array('MessageModule', 'Notices', 'Content', 'Ads');
    $Configuration['Modules']['Vanilla']['Panel'] = array('NewDiscussionModule', 'SignedInModule', 'GuestModule', 'Ads');
    $Configuration['Modules']['Vanilla']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    $Configuration['Modules']['Conversations']['Panel'] = array('NewConversationModule', 'SignedInModule', 'GuestModule', 'Ads');
    $Configuration['Modules']['Conversations']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    
    // Plugin
    $Configuration['Plugin']['Van2Shout']['FBUrl'] = '';
    $Configuration['Plugin']['Van2Shout']['FBSecret'] = '';
    $Configuration['Plugin']['Van2Shout']['ContentAsset'] = '1';
    $Configuration['Plugin']['Van2Shout']['Timestamp'] = '';
    $Configuration['Plugin']['Van2Shout']['SendText'] = 'Enviar';
    $Configuration['Plugin']['Van2Shout']['TimeColour'] = 'grey';
    $Configuration['Plugin']['Van2Shout']['Interval'] = '5000';
    $Configuration['Plugin']['Van2Shout']['MsgCount'] = '50';
    
    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    $Configuration['Plugins']['GettingStarted']['Categories'] = '1';
    $Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
    $Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
    $Configuration['Plugins']['GettingStarted']['Registration'] = '1';
    $Configuration['Plugins']['GettingStarted']['Profile'] = '1';
    $Configuration['Plugins']['Tagging']['Enabled'] = TRUE;
    $Configuration['Plugins']['GoogleSignIn']['Enabled'] = TRUE;
    $Configuration['Plugins']['StopForumSpam']['UserID'] = '77';
    $Configuration['Plugins']['StopForumSpam']['IPThreshold1'] = '5';
    $Configuration['Plugins']['StopForumSpam']['EmailThreshold1'] = '20';
    $Configuration['Plugins']['StopForumSpam']['IPThreshold2'] = '20';
    $Configuration['Plugins']['StopForumSpam']['EmailThreshold2'] = '50';
    $Configuration['Plugins']['FileUpload']['Enabled'] = TRUE;
    $Configuration['Plugins']['SEO']['Enabled'] = TRUE;
    $Configuration['Plugins']['SEO']['DynamicTitles']['categories_all'] = 'All Categories on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['category_single'] = '%category% Discussions on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['category_discussions'] = 'View Discussions and Categories on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['activity'] = 'Recent Activity on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['discussions'] = 'Recent Discussions on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['discussion_single'] = '%title% - %category% Discussions on %garden%';
    $Configuration['Plugins']['SEO']['DynamicTitles']['search_results'] = '%search% - Search Results on %garden%';
    $Configuration['Plugins']['ReplyTo']['Enabled'] = FALSE;
    $Configuration['Plugins']['AddMenuitem']['Name1'] = 'Volver a la Web';
    $Configuration['Plugins']['AddMenuitem']['Link1'] = 'http://www.comosehaceunvideojuego.com';
    $Configuration['Plugins']['AddMenuitem']['Name2'] = '';
    $Configuration['Plugins']['AddMenuitem']['Link2'] = '';
    $Configuration['Plugins']['AddMenuitem']['Name3'] = '';
    $Configuration['Plugins']['AddMenuitem']['Link3'] = '';
    $Configuration['Plugins']['AddMenuitem']['Name4'] = '';
    $Configuration['Plugins']['AddMenuitem']['Link4'] = '';
    $Configuration['Plugins']['AddMenuitem']['Name5'] = '';
    $Configuration['Plugins']['AddMenuitem']['Link5'] = '';
    $Configuration['Plugins']['Van2Shout']['Guest'] = '';
    $Configuration['Plugins']['Van2Shout']['Applicant'] = '';
    $Configuration['Plugins']['Van2Shout']['Member'] = '';
    $Configuration['Plugins']['Van2Shout']['Moderator'] = '';
    $Configuration['Plugins']['Van2Shout']['Administrator'] = '';
    $Configuration['Plugins']['Van2Shout']['Confirm Email'] = '';
    $Configuration['Plugins']['VersionCheck']['TransferType'] = 'proxyrequest';
    
    // Preferences
    $Configuration['Preferences']['Email']['ConversationMessage'] = '1';
    $Configuration['Preferences']['Email']['AddedToConversation'] = '1';
    $Configuration['Preferences']['Email']['BookmarkComment'] = '1';
    $Configuration['Preferences']['Email']['WallComment'] = '0';
    $Configuration['Preferences']['Email']['ActivityComment'] = '0';
    $Configuration['Preferences']['Email']['DiscussionComment'] = '0';
    $Configuration['Preferences']['Email']['DiscussionMention'] = '0';
    $Configuration['Preferences']['Email']['CommentMention'] = '0';
    $Configuration['Preferences']['Popup']['ConversationMessage'] = '1';
    $Configuration['Preferences']['Popup']['AddedToConversation'] = '1';
    $Configuration['Preferences']['Popup']['BookmarkComment'] = '1';
    $Configuration['Preferences']['Popup']['WallComment'] = '1';
    $Configuration['Preferences']['Popup']['ActivityComment'] = '1';
    $Configuration['Preferences']['Popup']['DiscussionComment'] = '1';
    $Configuration['Preferences']['Popup']['DiscussionMention'] = '1';
    $Configuration['Preferences']['Popup']['CommentMention'] = '1';
    
    // ReplyTo
    $Configuration['ReplyTo']['Mention']['Insert'] = '1';
    
    // Routes
    $Configuration['Routes']['DefaultController'] = array('discussions', 'Internal');
    $Configuration['Routes']['DefaultForumRoot'] = 'discussions';
    $Configuration['Routes']['Default404'] = array('dashboard/home/filenotfound', 'NotFound');
    $Configuration['Routes']['DefaultPermission'] = array('dashboard/home/permission', 'NotAuthorized');
    $Configuration['Routes']['UpdateMode'] = 'dashboard/home/updatemode';
    
    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.0.18.4';
    $Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;
    $Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '3';
    $Configuration['Vanilla']['Categories']['DoHeadings'] = '1';
    $Configuration['Vanilla']['Categories']['HideModule'] = FALSE;
    $Configuration['Vanilla']['Categories']['Layout'] = 'modern';
    $Configuration['Vanilla']['Discussions']['Layout'] = 'modern';
    
    // WhosOnline
    $Configuration['WhosOnline']['Frequency'] = '60';
    $Configuration['WhosOnline']['Location']['Show'] = 'every';
    $Configuration['WhosOnline']['Hide'] = FALSE;
    
    // Last edited by CSH1VG (79.155.160.181)2015-01-21 18:06:07
    
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Please if there is a moderator to fix this to hide the sensitive info @hgtonight thanks.

    Ok tienes que arreglar el config.php y ponerle la version correcta de vanilla.

    cambia esto en todo los lugares donde aparece mal la versión que estas usando

    $Configuration['Vanilla']['Version'] = '2.0.18.4';

    por esto

    $Configuration['Vanilla']['Version'] = '2.1.8';

    Trata de volver a subir la foto a ver si se arregla.

    hgtonightperegrine
  • Nothing is not that the problem. I change the version and nothing. Don´t work :/

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Trato de subir la foto de nuevo ? Es posible que sea la version incorrecta de FileUpload.

  • RubiyoooRubiyooo New
    edited January 2015

    **Finally i found the solution!! ** Only you must to run whereisyourforum.com/utility/structure or whereisyourforum.com/forum/utility/structure and run structures and the scripts :)

    vrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited January 2015

    Felicidades !!!

    Y perdone por asumir que había ya hecho todo eso y seguía con problemas. A veces no es fácil saber que ya hicieron antes.

    Que bueno que lo soluciono !!

  • Nothing only it worked one time. I have the problem again T.T

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited January 2015

    Did you try to re upload the image ?

    this is the image url

    http://comosehaceunvideojuego.com/foro/uploads/userpics/649/p3TD41WTNABLI.png

    But it it a 404 not found error. You should try to re upload the image and see if it is saved. Make sure you have the latest version of every plugin.

    Also disable debugger mode in the dashboard

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Ok , no se desespere ..

    Es posible que tenga que hacer el utility/structure varias veces hasta que ya no pase.

    Tiene que deshabitar todos los plugins menos htmlawed para ver si es causa de uno.

  • Perdón si hablo español pero es que quiero mejorar mi inglés ;)

    I don´t have nothing called Htmlawed in my plugin´s panel O_O

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Yes that is ok, that is a plugin that is very important and is hidden in the dashboard so it can't be disabled via dashboard.

    Run Utility/structure several times until no issues arise. Disable all plugins and see what happens.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Disable that in the dashboard. debugger , that info is informational not an error

    Run this from the dashboard until no fixes .

    http://comosehaceunvideojuego.com/foro/utility/structure again

  • Yes i missed that. Ok i disable the debugger but all is as before to change to FALSE the debug mode :/

Sign In or Register to comment.