If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

Locked

Started by weber on 3 Jun 2007, 3:46 AM · Views: 2,361

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
3 Jun 2007, 4:09 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

Is this a Template Monster Template?

Zen-Venom Get Bitten

3 Jun 2007, 4:16 AM
#4
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

// vertical TOC listing
// create a table of contents for chapter when more than 1 page in the TOC
line 32
if ($pages_listing->RecordCount() > 1 and EZPAGES_SHOW_TABLE_CONTENTS == '1') {?>

<div id="navEZPagesTOCWrapper"> <h2 id="ezPagesTOCHeading"><?php echo TEXT_EZ_PAGES_TABLE_CONTEXT; ?></h2> <div id="navEZPagesTOC"> <ul>
3 Jun 2007, 4:41 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

Looks like this might be a php 5.x issue - are you on php 5.?

Zen-Venom Get Bitten

3 Jun 2007, 2:34 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

Sounds like your /includes/modules/pages/page/header_php.php file is either corrupt, incomplete, or has been customized and no longer properly generates the $pages_listing object or the query for retrieving data from the database has been altered and no longer actually finds any ezpage data.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jun 2007, 2:51 PM
#9
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: um...when visite all my ez-pages, I got "Fatal error: Call to a member function on a"

GOD!!!!!!!!!!!!!! U R Genius.....