Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pchem

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by pchem

  1. Since this could also matter...My site is hosted on a Linux OS running PHP 5. Any ideas to help me fix it???
  2. I just installed Ultimate SEO URLs v2.1d UPDATED-23-NOV-2008 to my site (which also has two other fantastic contributions: Header Tags SEO v3.1.0 and Site Search Plus v1.1). The redirect, 404 error, etc all work fine in IE, Google Chrome, and Mozilla Firefox when I am ALREADY on my site, but when clicking on an indexed page at Google (like this one) AND using Firefox it returns the following: Fatal error: Call to a member function add_current_page() on a non-object in /home/content/p/r/o/MYSITE/html/includes/application_top.php on line 325 After that error shows, then no matter what page I enter for my site, it still shows the same error code until I clear the cookies and cache and re-start Firefox. (Please note that this only shows up using links that have now changed as a result of adding the Ultimate SEO URL). This is a huge problem since someone directly surfing in using an indexed link generates the error code. Starting on line 314 and ending on line 335 the catalog/includes/application_top.php code is: // 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'])) { // redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); } if (DISPLAY_CART == 'true') { $goto = FILENAME_SHOPPING_CART; Is my code messed up? Is this a bug? Has anyone else found this problem and solved the issue? I am very thankful to everyone that helps me!
  3. Hi Jack, Thanks for the advice. Limiting the search length still allows files to be displayed to the customer. In your expert opinion, what is the best way to just comment out the file search results so that my site's files are NOT listed to the customer? Thanks again for all your help!
  4. Jack- Thank you for sharing yet another wonderful contribution (I also appreciate your work on HeaderTags_SEO_V_3.1.0)! V1.2 is searching great on my v2.2 RC2 site.. Maybe too well because I noticed something strange that occurs (perhaps because I do not have the page editor contribution). When testing Site Search Plus, I searched for short terms like the letter 'a', the number '1', or even terms like 'payment' or 'navbar'. Then my site's files are listed to the customer. How can I prevent that from happening? I'm a novice and tried ways to just comment out the results, but I was not successful. Is this a good idea, or will I be better suited adding the page editor contribution? If so, which exact contribution is it (I have yet to find what I believe to be the correct file in the contributions)? Also, the email can be sent without a valid customer email address or even completely empty. Is there a way to make it mandatory for a valid email to be typed in the customer email field? If so, could you describe it? Thanks again for all your great work and help.
  5. I am using 2.2rc2a that is only lightly modified. I have the Ultimate_SEO_URLSv21d_UPDATED-23-NOV-2008 contribution added. I just I added the HeaderTags_SEO_V_3.1.0 contribution. Under mysite.com/admin I am experiencing the following Fatal error: Call to undefined function tep_href_link() in /home/content/p/r/o/mysite/html/admin/includes/boxes/header_tags_seo.php on line 21 Line 21 from header_tags_seo.php is in bold below. <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_HEADER_TAGS_SEO, [b] 'link' => tep_href_link(FILENAME_HEADER_TAGS_SEO, 'selected_box=headertags'));[/b] if ($selected_box == 'headertags') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_HEADER_TAGS_SEO, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_HEADER_TAGS_ADD_A_PAGE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_HEADER_TAGS_FILL_TAGS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_HEADER_TAGS_FILL_TAGS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_HEADER_TAGS_TEST, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_HEADER_TAGS_TEST . '</a>'); I have not seen errors in my code, and I even tried to change the permissions for header_tags_seo.php to 755 and 777 and that did not help. While probably not connected, the bread crumb shows up as "Home » Products » » » " and I think it can be corrected once I am able to get into the admin. Any suggestions?
×
×
  • Create New...