osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Need help ASAP! please

This is a discussion on Need help ASAP! please within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Originally Posted by jonthewebb The error is that the words "TABLE_PRODUCTS_XSELL" and "TABLE_COUNTER" are not defined in includes/database_tables.php. The code ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #11  
Old 03-10-2004, 12:45 PM
New Member
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
04JeepTJ
Default

Quote:
Originally Posted by jonthewebb
The error is that the words "TABLE_PRODUCTS_XSELL" and "TABLE_COUNTER" are not defined in includes/database_tables.php.

The code you posted above includes these two constants as part of the query. When they are defined correctly, PHP understands "TABLE_PRODUCTS_XSELL" as being "products_xsell" which is the table name. When it is not defined, as in this case, it takes the literal value TABLE_PRODUCTS_XSELL which is not the actual name of the table!

So to fix it you need to go to includes/database_tables.php and add two entries for the missing tables. Also check for more missing entries. Or, incorrectly spelt entries.


jon
This worked. I could not tell last night though. My ftp access was not actually transmitting my changes to the server. The host made the changes for me today and it works like a charm. It was like my code was never even there. (I guess it wasn't)

As for the issue when clicking on paypal links I think also it is a cookie issue. I got it to work by removing the ssl layer. So, it must be in where the cookies are stored. I trying storing them in ssl but no luck. Database sessions may be the key.

Thanks to all!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #12  
Old 03-10-2004, 12:48 PM
New Member
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
04JeepTJ
Default

Quote:
Originally Posted by msasek
kindred1, most likely a cookie path / sessions issue. Try storing sessions in the database. That may solve the problem.
I thought I knew where this was at, but I just looked and don't see how to do it. Can you please tell me where this setting is placed?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 03-10-2004, 12:51 PM
New Member
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
04JeepTJ
Default

Quote:
Originally Posted by 04JeepTJ
Quote:
Originally Posted by msasek
kindred1, most likely a cookie path / sessions issue. Try storing sessions in the database. That may solve the problem.
I thought I knew where this was at, but I just looked and don't see how to do it. Can you please tell me where this setting is placed?

Thanks
I think I found it in shop/includes/configure.php. under 'STORE SESSION' I have 'mysql' so it appears they are already be stored in the db. It was a while back when I set this up initially so I could be wrong...

anyone??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14  
Old 03-10-2004, 03:27 PM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

that is where it is set.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15  
Old 03-10-2004, 04:10 PM
New Member
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
04JeepTJ
Default Thanks

Quote:
Originally Posted by jonthewebb
that is where it is set.
Jon,

Thanks. It seems set to store DB Sessions. Any other ideas???


BTW: I ride a 00 GF x-caliber. It is all about the geometry man! I love it. What do you ride?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Site down. Please HELP ASAP!! bagged89s10 osCMax v1.7 Discussion 2 11-02-2006 02:45 AM
Need help with some probs. ASAP! genu osCommerce 2.2 Modification Help 5 02-06-2005 08:07 PM
ERROR 1046 - 2 Stores down need help ASAP!!! eviternity osCMax v1.7 Discussion 2 07-16-2004 05:44 PM


All times are GMT -8. The time now is 10:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax