Fórum OpenCart Brasil

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

Suporte geral sobre problemas técnicos para OpenCart v1.x.
#28826
Fala pessoal!
Seguinte estou com o seguinte erro na página do produto. Não aparece nenhuma imagem, só o seguinte erro:

Warning: include() [function.include]: Failed opening 'image_fancy.php' for inclusion (include_path='.:/usr/share/pear') in /home/storage/d/f5/93/asiandroid/public_html/vqmod/vqcache/vq2-catalog_view_theme_RetailUniverse_template_product_product.tpl on line 21

Já enviei os arquivos originais do product.tpl e image_fancy.php mas continua dando este erro.

Alguma sugestão do que fazer, o que pode ser?

Abraço!
#28921
Tô com um erro bem parecido:

Warning: include(/home/metaospano/public_html/vqmod/vqcache/../../nico_theme_editor/settings.inc) [function.include]: failed to open stream: No such file or directory in /home/metaospano/public_html/vqmod/vqcache/vq2-catalog_view_theme_nicole-fashion_template_module_latest.tpl on line 7Warning: include() [function.include]: Failed opening '/home/metaospano/public_html/vqmod/vqcache/../../nico_theme_editor/settings.inc' for inclusion (include_path='.:/usr/lib/php') in /home/metaospano/public_html/vqmod/vqcache/vq2-catalog_view_theme_nicole-fashion_template_module_latest.tpl on line 7 class="first">

Segue baixo as linha 7 a 11 do arquivo latest.tpl

LINHA 07 => include(dirname(__FILE__) . '/../../nico_theme_editor/settings.inc');
LINHA 08 => $_counter++;
LINHA 09 => $_mod = $_counter % 4;
LINHA 10 => if ($_mod == 0) echo ' class="last"';
LINHA 11 => if ($_mod == 1) echo ' class="first"';

Obs: Quando faço as alterações manualmente dá tudo certo, mas quando deixo o XML trabalhar dentro do vQmod sem fazer as alterações manuais começam à aparecer os erros acima!

Quem puder ajudar aí, agradecemos!!!
#28937
¡Só para deixar mais claro para quem quiser ajudar!

No log de erros do vQmod aparece o erro abaixo:

SEARCH NOT FOUND (ABORTING MOD): <div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>

No log de erros do Opencart aparecem esses erros abaixo:

PHP Warning: include(/home/metaospano/public_html/vqmod/vqcache/../../nico_theme_editor/settings.inc) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/metaospano/public_html/vqmod/vqcache/vq2-catalog_view_theme_nicole-fashion_template_module_latest.tpl on line 7

PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/metaospano/public_html/vqmod/vqcache/../../nico_theme_editor/settings.inc' for inclusion (include_path='.:/usr/lib/php') in /home/metaospano/public_html/vqmod/vqcache/vq2-catalog_view_theme_nicole-fashion_template_module_latest.tpl on line 7

Obrigado mais uma vez...
#28956
@gnewton?

O meu deu certo cara!

Troquei o:

include(dirname(__FILE__) . '/../../nico_theme_editor/settings.inc');

Por:

$rootDir = dirname(__FILE__); set_include_path( $rootDir . '/library' );

que ficava na linha 7 do arquivo /home/metaospano/public_html/catalog/view/theme/nicole-fashion/template/module/latest.tpl

Espero que isso também ajude vc!!!