Home Forums Plugin Support WP User Frontend Pro upload image not working corectly

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  Nicolas 5 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13069

    Nicolas
    Member
    Post count: 10

    The problem uploading images is that once image is uploaded and you click on submit button, it returns a error related with image, but doesn't specify an error.

    Test it here: http://devalldoreix.com/registre/

    #13074

    Mahi
    Member
    Post count: 1555

    i just registered with out any issue?

    Also, check your js files, there is a bug that you are loading google maps js file twice.

    #13076

    Nicolas
    Member
    Post count: 10

    Sorry.
    It happpens only if image is required.
    Now changed

    #13198

    Nicolas
    Member
    Post count: 10

    Can anyone give me a clue of what is wrong ?
    Thanks

    #13208

    Tareq Hasan
    Keymaster
    Post count: 2831

    Seems like a theme issue, can you test if it's happening with the default WordPress theme?

    All I can see is, there are many paragraph tag <p></p> inserted in the form and it's breaking the image validation rule in JavaScript.

    #13213

    Nicolas
    Member
    Post count: 10

    looking in functions theme i've see this:

    
    // Empty Pragraph Fix
    
      /*
    
        Plugin Name: Shortcode empty Paragraph fix
    
        Plugin URI: http://www.johannheyne.de/wordpress/shortcode-empty-paragraph-fix/
    
        Description: Fix issues when shortcodes are embedded in a block of content that is filtered by wpautop.
    
        Author URI: http://www.johannheyne.de
    
        Version: 0.1
    
        Put this in /wp-content/plugins/ of your WordPress installation
    
        */
    
        add_filter('the_content', 'shortcode_empty_paragraph_fix');
    
        function shortcode_empty_paragraph_fix($content)
    
        {   
    
            $array = array (
    
                '<p>[' => '[', 
    
                ']</p>' => ']', 
    
                ']<br />' => ']'
    
            );
    
            $content = strtr($content, $array);
    
    		return $content;
    
        }
    

    I've deleted and seems that the paragraph tags are gone, but problem stays.
    default theme works fine.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘upload image not working corectly’ is closed to new replies.