Fórum OpenCart Brasil

Por um e-commerce livre, confiável e profissional

Suporte geral sobre problemas técnicos para OpenCart v2.x.
#79755
Você está usando vqmod?
Dá uma olhada nesta solução:
No arquivo /vqmod/vqmod.php
Substitua:
Código: Selecionar todos
private function _checkMatch($modFilePath, $checkFilePath) {
 $modFilePath = str_replace('\\', '/', $modFilePath);
 $checkFilePath = str_replace('\\', '/', $checkFilePath);

 $modFilePath = preg_replace('/([^*]+)/e', 'preg_quote("$1", "~")', $modFilePath);
 $modFilePath = str_replace('*', '[^/]*', $modFilePath);
 $return = (bool) preg_match('~^' . $modFilePath . '$~', $checkFilePath);
 return $return;

 }
Por
Código: Selecionar todos
private function _checkMatch($modFilePath, $checkFilePath) {
               $modFilePath = str_replace('\\', '/', $modFilePath);
               $checkFilePath = str_replace('\\', '/', $checkFilePath);
               $modFilePath = preg_replace_callback('/([^*]+)/', create_function('$matches','return preg_quote("$matches[0]", "~");'), $modFilePath);
               $modFilePath = str_replace('*', '[^/]*', $modFilePath);
               $return = (bool) preg_match('~^' . $modFilePath . '$~', $checkFilePath);
               return $return;
       }
Fonte: https://working-out.info/opencart-vqmod ... eg_replace
#79794
Legal Denilson, por favor renomeie o título desse post marcando que foi resolvido!

Looking for a partner for an unforgettable night? […]

Olá! Tudo bem? Verifique as configura&cced[…]

Olá! Tudo bem? Trabalho com Opencart h&aac[…]

Imagem do Carrinho de Compras

Olá! Tudo bem? São vários lo[…]