Eric,
Thank you for your reply, and it's very important and urgent, but I haven't been able to implement because I've had sooo much trouble with PHPMyAdmin/MySQL since I sent my last detailed msg.
- I have the WAMP configuration and had just uninstalled and re-installed it (b/c of password and config files that were not clear to me). My site was saved before reinstalling and no work had been done on those pages until today.
- After finally getting phpmyAdmin/mysql working, I went back to implement your instructions. I fixed some recordsets on the first php product page that I'm working on - I tested it and get this error msg in all browsers:
Warning: require_once(../Connections/pinmates_php.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\pinmates\pages\banner_VelJan25.php on line 4
Fatal error: require_once() [function.require]: Failed opening required '../Connections/pinmates_php.php' (include_path='.;C:\php5\pear') in C:\wamp\www\pinmates\pages\banner_VelJan25.php on line 4
This is the code at top of the page (that includes line 4):
<?php
//WA eCart Include
require_once("../WA_eCart/websitename_PHP.php");
?><?php require_once('../Connections/websitename_php.php'); ?>
<?php
$websitename->GetContent();
?>
If I take out this code (just as a test to see what would happe)- I get similar error msgs about other lines.
Both of the above referenced file folders are in my site folder. Below is the content of the ../Connections/websitename_php.php file. And becuase it has a password which I just added over the weekend, it may have something to do with that. When I tested the page in the broswers, I was connected to all the wamp services.
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_websitename = "localhost";
$database_ websitename = " websitename ";
$username_ websitename = "root";
$password_ websitename = "mypassword";
$pinmates = mysql_pconnect($hostname_ websitename, $username_ websitename, $password_ websitename) or trigger_error(mysql_error(),E_USER_ERROR);
?>
I really want to tackle my problem about the options in the cart, but I need to figure this out first - the code listed in the error refers to WA code, so can you help with this?
Need your urgent help - thanks!
Jana