JaciD Posted November 14, 2009 Posted November 14, 2009 OK, it's my night for getting in trouble with error messages. This is the error message I got while trying to do my privacy notice: Fatal error: Call to a member function add_current_page() on a non-object in includes/application_top.php on line 312 This is what is on line 312: // 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(); This is what I was doing in notebook++, I saved it and uploaded it, then I received an error message so I uploaded my backup, that error message went away and I received the above error message:(See below for privacy notice) Please help figure this one out.....Thank you for your consideration. It's been a tough Friday the 13th. <?php /* $Id: privacy.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', 'This privacy policy sets out how Five Eco R\'s LLC uses and protects any information that you give us when you use this website.<br> <br> Five Eco R\'s LLC is committed to ensuring that your privacy is protected. Should we ask you to provide certain information by which you can be identified when using this website, then you can be assured that it will only be used in accordance with this privacy statement.<br> <br> Five Eco R\'s LLC may change this policy from time to time by updating this page. You should check this page from time to time to ensure that you are happy with any changes. This policy is effective from November 13, 2009.<br> <br> <b>What We Collect:</b><br> <br> We may collect the following information:<br> 1. Name and job title<br> 2. Contact information including email address<br> 3. Demographic information such as postcode, preferences and interests<br> 4. Other information relevant to customer surveys and/or offers<br> <br> <b>What We Do with the Information We Gather:</b><br> <br> We require this information to understand your needs and provide you with a better service, and in particular for the following reasons:<br> 1. Internal Record Keeping<br> 2. We may use the information to improve our products and services.<br> 3. We may periodically send promotional emails about new products, special offers or other information which we think you may find interesting using the email address which you have provided.<br> 4. From time to time, we may also use your information to contact you for market research purposes. We may contact you by email, phone, fax or mail. We may use the information to customise the website according to your interests.<br> <br> <b>Security:</b><br> <br> We are committed to ensuring that your information is secure. In order to prevent unauthorised access or disclosure we have put in place suitable physical, electronic and managerial procedures to safeguard and secure the information we collect online.<br> <br> <b>How We Use Cookies</b><br> <br> A cookie is a small file which asks permission to be placed on your computer's hard drive. Once you agree, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as an individual. The web application can tailor its operations to your needs, likes and dislikes by gathering and remembering information about your preferences.<br> <br> We use traffic log cookies to identify which pages are being used. This helps us analyse data about webpage traffic and improve our website in order to tailor it to customer needs. We only use this information for statistical analysis purposes and then the data is removed from the system.<br> <br> Overall, cookies help us provide you with a better website, by enabling us to monitor which pages you find useful and which you do not. A cookie in no way gives us access to your computer or any information about you, other than the data you choose to share with us.<br> <br> You can choose to accept or decline cookies. Most web browsers automatically accept cookies, but you can usually modify your browser setting to decline cookies if you prefer. This may prevent you from taking full advantage of the website.<br> <br> <b>Links to Other Websites:</b><br> <br> Our website may contain links to other websites of interest. However, once you have used these links to leave our site, you should note that we do not have any control over that other website. Therefore, we cannot be responsible for the protection and privacy of any information which you provide whilst visiting such sites and such sites are not governed by this privacy statement. You should exercise caution and look at the privacy statement applicable to the website in question.<br> <br> <b>Controlling Your Personal Information:</b><br> <br> We will not sell, distribute or lease your personal information to third parties unless we have your permission or are required by law to do so. We may use your personal information to send you promotional information about third parties which we think you may find interesting if you tell us that you wish this to happen.<br> <br> You may request details of personal information which we hold about you under the Data Protection Act 1998. A small fee will be payable. If you would like a copy of the information held on you please email us at [email protected] <br> <br> If you believe that any information we are holding on you is incorrect or incomplete, please email us as soon as possible, at the above address. We will promptly correct any information found to be incorrect.'); ?>
JaciD Posted November 14, 2009 Author Posted November 14, 2009 Ok, I took a gamble and // the line out.....now it's gone. Thanks all!
Xpajun Posted November 14, 2009 Posted November 14, 2009 Might be better if you changed this: <b>How We Use Cookies</b><br> <br> A cookie is a small file which asks permission to be placed on your computer's hard drive. Once you agree, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as an individual. The web application can tailor its operations to your needs, likes and dislikes by gathering and remembering information about your preferences.<br> <br> to this; <b>How We Use Cookies</b><br> <br> A cookie is a small file which asks permission to be placed on your computer\'s hard drive. Once you agree, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as an individual. The web application can tailor its operations to your needs, likes and dislikes by gathering and remembering information about your preferences.<br> <br> My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary
JaciD Posted November 14, 2009 Author Posted November 14, 2009 Thank you for finding that for me. Your consideration is highly appreciated.
germ Posted November 14, 2009 Posted November 14, 2009 If you ever have the error again follow the links in my posts here: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.