Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Separate Pricing Per Customer Installation Issue


Recommended Posts

Attempting to integrate the separate pricing per customer contribution to an existing osCommerce store, I very carefully created backups of all applicable files, and then ok'd my database manager to run the spcc_v41_install.sql.

 

After making a routine update to application_top.php, I was no longer able to view the addresses of my customers in my admin. Similarly, my customers can not view their addresses when reveiwing their account info or checking out. The order process is working fine, however, with the lack of addresses, orders come through only displaying the products and total. With no addresses or customer information, the order is impossible to fulfill.

 

I have done everything from reverting to previous backups of the site, previous back ups of the database, and nothing will bring my customers' information back.

 

I can only imagine that somewhere there is a database function or script calling some non-existent SPCC tables. But I am unable to solve this issue. Any ideas would be welcomed!

Link to comment
Share on other sites

Attempting to integrate the separate pricing per customer contribution to an existing osCommerce store, I very carefully created backups of all applicable files, and then ok'd my database manager to run the spcc_v41_install.sql.
Very good.

 

After making a routine update to application_top.php, I was no longer able to view the addresses of my customers in my admin. Similarly, my customers can not view their addresses when reveiwing their account info or checking out. The order process is working fine, however, with the lack of addresses, orders come through only displaying the products and total. With no addresses or customer information, the order is impossible to fulfill.
What "routine update" was that. There are no "routine" updates to that file if you ask me.

 

I have done everything from reverting to previous backups of the site, previous back ups of the database, and nothing will bring my customers' information back.
If is was the change in application_top.php that caused it, that would explain it.

 

I can only imagine that somewhere there is a database function or script calling some non-existent SPCC tables. But I am unable to solve this issue. Any ideas would be welcomed!
If there are PHP errors your ISP might keep a log of them. Knowing about an error message is half the solution.

 

You could check if the changes in the tables needed for SPPC are there. First time I ever hear about such a strange error with SPPC so I'm not convinced there is a connection.

Link to comment
Share on other sites

Re: routine update?

Thank you for the response JanZ. The osCommerce store we use has all of the filenames and and tables defined in application_top.php as opposed to filenames.php (I believe that's the name). I added some basic code (define('TABLE_CUSTOMERS_GROUPS', 'customers_groups');) to my application_top.php file.

 

 

Very good.

 

What "routine update" was that. There are no "routine" updates to that file if you ask me.

 

If is was the change in application_top.php that caused it, that would explain it.

 

If there are PHP errors your ISP might keep a log of them. Knowing about an error message is half the solution.

 

You could check if the changes in the tables needed for SPPC are there. First time I ever hear about such a strange error with SPPC so I'm not convinced there is a connection.

Link to comment
Share on other sites

In case anyone has been following this post, or ever experiences the same strange issue - the cause was in the database. The data for the following tables: customers_id and address_book_id was reversed in one of our many, many db backups. Tricky mistake to pinpoint - be careful when you're populating database tables!

 

Attempting to integrate the separate pricing per customer contribution to an existing osCommerce store, I very carefully created backups of all applicable files, and then ok'd my database manager to run the spcc_v41_install.sql.

 

After making a routine update to application_top.php, I was no longer able to view the addresses of my customers in my admin. Similarly, my customers can not view their addresses when reveiwing their account info or checking out. The order process is working fine, however, with the lack of addresses, orders come through only displaying the products and total. With no addresses or customer information, the order is impossible to fulfill.

 

I have done everything from reverting to previous backups of the site, previous back ups of the database, and nothing will bring my customers' information back.

 

I can only imagine that somewhere there is a database function or script calling some non-existent SPCC tables. But I am unable to solve this issue. Any ideas would be welcomed!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...