Hi,
I have just had my primary domain changed from a .com to a .com.au and everything was working fine, until I edited the config.local.php to reflect the change, which I did because the SSL certificate wasn’t being picked up, now when I goto my shop site - [url]https://www.rewardshealth.com.au/main/[/url]
I get:
Database error: Table ‘rewardsh_cart.TABLE_PREFIXsessions’ doesn’t exist (1146)
Invalid query: SELECT * FROM TABLE_PREFIXsessions WHERE session_id = ‘jds1jlr7anvdm6sgr92furkm90’ AND area = ‘C’
Backtrace:
File: /home2/rewardsh/public_html/main/core/fn.database.php
Line: 310
Function: db_error
File: /home2/rewardsh/public_html/main/core/fn.database.php
Line: 102
Function: db_query
File: /home2/rewardsh/public_html/main/core/class.session.php
Line: 44
Function: db_get_row
File: /home2/rewardsh/public_html/main/core/class.session.php
Line: 248
Function: read
File: /home2/rewardsh/public_html/main/core/class.session.php
Line: 321
Function: start
File: /home2/rewardsh/public_html/main/init.php
Line: 113
Function: init
File: /home2/rewardsh/public_html/main/index.php
Line: 23
Function: require
hey guys even now when reverting back to my .com on the config.local.php i am still having the same problem
fixed it, sorry lads
sorry for bringing up a well old thread but how did you fix this? I tried repairing cscart_session in phpmyadmin to no avail.
regards
Given that TABLE_PREFIX was in the database table name, it appears that he either commented out or had removed the define(‘TABLE_PREFIX’, ‘cscart_’) in config.local.php/