error_log

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
12 years 4 months ago #56239

thousands of lines in error_log

[30-Jun-2012 11:36:42] PHP Warning: include(./components/com_hikashop/controllers/index.php.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in ./components/com_hikashop/hikashop.php on line 42

[03-Jul-2012 09:10:48] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './components/com_hikashop/controllers/messages.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in ./components/com_hikashop/hikashop.php on line 42

line 42 =>

if(!class_exists($className) && !include(HIKASHOP_CONTROLLER.$taskGroup.'.php')){
	return JError::raiseError( 404, 'Page not found : '.$taskGroup );
}

Last edit: 12 years 4 months ago by erickb.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
12 years 4 months ago #56310

mettez un @ alors si vous ne voulez pas voir les warnings dans le log:

if(!class_exists($className) && !@include(HIKASHOP_CONTROLLER.$taskGroup.'.php')){
return JError::raiseError( 404, 'Page not found : '.$taskGroup );
}

C'est parce que des pages non existantes sont appelés.

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum