ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Upload de arquivos na locaweb

April 16, 2012 9:00am

Subscribe [2]
  • #1 / Apr 16, 2012 9:00am

    cebalzer

    40 posts

    Ola pessoa, estou com problemas de upload de arquivos na locaweb, ja tentei varios caminhos no $config[‘upload_path’], mas ainda estou sem sucesso.
    Alguem ja lidou com esse upload na locaweb por gentileza me de uma ajuda.
    Fico grato.

    Desculpem, mas postei no lugar errado, se o moderador puder mover o topico agradeço.

    Obrigado

  • #2 / Apr 16, 2012 10:45am

    mestresan

    19 posts

    ja colocou a permissao nas pastas? 777 ???
    aqui rola normal

  • #3 / Apr 16, 2012 12:32pm

    cebalzer

    40 posts

    Ja esta com permissao total, 777.
    Como vc esta usando a configuracao do path?
    Voce configurou no arquivo upload.php da pasta system alguma coisa tambem?
    Obrigado pela resposta

  • #4 / Apr 17, 2012 7:28am

    cebalzer

    40 posts

    Ontem o pessoal da locaweb entrou em contato comigo atraves de email, eles colocaram um upload sem codeigniter no site pra testar o porque do caminho não estar certo, o codigo deles e bem simples, para envio de upload de arquivos. Esta funcionando, me pediram pra colocar o caminho como eles me passaram pelo email.
    Segue as configurações que estou utilizando:
    1-Tentativa:

    $config['upload_path'] = '/home/MEULOGINFTP/public_html/uploads/';

    2-Tentativa:

    $config['upload_path'] = './home/MEULOGINFTP/public_html/uploads/';

    O restante da configuração:

    //$this->upload->initialize($config);
    
                $config['allowed_types'] = 'gif|jpg|png';
                $config['max_size'] = '900';
                $config['max_width'] = '3000';
                $config['max_height'] = '2500';
    
                $this->load->library('upload', $config);
                if (!$this->upload->do_upload()) {
                    $error =  $this->upload->display_errors();
                    $this->session->set_flashdata('erro_upload', $error);
                    redirect('error_controller/index');
    
                } else {
                    $data = $this->upload->data();
                }

    Pra esclarecer que localmente funciona assim’

    $config['upload_path'] = './uploads';

    Entao nao sei exatamente se precisaria de mais alguma configuração para poder funcionar.
    Agradeço a aqueles que ja tiveram esse tipo de problema ou que gostaria de ajudar, estou em prazo de entrega deste trabalho, mas assim não vou conseguir entregar no prazo

    Obrigado.

  • #5 / Apr 17, 2012 7:34am

    mestresan

    19 posts

    uso sempre o path completo: $config[‘upload_path’] = ‘/home/MEULOGINFTP/public_html/uploads/’;

    usando o CI,vc pode testar e pegar o “erro”. Se o path estiver errado irá retornar a msg informando isso ou se for outra coisa…

    No seu codigo vc trata isso, mas redireciona. As vezes o redirect nao permite tempo suficiente para gravar na sessao… use ali um echo pra ver direto…
    Ative tbm o debug completo, no arquivo de config do CI

  • #6 / Apr 17, 2012 7:36am

    cebalzer

    40 posts

    Desculpe minha ignorancia meu amigo, mas nunca ativei o debug, como faria isso por gentileza?

    Bem como vc disse pra dar um echo, o erro do path ainda persiste

    The upload path does not appear to be valid.

    Se fosse tamanho ou tipo de imagem ele dava outros erros, como pode ver e o path mesmo.

    Obrigado

  • #7 / Apr 17, 2012 7:40am

    mestresan

    19 posts

    arquivo application/config/config.php
    $config[‘log_threshold’] = 4;

    vai gerar arquivos por data na pasta application/log
    tente ver oque ocorre

  • #8 / Apr 17, 2012 7:56am

    cebalzer

    40 posts

    Entao rodei o debug, mas nao vi nada estranho, se puder dar uma olhada pra confirmar estou anexando o arquivo.
    Desculpe, nao foi possivel anexar o arquivo.
    Sera que colo aki o debug?

  • #9 / Apr 17, 2012 8:03am

    cebalzer

    40 posts

    DEBUG - 2012-04-17 08:46:23—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:23—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:23—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:23—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:23—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:23—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:23—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:23—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:23—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:23—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:23—> File loaded: application/views/header.php
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 33
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 33
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 40
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 40
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 46
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 46
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 51
    ERROR - 2012-04-17 08:46:23—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 51
    DEBUG - 2012-04-17 08:46:23—> File loaded: application/views/foto/foto_form.php
    DEBUG - 2012-04-17 08:46:23—> File loaded: application/views/footer.php

  • #10 / Apr 17, 2012 8:03am

    cebalzer

    40 posts

    DEBUG - 2012-04-17 08:46:23—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:23—> Total execution time: 0.2120
    DEBUG - 2012-04-17 08:46:24—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:24—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:24—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:24—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:24—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:24—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:24—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:24—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:24—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:24—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:24—> File loaded: application/views/header.php
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 33
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 33
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 40
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 40
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 46
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 46
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Undefined variable: listaF /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 51
    ERROR - 2012-04-17 08:46:24—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/foto/foto_form.php 51
    DEBUG - 2012-04-17 08:46:24—> File loaded: application/views/foto/foto_form.php
    DEBUG - 2012-04-17 08:46:24—> File loaded: application/views/footer.php

  • #11 / Apr 17, 2012 8:03am

    cebalzer

    40 posts

    DEBUG - 2012-04-17 08:46:24—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:24—> Total execution time: 0.1664
    DEBUG - 2012-04-17 08:46:29—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:29—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:29—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:29—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:29—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:29—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:29—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:30—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:30—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:30—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/header.php
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/admin/admin_view.php
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/footer.php
    DEBUG - 2012-04-17 08:46:30—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:30—> Total execution time: 0.1738
    DEBUG - 2012-04-17 08:46:30—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:30—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:30—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:30—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:30—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:30—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:30—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:30—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:30—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:30—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/header.php
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/admin/admin_view.php
    DEBUG - 2012-04-17 08:46:30—> File loaded: application/views/footer.php
    DEBUG - 2012-04-17 08:46:30—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:30—> Total execution time: 0.1575
    DEBUG - 2012-04-17 08:46:31—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:31—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:31—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:31—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:31—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:31—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:31—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:31—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:31—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:31—> Model Class Initialized

  • #12 / Apr 17, 2012 8:04am

    cebalzer

    40 posts

    DEBUG - 2012-04-17 08:46:47—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:47—> Total execution time: 0.1943
    DEBUG - 2012-04-17 08:46:47—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:47—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:47—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:47—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:47—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Router Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Output Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Security Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Input Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Global POST and COOKIE data sanitized
    DEBUG - 2012-04-17 08:46:47—> Language Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Loader Class Initialized
    DEBUG - 2012-04-17 08:46:47—> Helper loaded: url_helper
    DEBUG - 2012-04-17 08:46:47—> Helper loaded: file_helper
    DEBUG - 2012-04-17 08:46:47—> Database Driver Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Session Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Helper loaded: string_helper
    DEBUG - 2012-04-17 08:46:48—> Session routines successfully run
    DEBUG - 2012-04-17 08:46:48—> Helper loaded: form_helper
    DEBUG - 2012-04-17 08:46:48—> Form Validation Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Email Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Upload Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Controller Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Model Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Model Class Initialized
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: js /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/header.php 33
    DEBUG - 2012-04-17 08:46:48—> File loaded: application/views/header.php
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 34
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 34
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 42
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 42
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 46
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 46
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 51
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 51
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 58
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 58
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 63
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 63
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Undefined variable: listaP /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 88
    ERROR - 2012-04-17 08:46:48—> Severity: Notice —> Trying to get property of non-object /home/storage/c/1c/4a/MEULOGINFTP/public_html/application/views/produto/produto_form.php 88
    DEBUG - 2012-04-17 08:46:48—> File loaded: application/views/produto/produto_form.php
    DEBUG - 2012-04-17 08:46:48—> File loaded: application/views/footer.php
    DEBUG - 2012-04-17 08:46:48—> Final output sent to browser
    DEBUG - 2012-04-17 08:46:48—> Total execution time: 0.2017
    DEBUG - 2012-04-17 08:46:48—> Config Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Hooks Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Utf8 Class Initialized
    DEBUG - 2012-04-17 08:46:48—> UTF-8 Support Enabled
    DEBUG - 2012-04-17 08:46:48—> URI Class Initialized
    DEBUG - 2012-04-17 08:46:48—> Router Class Initialized

  • #13 / Apr 17, 2012 8:05am

    cebalzer

    40 posts

    Desculpe mas nao foi possivel anexar o arquivo de 4kb.

  • #14 / Apr 17, 2012 8:11am

    mestresan

    19 posts

    tem q ver pq está dando esses erros no seu form.

    Mas, o seu if do upload, nao retorna nenhum erro ?

  • #15 / Apr 17, 2012 8:15am

    mestresan

    19 posts

    outra coisa….que vi agora… eu costumo utilizar informando o nome do campo, e no seu está sem nada:

    $this->upload->do_upload(‘fileNomeCampo’)

    alem disso, o form está com o multipart, correto?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases