nfephp-org / nfephp

PROJETO DEPRECATED use sped-nfe
https://github.com/nfephp-org/sped-nfe
Other
692 stars 688 forks source link

Instalação MAC #1

Closed brenoglima closed 11 years ago

brenoglima commented 12 years ago

Pessoal, entrei agora na comunidade Git e não acompanhei nada do projeto, fui efetuar a instalação pela primeira vez pois meu objetivo é integração com meus sistemas, fiz o Sync pelo app oficial do Github e acessei o install.php, ele deu um retorno de página em branco e alterou o config colocando \' antes de todos os valores das variaveis, no meu entendimento este pode ser um bug pois é um comportamento que nunca vi antes, meu ambiente é OS X Montain Lion (10.8) com MAMP (com php 5.3.3), isso já é conhecido por outros usuários?

rspadim commented 12 years ago

tem como reportar os erros que vc esta vendo?

rspadim commented 12 years ago

aproveitando, ue não sei se este é o melhor espaço mas tem um grupo no google q é +- onde a galera conversa sobre inovações duvidas e tudo mais https://groups.google.com/forum/?fromgroups=#!forum/nfephp

brenoglima commented 12 years ago

Ao solicitar install.php retorna uma pagina em branco, o conteúdo que peguei via Firebug da resposta foi "", provavelmente alguma coisa errada com codificação, após isso o arquivo config.php é alterado adicionando-se \' no valor de todas as variaveis, consequentemente na segunda chamada de install.php o retorno é um erro Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in /Users/brenolima/Sites/local.teste.info/nfe/config/config.php on line 57

rspadim commented 12 years ago

provavelmente vc esta usando um arquivo em UTF-8 e seu php não esta interpretando corretamente vc tem o php.ini do seu php ai?

Em 2 de outubro de 2012 00:32, Breno Lima notifications@github.comescreveu:

Ao solicitar install.php retorna uma pagina em branco, o conteúdo que peguei via Firebug da resposta foi "", provavelmente alguma coisa errada com codificação, após isso o arquivo config.php é alterado adicionando-se \' no valor de todas as variaveis, consequentemente na segunda chamada de install.php o retorno é um erro Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in /Users/brenolima/Sites/ local.teste.info/nfe/config/config.php on line 57

— Reply to this email directly or view it on GitHubhttps://github.com/nfephp-org/nfephp/issues/1#issuecomment-9057867.

Roberto Spadim Spadim Technology / SPAEmpresarial

brenoglima commented 12 years ago

[PHP]

;;;;;;;;;;; ; WARNING ; ;;;;;;;;;;; ; This is the default settings file for new PHP installations. ; By default, PHP installs itself with a configuration suitable for ; development purposes, and NOT for production purposes. ; For several security-oriented considerations that should be taken ; before going online with your site, please consult php.ini-recommended ; and http://php.net/manual/en/security.php.

;;;;;;;;;;;;;;;;;;; ; About this file ; ;;;;;;;;;;;;;;;;;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path designated by the environment variable ; PHPRC, and in the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows directory. The ; path in which the php.ini file is looked for can be overridden using ; the -c argument in command line mode. ; ; The syntax of the file is extremely simple. Whitespace and Lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored, even though ; they might mean something in the future. ; ; Directives are specified using the following syntax: ; directive = value ; Directive names are case sensitive - foo=bar is different from FOO=bar. ; ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo"). ; ; Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; & bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; ; Boolean flags can be turned on using the values 1, On, True or Yes. ; They can be turned off using the values 0, Off, False or No. ; ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; ; foo = ; sets foo to an empty string ; foo = none ; sets foo to an empty string ; foo = "none" ; sets foo to the string 'none' ; ; If you use constants in your value, and these constants belong to a ; dynamically loaded extension (either a PHP extension or a Zend extension), ; you may only use these constants after the line that loads the extension. ; ; All the values in the php.ini-dist file correspond to the builtin ; defaults (that is, if no php.ini is used, or if you delete these lines, ; the builtin defaults will be identical).

;;;;;;;;;;;;;;;;;;;; ; Language Options ; ;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache. engine = On

; Allow the <? tag. Otherwise, only <?php and Githubissues.

  • Githubissues is a development platform for aggregating issues.