upload image not working corectly

This topic contains 5 reply and 3 voices, and was last updated by Nicolas 10 years, 4 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
November 30, 2013 at 6:06 pm 13069
Nicolas 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/
November 30, 2013 at 6:40 pm 13074
Mahi Mahi

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.

November 30, 2013 at 8:08 pm 13076
Nicolas Nicolas

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

December 3, 2013 at 3:44 pm 13198
Nicolas Nicolas

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

December 3, 2013 at 4:32 pm 13208
Tareq Hasan Tareq Hasan

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.

December 3, 2013 at 4:58 pm 13213
Nicolas Nicolas

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 5 Posts - 1 through 5 (of 5 total)