snubbr.com

What is Verisign SSL in an xp operating system?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
Got a question, hope someone can answer... What is Verisign SSL in an xp operating system? Hoping for any answer. Second question.. I have been browsing around a few days to find a sollution to a given error:.

Fatal error: Call to a member function add_current_page() on a non-object in /home/httpd/members/sporterra/shop/includes/application_top.php on line 312.

So far I had however no luck in finding out what might have gone wrong..

I did not modified this file..

The block of code the error referrs to:.

// navigation history.

If (tep_session_is_registered('navigation')) {.

If (PHP_VERSION < 4) {.

$broken_navigation = $navigation;.

$navigation = new navigationHistory;.

$navigation->unserialize($broken_navigation);.

}.

} else {.

Tep_session_register('navigation');.

$navigation = new navigationHistory;.

}.

$navigation->add_current_page();.

// Shopping cart actions.

If (isset($HTTP_GET_VARS['action'])) {.

Anyone maybe out there who had the same trouble or who can help me out on this one?.

It would be MUCH appriciated!..

Comments (5)

That's a good question. I'm not sure what is the answer to your question. I'll do some Googling and get back to you if I bump into an decent answer. You should email the people at Verisign as they probably can help you..

Comment #1

Parse error: syntax error, unexpected $end in /home/httpd/members/sporterra/shop/includes/application_top.php on line 512.

This is the result of the code you suggested but I got a good feeling that I am moving into the good direction with this!.

I take that it must be some kind of { } or something now cause 512 is really the end of the file...

Comment #2

Maybe just change the first line:.

If (isset($_SESSION['navigation'])) {.

The part I commented out is just a waste of time to make the code go through, but in itself harmless...

Comment #3

Okey .. my block of code looks like this now:.

// navigation history.

If (isset($_SESSION['navigation'])) {.

If (PHP_VERSION < 4) {.

$broken_navigation = $navigation;.

$navigation = new navigationHistory;.

$navigation->unserialize($broken_navigation);.

}.

} else {.

Tep_session_register('navigation');.

$navigation = new navigationHistory;.

}.

$navigation->add_current_page();.

But that gives me the same error:.

Fatal error: Call to a member function add_current_page() on a non-object in /home/httpd/members/sporterra/shop/includes/application_top.php on line 312.

So far thank you for the help JanZ!..

Comment #4

That object is instantiated with the $navigation = new navigationHistory; line. The class needed for that is loaded around line 131 in includes/application_top.php:.

// include navigation history class.

Require(DIR_WS_CLASSES'navigation_history.php');.

When that file would be missing you would have gotten an error message about that before the error message you get now..

It would mean that this class is missing that function, meaning the default osC file is not there but something that is now not function anymore. Otherwise I would have no explanation for that...

Comment #5

Hello,.

Thank You very much Jan.

I had this problem and with your help I am on-line..

I have used this code as final... in /includes/application_top.php about line 312.

// navigation history.

If (isset($_SESSION['navigation'])) {.

If (PHP_VERSION < 4) {.

$broken_navigation = $navigation;.

$navigation = new navigationHistory;.

$navigation->unserialize($broken_navigation);.

}.

} else {.

Tep_session_register('navigation');.

$navigation = new navigationHistory;.

}.

$navigation->add_current_page();.

This post has been edited by.

Pmesteves.

: 04 February 2009, 22:58..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.