Thread: Urgent!!

Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2010
    Posts
    30
    Plugin Contributions
    0

    help question Urgent!!

    ....OK, I went to the information.php to try to remove the unsubscribe from newsletter option and after I removed it, now my pages are giving me errors, so can someone give me the code to stick back in or tell me where to get another copy of the page. I had to do this in my file manager through my host since for some reason it won't let me ftp download the page (not the first problem I have had with this and obviously now I know why)


    Also have a mini "Tag line" peeking out from behind the top of my left side boxes, cannot figure out how to make it go away

    store is located at:

    qualitytransmissionparts.com/catalog (although right now you just get a 500 error page)

    I am running behind on this project since my father passed and had to take several days off, so under the gun here to get finished and operational......Thanks ahead of time for the help!!

  2. #2
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Urgent!!

    I have a brand new install I haven't gotten to yet, so it's unmodified. What is the path of the information.php file?

  3. #3
    Join Date
    Aug 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: Urgent!!

    /includes/modules/sideboxes/information.php

    Thanks!!

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Urgent!!

    Wait! Are you both using the same version? The simplest way to get a copy of the file is to download the same version to your local drive, unzip it and upload the file to your site.

  5. #5
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Urgent!!

    This is version 1.3.9e:

    <?php

    /**

    * information sidebox - displays list of general info links, as defined in this file

    *

    * @package templateSystem

    * @copyright Copyright 2003-2006 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: information.php 4132 2006-08-14 00:36:39Z drbyte $

    */



    unset($information);



    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';

    }

    if (DEFINE_PRIVACY_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';

    }

    if (DEFINE_CONDITIONS_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';

    }

    if (DEFINE_CONTACT_US_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';

    }



    // Forum (phpBB) link:

    if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) {

    $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';

    // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX

    // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB)

    }



    if (DEFINE_SITE_MAP_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>';

    }



    // only show GV FAQ when installed

    if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';

    }

    // only show Discount Coupon FAQ when installed

    if (DEFINE_DISCOUNT_COUPON_STATUS <= 1 && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a>';

    }



    if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {

    $information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';

    }



    require($template->get_template_dir('tpl_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_information.php');



    $title = BOX_HEADING_INFORMATION;

    $title_link = false;



    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

    ?>

  6. #6
    Join Date
    Aug 2010
    Posts
    30
    Plugin Contributions
    0

    red flag Getting a 500 Error - Need Help please !!

    I had this sucker up and was customizing it, everything going just fine until I tried to change the information php...suddenly I was getting a 500 error on the whole store...downloaded another copy and uploaded it but still have same issue. I have absolutely no clue what to do to fix this, can someone help me please?!

    URL for store is
    qualitytransmissionparts.com/catalog/

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Urgent!!

    Check the error log in your webmaster panel. This is outside of Zen Cart. It may give you a clue as to what error is being encountered.

    This is the error message I get in Firefox:

    The server encountered an unexpected condition which prevented it from fulfilling the request.
    The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Urgent!!

    Not knowing the setup that your host has,
    IF they are running php as cgi and you set any php file to permissions above 644 it will cause this error
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Urgent!!

    Live or Local Shop?

    Hopefully Local - Never fool around with your live shop until you've tested it on another machine first where errors won't be seen by the public.

    If it's your live shop and you're getting errors - I would put the shop into maintenance mode to protect your reputation it you can.

    If you can't from Zen Cart Admin - then maybe you can password protect it so publice can't go there - this can usually be done from your cpanel on your host if it's a live shop.

 

 

Similar Threads

  1. Urgent
    By shadowcast in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Aug 2010, 01:42 PM
  2. Urgent!
    By RuthNolan08 in forum General Questions
    Replies: 1
    Last Post: 8 Feb 2008, 04:36 PM
  3. Urgent!
    By cs_jono in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2007, 01:21 AM
  4. Urgent Urgent help needed please
    By con-fused in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2007, 09:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg