• Good Morning
    I am testing to be the main classifieds plugin for my site, but I have a problem to be solved before anything else. I’ve tried all the ways and I couldn’t solve it. The photo (image) of the advert does not LOAD.
    See this link

    https://imoveisinbrasil.com/adverts/add/

    See if you have a solution that you would appreciate very much.
    Thank you
    Vilson

    Bom dia
    Estou testando para ser o principal Plugin de classificados de meu site, mas estou com problema a ser solucionado antes de mais nada. Já tentei de todas as maneiras e não consegui resolver. A foto (imagem) do anunciar não CARREGA.
    Veja neste link https://imoveisinbrasil.com/adverts/add/
    Veja se tem uma solução o que agradeceria muito.
    Obrigado
    Vilson

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    the problem on the page you linked to is that the theme you are using is loading a custom (old) version of jQuery which is not compatible with the WPAdverts file upload script.

    You can try fixing that by forcing WP to load the jQuery library bundled with WordPress. To do that add in your theme functions.php file, the code below

    
    function include_default_jquery() {
        wp_deregister_script('jquery');
        wp_enqueue_script('jquery', site_url() . '/wp-includes/js/jquery/jquery.js', array(), null, true);
    }
    add_action('wp_enqueue_scripts', 'include_default_jquery', 5000);
    
    Thread Starter imoveisbra

    (@imoveisbra)

    Good Morning
    Mr. Greg Winiarski

    I tried with these scripts and it didn’t work (still not loading the image). I also tried several jQuery Updater Plugins and nothing worked.
    I would like to use my theme, I would have another solution to this problem.
    Hurt

    Att
    Vilson

    Bom dia
    Sr. Greg Winiarski

    Tentei com este scripts e não deu certo (continua não carregando a imagem). Tentei também vários Plugin de jQuery Updater e nada deu certo.
    Gostaria de usar meu tema, teria outra solução para este problema.
    Agardeço

    Att
    Vilson

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    if you would like to keep using the theme and WPAdverts you would need to ask the theme author how to switch from jQuery 1.9.1 to 1.12.4 or in other words how to switch from the jQuery bundled with the theme to the default WP jQuery library.

    It seems that they have it hardcoded somewhere in the theme files and its not possible to change it with just a filter/action.

    Thread Starter imoveisbra

    (@imoveisbra)

    Good Morning
    Mr Greg Winiarski

    I’ve tried several themes and still can’t upload images. There would be no simple solution for a layman in this deal. I’ve used plugins, different themes, nothing.

    Now I cleaned my hosting and installed everything again WordPres and themes plus the WPAdverts Plugin and still nothing the images do not load.

    https://imoveisinbrasil.com/adverts/add/

    It keeps running and nothing.

    Thanks again for the attempt to resolve.

    Att
    Vilson

    Bom dia
    Sr Greg Winiarski

    Já tentei vários temas e mesmo assim não consigo o upload das imagens. Não teria uma solução simples para um leigo nesta tratativa. Já usei plugins, temas diferenciados, enada.

    Agora limpei minha hospedagem e instalei tudo novamente WordPres e temas mais o Plugin WPAdverts e mesmo assim nada as imagens não carregam.

    https://imoveisinbrasil.com/adverts/add/

    Fica rodando e nada.

    Agradeço mais uma vez a tentativa de solucionar.

    Att
    Vilson

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i tried uploading an image on the page you linked to, the upload request seems to be redirected to the page https://imoveisinbrasil.com/cgi-sys/amplugin.shtml which has the following message:

    
    Security Alert
    The file you are uploading was rejected by the server.
    It probably contents viruses or trojans that can damage your website
    
    Do not attempt to upload it again as your IP address may be blocked.
    

    The file i was uploading was a simple, small image without any viruses or trojans.

    The redirect seems to be done by your server, you would need to ask your hosting support if they can disable it for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Imagem’ is closed to new replies.