ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
Preferences Files
Directory Structure
Location Home > Developer's Guide > Document Structure

Preferences Files

this article last updated: May 27, 2010
Due to inevitable changes that will be made to the shopping cart software over time, the cart's variable and database structure may change from time to time without advanced notice. We will attempt to keep the information in this article up-to-date, but Modular Merchant makes no guarantee as to the accuracy of the information provided in this article. Use this information at your own risk.

Preferences Files
Each admin account has a unique preferences file for each page of the store's administration area. These prefs files are located in the store's prefs directory.

Naming Schema for Preferences Files
The naming scheme that is used for the preferences files is:

  • underscore (ie: _)
  • System ID (SID) number of admin account (ie: 123) 
  • underscore (ie: _)
  • name of webpage associated with the preferences file (ie: ad_index.php)

example
For example, admin SID 123's preferences file for the "search orders" page's would be located at:

http://www.mystore.com/prefs/_123_ad_order_search.php


Manually Resetting a Preferences File
If an admin performs an action on an administration page that causes that page's preferences file to generate an error -- such as preventing that page from loading correctly, an infinite loop, insufficient memory or other error -- then the error can be resolved by manually deleting the specific preferences file.

To delete a preferences file, follow these steps:

  1. Connect to the website by FTP.
  2. Locate the prefs directory within the shopping cart installation.
  3. Delete the .php file specific to that admin account and that store page.

If the prefs file is deleted, then the store software will simply reset that admin's preferences to the default setting for that page. A new preferences file will automatically be created in the prefs directory the next time the admin views that page.



— Last Edited - 05/27/2010 8:14pm PDT
Rank and add a comment to this article
Only logged in users may leave comments and rank articles. Log in to have your say!
  Knowledge Base Home

  QuickCode™ Tag Glossary

  Modular Merchant.com Homepage

Not Logged in.
Either Log in or create a User Account.

Other articles in this category...

Custom Script Slots

Directory Structure

Preferences Files