Questions tagged as 'php-7'

0
answers

redirect to index.php in .htaccess except for one page maintenance.php

I have .htaccess below and it seems to be working fine: <ifModule mod_rewrite.c> # LIGA O MOTOR DE REESCRITA (Rewrite) RewriteEngine on # BUSCA PELA BASE /teste/ NO HOST ACESSADO RewriteBase /teste/ # FAZ UMA ESCESSÃO DE...
asked by 23.06.2018 / 14:55
0
answers

redirect to index.php in .htaccess except for one page maintenance.php

I have .htaccess below and it seems to be working fine: <ifModule mod_rewrite.c> # LIGA O MOTOR DE REESCRITA (Rewrite) RewriteEngine on # BUSCA PELA BASE /teste/ NO HOST ACESSADO RewriteBase /teste/ # FAZ UMA ESCESSÃO DE...
asked by 23.06.2018 / 14:55
2
answers

error in finally with try cath

I am trying to create a% statica % for classe to mysql with conexão but is giving error on the PDO line <?php namespace CONEXAO; use PDO; class Conexao { public static $conexao; private $host...
asked by 18.06.2018 / 16:11
2
answers

Interception and redirection

My structure localhost/sistema localhost/sistema/.htaccess localhost/sistema/site/index.php Goal : When accessing any url within domínio , interceptação and redirecionamento occur to the index.php page tha...
asked by 12.06.2018 / 18:39
0
answers

Namespace: Connection Works but Query NOT

So when I get to Classe Plans below <?php   namespace CONTROLES;    class Planos {            private $conexao;            public function __construct ($_conexao) {                  $this->conexao = $_conexao;      }           ...
asked by 13.06.2018 / 14:36
0
answers

redirect to index.php in .htaccess except for one page maintenance.php

I have .htaccess below and it seems to be working fine: <ifModule mod_rewrite.c> # LIGA O MOTOR DE REESCRITA (Rewrite) RewriteEngine on # BUSCA PELA BASE /teste/ NO HOST ACESSADO RewriteBase /teste/ # FAZ UMA ESCESSÃO DE...
asked by 23.06.2018 / 14:55
1
answer

namespace php7 do not find url? [duplicate]

I'm trying to learn namespace but I'm having difficulty. Even doing exactly as it is in a video on youtube, but it does not work. I have the project folder Projeto Projeto\Cadastros Projeto\Cadastros\Index.php Projeto\Cadastros\...
asked by 09.06.2018 / 15:18
1
answer

MSSQL Query on Ubuntu 18.04 LTS stopped working

I have a program that has been running on Ubuntu-server 17 for some time. This system performs queries on a database server with MSSQL 2008. I did the installation of Ubuntu 18.04 LTS, and did not change any of the code. However, the query is no...
asked by 24.05.2018 / 17:31
0
answers

error: 14090086: SSL routines: ssl3_get_server_certificate: certificate verify failed

I'm having problems trying to send email using the CodeIgniter Library, trying to trigger the email I get the following error:    Severity: Warning       Message: stream_socket_enable_crypto (): SSL operation failed with code   1. OpenSSL Er...
asked by 16.05.2018 / 15:55
1
answer

PDOException in TNTSearch.php line 88: could not find driver

After running docker-compose down docker-compose up -d --build --force-recreate I had the following error: NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/pdo_sqlite.so' - Erro...
asked by 19.04.2018 / 16:36