Forums / General Questions / header display problem

header display problem

Locked

Started by ethanolic on 28 Jul 2006, 1:56 AM · Views: 4,510

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Jul 2006, 1:56 AM
#1
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

header display problem

hi all

i am having problem with m client site
currently the header is displaying this error message

Warning: Variable passed to each() is not an array or object in /home/twg/public_html/includes/classes/db/mysql/query_factory.php on line 100

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/twg/public_html/includes/classes/db/mysql/query_factory.php:100) in /home/twg/public_html/includes/functions/sessions.php on line 111

how do you resolved this? i have search the forum archive for a solution but found none. FYI Magic qoutes runtime is off.

28 Jul 2006, 2:22 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,706
Plugin Contributions:
0

Re: header display problem

Is this a new installation? What version? More details?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Jul 2006, 3:46 AM
#3
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

Its been running for about 2-3 months , version 1.2.9

Now i have even more error msg

Warning: Division by zero in /home/twg/public_html/includes/modules/new_products.php on line 75

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCT' at line 6

Could it be SQL database corrupted?

28 Jul 2006, 3:54 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: header display problem

What are your current settings for:

MAX_DISPLAY_UPCOMING_PRODUCT

EXPECTED_PRODUCTS_SORT

You can find these via the Tools ... Developer's Tool Kit ... using the Top input box ... do not pick from the dropdown ... and click Search ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Jul 2006, 4:16 AM
#5
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

i got this result from the search for both
No matching Configuration Keys were found ...

28 Jul 2006, 4:18 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: header display problem

Look in the Tools ... Server Info ...

Paste everything from below the menubar up to and including the php version ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Jul 2006, 4:24 AM
#7
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

Server Information
Server Host: ultra.ultradnszone.com (72.18.133.147) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.4.21-37.ELsmp Database: MySQL 4.1.19-standard
Server Date: 07/27/2006 22:23:34 Database Date: 07/27/2006 22:23:34

Server Up Time: 22:23:34 up 18 days, 21:08, 0 users, load average: 0.19, 0.27, 0.26
PHP Version: 4.4.2 (Zend: 1.3.0)
HTTP Server: Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a PHP-CGI/0.1b

Zen Cart
Zen Cart 1.2.7
Database Patch Level: 1.2.7
PHP Logo
PHP Version 4.4.2

System Linux ultra.ultradnszone.com 2.4.21-37.ELsmp #1 SMP Wed Sep 28 14:05:46 EDT 2005 i686
Build Date Jul 5 2006 17:58:45
Configure Command './configure' '--prefix=/usr' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zip' '--with-zlib'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies

PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 60 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value

bcmath
BCMath support enabled

calendar
Calendar support enabled

ctype
ctype functions enabled

curl
CURL support enabled
CURL Information libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.1.4

domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20622
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.1.16
libxslt compiled against libxml Version 2.6.22
DOM/EXSLT enabled
libexslt Version 1.1.16

exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.37.2.4 2006/01/01 13:46:52 sniper Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

ftp
FTP support enabled

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

gettext
GetText Support enabled

mbstring
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled

28 Jul 2006, 4:51 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: header display problem

Both exist in v1.2.7 ...

EXPECTED_PRODUCTS_SORT
Configuration ... My Store ...

Expected Sort Order
This is the sort order used in the expected products box.

asc
desc

MAX_DISPLAY_UPCOMING_PRODUCTS
Configuration ... Maximum Values ...

Upcoming Products
Number of 'upcoming' products to display

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Jul 2006, 5:17 AM
#9
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

Ajeh:

Both exist in v1.2.7 ...

EXPECTED_PRODUCTS_SORT
Configuration ... My Store ...

MAX_DISPLAY_UPCOMING_PRODUCTS
Configuration ... Maximum Values ...

Expected product sort is asc

MAx display upcoming products is 10

28 Jul 2006, 5:56 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: header display problem

On the Configuration ... Index Listing ...

New Products Columns per Row
New Products Columns per Row

1
2
3
4
5
6
7
8
9
10
11
12

What is that set to?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Jul 2006, 6:03 AM
#11
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

Ajeh:

On the Configuration ... Index Listing ...

What is that set to?

It is set to 3

28 Jul 2006, 6:12 AM
#12
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

If you go to https://www.trustytime.com . the error messages changes differently each time it reloads.. thats something strange about it.

28 Jul 2006, 12:44 PM
#13
ethanolic avatar

ethanolic

New Zenner

Join Date:
Mar 2006
Posts:
42
Plugin Contributions:
0

Re: header display problem

thanks guys , seems the problem lies on the server side. Somehow the disk capacity was full. Causing irratic behavior to the pages