casper010377 Posted April 21, 2005 Share Posted April 21, 2005 Hi, when i log in, it works fine and when creating accounts it works fine but when i want to check my account or go to checkout neither of them work http://www.budgetbuyer.co.uk to log in use casper77@btinternet.com and pass as casper these are temps please please help and Installed oscommerce, but im unable to get the search box working it gives me the page cannot be found. also im unable to edit the shipping, privacy, returns, terms, and contact page when i do edit them i get parse errors. dont now alot about php and please someone help i need to move the copyright details down the page under my logos can anyone help take a look you will no what i mean Link to comment Share on other sites More sharing options...
myford Posted April 21, 2005 Share Posted April 21, 2005 first, it looks like you booger'd up your footer.php, since it's giving you: "Parse error: parse error, unexpected '<' in /home/fhlinux200/b/budgetbuyer.co.uk/user/htdocs/includes/footer.php on line 52" Looks like you tried to edit it and put a < somewhere where it doesn't belong. Cut/paste your footer.php here so I can take a look, and we'll start from there... Link to comment Share on other sites More sharing options...
casper010377 Posted April 21, 2005 Author Share Posted April 21, 2005 Hi, when i log in, it works fine and when creating accounts it works fine but when i want to check my account or go to checkout neither of them workhttp://www.budgetbuyer.co.uk to log in use casper77@btinternet.com and pass as casper these are temps please please help and Installed oscommerce, but im unable to get the search box working it gives me the page cannot be found. also im unable to edit the shipping, privacy, returns, terms, and contact page when i do edit them i get parse errors. dont now alot about php and please someone help i need to move the copyright details down the page under my logos can anyone help take a look you will no what i mean <{POST_SNAPBACK}> as requested my config.php below <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.budgetbuyer.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.budgetbuyer.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'budgetbuyer.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'budgetbuyer.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/fhlinux200/b/budgetbuyer.co.uk/user/htdocs/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '213.171.193.145'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx); define('DB_DATABASE', 'casperdb1'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
myford Posted April 21, 2005 Share Posted April 21, 2005 You cut/paste your config.php, I wanted to see your footer.php... ;) Link to comment Share on other sites More sharing options...
♥Vger Posted April 22, 2005 Share Posted April 22, 2005 First of all, I understand that you are frustrated about your site - but bumping is against forum rules! And you've been doing a lot of it! Your configure.php file is okay if your site has a full ssl certificate, otherwise leave https_server, https_cookie_path, https_cookie_domain, and dir_ws_https_catalog blank (nothing between the apostrophies). For db_server try 'localhost' You also appear to have a lot of files missing, but check again after you have removed the https entries from your configure.php file. Vger Link to comment Share on other sites More sharing options...
casper010377 Posted April 22, 2005 Author Share Posted April 22, 2005 first, it looks like you booger'd up your footer.php, since it's giving you:"Parse error: parse error, unexpected '<' in /home/fhlinux200/b/budgetbuyer.co.uk/user/htdocs/includes/footer.php on line 52" Looks like you tried to edit it and put a < somewhere where it doesn't belong. Cut/paste your footer.php here so I can take a look, and we'll start from there... <{POST_SNAPBACK}> heres the footer <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?> </td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> <?php <p> <head> <title></title> </head> <body> <CENTER><A HREF="http://www.paypal.com"> <IMG SRC="http://images.paypal.com/en_US/i/bnr/paypal_mrb_banner.gif" BORDER="0"><BR> </CENTER> </body> </html> <br> </p> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </table> <?php } ?> <script LANGUAGE="JavaScript"> //Modified by CoffeeCup Software //This code is Copyright © 1997 CoffeeCup Software //all rights reserved. License is granted to a single user to //reuse this code on a personal or business Web Site. var yourtext = "* Welcome! You are now at BudgetBuyer (Uk)! *"; var wedge1=" "; var wedge2=" "; var message1=wedge1+yourtext+wedge2; var dir = "lside"; var speed = 50; function bouncey() { if (dir == "lside") { message2=message1.substring(2,message1.length)+" "; window.status=message2; setTimeout("bouncey();",speed); message1=message2; if (message1.substring(0,1) == "*") { dir="rside"; } } else { message2=" "+message1.substring(0,message1.length-2); window.status=message2; setTimeout("bouncey();",speed); message1=message2; if (message1.substring(message1.length-1,message1.length) == "*") { dir="lside"; } } } // -- End Hiding Here --> </SCRIPT> <body onLoad="bouncey()"> </body> </html> <head> and could you tell me what files are missing so as i can sort it please also when the probs have been completed i have the ssl ones to sort thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.