samhaiti Posted October 31, 2007 Posted October 31, 2007 When customers are log in into my website. They do not have the option to log off even when it is installed in my define language logoff.php what should I do? Here is the code I have in the define language please let me know what is missing or should I try to modify it in the file manager folder? From the define language: <?php /* $Id $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Log Off'); define('NAVBAR_TITLE', 'Log Off'); define('TEXT_MAIN', 'You have been logged off your account. It is now safe to leave the computer.<br><br>Your shopping cart has been saved, the items inside it will be restored whenever you log back into your account.'); ?> Thank you in advance for showing me what to do.
germ Posted October 31, 2007 Posted October 31, 2007 If it doesn't show, you'll have to edit some code somewhere. A link to a logon/logoff code snippet: 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 >
samhaiti Posted October 31, 2007 Author Posted October 31, 2007 To tell you the truth I have no idea about coding. From looking at it do you see anything missing on this coding? Please let me know sice I have no clue how to install stuff I can only read instructionstep by step and once again thanks. When customers are log in into my website. They do not have the option to log off even when it is installed in my define language logoff.php what should I do?Here is the code I have in the define language please let me know what is missing or should I try to modify it in the file manager folder? From the define language: <?php /* $Id $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Log Off'); define('NAVBAR_TITLE', 'Log Off'); define('TEXT_MAIN', 'You have been logged off your account. It is now safe to leave the computer.<br><br>Your shopping cart has been saved, the items inside it will be restored whenever you log back into your account.'); ?> Thank you in advance for showing me what to do.
germ Posted October 31, 2007 Posted October 31, 2007 It isn't missing from there. Probably should be in the same file your "Login" link is generated in. 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 >
germ Posted October 31, 2007 Posted October 31, 2007 This may be it: http://www.treasuresofhaiti.com If so, do you want to try to put the Login/Logout link across the top with the "Home | New Products | Account | Cart | Billing" menu (don't know if it will fit)? Or, in the box in the left column with: Shipping & Returns Privacy Notice Conditions of Use About the Artists About Us Contact Us :unsure: 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 >
samhaiti Posted October 31, 2007 Author Posted October 31, 2007 A url may help. This is the website www.treasuresofhaiti.com How do I do that?
germ Posted October 31, 2007 Posted October 31, 2007 We can't do it across the top. You have a template with images for buttons. Is in the left column where you'd like to put it? :unsure: 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 >
samhaiti Posted November 1, 2007 Author Posted November 1, 2007 I would like to have it in the right column! We can't do it across the top. You have a template with images for buttons. Is in the left column where you'd like to put it? :unsure:
germ Posted November 1, 2007 Posted November 1, 2007 Can you please post the contents of your information.php file? :unsure: It might be call something like information_box.php. Looking at your HTML source, it appears you may have some custom modifications. 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 >
germ Posted November 3, 2007 Posted November 3, 2007 If you can't find that file post the contents of the index.php in the root folder of your site. What I need probably won't be in there, but will (hopefully) tell me what I do need. The reason your Logoff link doesn't show is you have a custom template and/or some other custom modifications. In a "standard" osC install, the logoff link will appear after a person has logged on. Your web designer has removed that part. 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 I do not have info.php where else could I find it! Can you please post the contents of your information.php file?:unsure: It might be call something like information_box.php. Looking at your HTML source, it appears you may have some custom modifications.
germ Posted November 4, 2007 Posted November 4, 2007 Read the post I made just prior to your last post. 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 Thanks so very much for your help. When I go to file manager or define language I see there is a file log off. If I send this file to you would you please let me know what is missing or disabled ? It is the same with the tell a friend. Read the post I made just prior to your last post.
germ Posted November 4, 2007 Posted November 4, 2007 Post the contents of the index.php in the root folder of your site. What I need probably won't be in there, but will (hopefully) tell me what I do need. 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 Here is the content of the index.php <?php /* $Id: index.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', ''); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); define('TABLE_HEADING_DEFAULT_SPECIALS', 'Specials For %s'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Artists'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } define('HEADING_CUSTOMER_GREETING', 'Our Customer Greeting'); define('MAINPAGE_HEADING_TITLE', 'Main Page Heading Title'); // BOF: Lango added for Featured Products define('TABLE_HEADING_FEATURED_PRODUCTS', 'Featured Products'); define('TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY', 'Featured Products in %s'); // EOF: Lango added for Featured Products ?> Post the contents of the index.php in the root folder of your site. What I need probably won't be in there, but will (hopefully) tell me what I do need.
germ Posted November 4, 2007 Posted November 4, 2007 That's not the one from the "root" (main) folder of your site. 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 Would it be on define language or file manager? I haven't seen index.php anywhere else! That's not the one from the "root" (main) folder of your site.
germ Posted November 4, 2007 Posted November 4, 2007 You'll need to use your site's Control Panel to make any changes. If you use the osC File Manager to edit anything on your site, especially PHP files, it will probably screw them up beyond repair. The Control Panel is provided by your Web Host, not osCommerce. You wouldn't happen to have a copy of your sites files stored on your local PC would you? Question number two. Is there anyone else available that's a little more familiar with servers, and web sites, Internet terminology and such that could help you? Somehow I'm just not getting across to you what you need to know. :blush: 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 I am sorry. I am completely new to this site. I started this forum just because when a user log into the website they can not log out just because the option to log off does not show up on the menu as soon as you log yourself in. I wanted to know if there was anybidy that could help me by telling me where to go or what is not working. I have learn it was a bug so what does that mean? How can it be corrected? thanks You'll need to use your site's Control Panel to make any changes. If you use the osC File Manager to edit anything on your site, especially PHP files, it will probably screw them up beyond repair. The Control Panel is provided by your Web Host, not osCommerce. You wouldn't happen to have a copy of your sites files stored on your local PC would you? Question number two. Is there anyone else available that's a little more familiar with servers, and web sites, Internet terminology and such that could help you? Somehow I'm just not getting across to you what you need to know. :blush:
germ Posted November 4, 2007 Posted November 4, 2007 Well... You'll have to be able to find the files that need changing with your site's Control Panel (I'll tell you the one's that need changing), then be able to make a few edits that I suggest. Unless you or someone you know is able to do that, it'll just have to stay like it is. If you PM me the login link to your site's Control panel, username and the password, I can fix it for you. It would take me about 10 to 15 minutes to get your Logoff link back. The Tell-A-Friend part might take a bit longer. 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 >
germ Posted November 4, 2007 Posted November 4, 2007 Or, maybe you could contact the people who developed the site for you and make a deal with them to make the changes you want? :unsure: 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 >
samhaiti Posted November 4, 2007 Author Posted November 4, 2007 I would like to do so but as you know the world is not tat safe I need to know more about you to be able to let you have my password and login info. Or, maybe you could contact the people who developed the site for you and make a deal with them to make the changes you want?:unsure:
germ Posted November 4, 2007 Posted November 4, 2007 I understand, and I don't blame you. Since you can't fix it yourself, you'll have to trust someone to do it for you. Whether that's me or someone else is your decision. The Internet is a realm of anonymity to a great degree. But the reality of it is this - Nothing I, or anyone else tells you about me thru the Internet can be verified by you since we have no common, trustworthy, acquaintances to act as a "go between". Have you ever seen the Tom Cruise movie, "Top Gun"? :unsure: To quote a line from that movie, "Call the ball, Maverick". ;) 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 >
samhaiti Posted November 5, 2007 Author Posted November 5, 2007 you are right on this. But I do really thank you for all your help you did all you culd and I do appreciate that. Thanks again!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.