Jump to content


Corporate Sponsors


Latest News: (loading..)

Warning lines


5 replies to this topic

#1 jbsarma

  • Community Member
  • 7 posts
  • Real Name:Jayanta Sarma

Posted 09 September 2006, 18:45

Hi
I would like to configure a full demo shop with the new release. I would like to know how do I get rid of the following warning lines at the bottom of the catalog homepage.

This is a development version of osCommerce (osCommerce 3.0a3) - please use it for testing purposes only! [osC_Services_debug]
Error: Locale does not exist: en_US.UTF-8,en_US,english [osC_Services_debug]
Number of queries: 26 [0s]
Execution Time: 0.814s [osC_Services_debug]

#2 AlanR

  • Community Member
  • 3,711 posts
  • Real Name:Alan Rogers

Posted 09 September 2006, 18:50

admin -> Configuration - > Services -> Debug
Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux
Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

#3 jbsarma

  • Community Member
  • 7 posts
  • Real Name:Jayanta Sarma

Posted 09 September 2006, 20:33

View PostAlanR, on Sep 9 2006, 07:50 PM, said:

admin -> Configuration - > Services -> Debug
Thanks. How to remove the following line which I could not remove through debug?

* Number of queries: 16 [0s]

#4 AlanR

  • Community Member
  • 3,711 posts
  • Real Name:Alan Rogers

Posted 09 September 2006, 21:26

oscommerce/includes/application_bottom.php

Comment out line 13

ie:

Change
$messageStack->add('debug', 'Number of queries: ' . $osC_Database->numberOfQueries() . ' [' . $osC_Database->timeOfQueries() . 's]', 'warning');
to:

// $messageStack->add('debug', 'Number of queries: ' . $osC_Database->numberOfQueries() . ' [' . $osC_Database->timeOfQueries() . 's]', 'warning');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux
Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

#5 jbsarma

  • Community Member
  • 7 posts
  • Real Name:Jayanta Sarma

Posted 11 September 2006, 13:53

Many thanks.

#6 andremen

  • Community Member
  • 23 posts
  • Real Name:Andre Meneguini
  • Gender:Male
  • Location:NY

Posted 08 February 2010, 01:24

admin -> Configuration - > Services -> Debug
or other location for it

admin -> Modules - > Services -> Debug