Zen Cart Logo

Urgent!!

Locked

Views: 1,236

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
20 Aug 2010, 2:05 PM
#1
lavenderrose avatar

lavenderrose

New Zenner

Join Date:
Aug 2010
Posts:
30
Plugin Contributions:
0

Urgent!!

:oops: ....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!!

20 Aug 2010, 3:20 PM
#2
euonym avatar

euonym

Zen Follower

Join Date:
Aug 2010
Posts:
116
Plugin Contributions:
0

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?

20 Aug 2010, 3:34 PM
#3
lavenderrose avatar

lavenderrose

New Zenner

Join Date:
Aug 2010
Posts:
30
Plugin Contributions:
0

Re: Urgent!!

/includes/modules/sideboxes/information.php

Thanks!!

20 Aug 2010, 3:36 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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.

20 Aug 2010, 3:38 PM
#5
euonym avatar

euonym

Zen Follower

Join Date:
Aug 2010
Posts:
116
Plugin Contributions:
0

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); ?>
20 Aug 2010, 5:27 PM
#6
lavenderrose avatar

lavenderrose

New Zenner

Join Date:
Aug 2010
Posts:
30
Plugin Contributions:
0

Re: Urgent!!

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/ :unsure:

20 Aug 2010, 7:55 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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.

20 Aug 2010, 9:51 PM
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

21 Aug 2010, 1:34 AM
#9
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

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.