Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installed PWA 2.0f and I now get this error.


onedownfiveup

Recommended Posts

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'houseofhid'@'72.167.232.42' (using password: YES) in /home/content/h/o/u/houseofhid/html/includes/functions/database.php on line 19

Unable to connect to database server!

 

That code is...

 

	  $$link = mysql_connect($server, $username, $password);

 

I edited all the files using Beyond Compare 3 and uploaded them. I thought I executed the english.sql and common.sql in my myphpadmin the right way, but I guess I didn't. It didn't give me any errors though.

 

Now that I think about it I changed my PW in myphpadmin.

 

How would I change it on database.php to make it right?

Link to comment
Share on other sites

Ok, I fixed that, I had changed my pw in myphpadmin and forgot to update it in configure.php

 

Now I have a problem. PWA 2.0f works but when I click to come back from paypal it gives me this error

 

Parse error: syntax error, unexpected T_STRING in /home/content/h/o/u/houseofhid/html/includes/languages/english/checkout_success.php on line 18

 

<?php
/*
 $Id: checkout_success.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE_1', 'Checkout');
define('NAVBAR_TITLE_2', 'Success');

define('HEADING_TITLE', 'Your Order Has Been Processed!');

define('TEXT_SUCCESS', 'Your order has been successfully processed! You're order will arrive between 8 - 12 days.');
define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:');
define('TEXT_SEE_ORDERS', 'You can view your order history by going to the <a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">\'My Account\'</a> page and by clicking on <a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">\'History\'</a>.');
define('TEXT_CONTACT_STORE_OWNER', 'Please direct any questions you have to the <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">store owner</a>.');
define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with us online!');

define('TABLE_HEADING_COMMENTS', 'Enter a comment for the order processed');

define('TABLE_HEADING_DOWNLOAD_DATE', 'Expiry date: ');
define('TABLE_HEADING_DOWNLOAD_COUNT', ' downloads remaining');
define('HEADING_DOWNLOAD', 'Download your products here:');
define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at \'%s\'');
?>

Link to comment
Share on other sites

define('TEXT_SUCCESS', 'Your order has been successfully processed! You\'re order will arrive between 8 - 12 days.');

Actually that's grammatically incorrect:

 

define('TEXT_SUCCESS', 'Your order has been successfully processed! Your order will arrive between 8 - 12 days.');

( "you're" is a contraction for "you are").

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 >

Link to comment
Share on other sites

define('TEXT_SUCCESS', 'Your order has been successfully processed! You\'re order will arrive between 8 - 12 days.');

Actually that's grammatically incorrect:

 

define('TEXT_SUCCESS', 'Your order has been successfully processed! Your order will arrive between 8 - 12 days.');

( "you're" is a contraction for "you are").

 

You're correct on that. Thanks.

 

That also fixes my error.

 

php can't read the ' in You're. I didn't use the proper ' code.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...