Finding The AShop Path
Previous  Top  Next

Depending on the server setup, there may or may not be an error message when the $ashoppath is set incorrectly within config.inc.php, but changes to the Store Configuration will not save and the Payment Options may not appear in the selection box.

Note: Some new versions of AShop Software now have automatic path detection and setting within the install.php script. There will not be a path variable setting within config.inc.php for these versions. If this is the case, all of the configuration settings are now stored within the database table 'preferences', which as of version 3.6.5 are editable through the Advanced Options link within Shop Parameters and can also be managed by using a free program named phpMyAdmin or something similar.

One way to find out the path is to run a simple script from a browser.

The URL to this page is <?php
echo getcwd();
?>

This script is included with AShop Software in the file named getpath.php.

The path that is returned by getpath.php is not always correct. If the settings still will not save, try the path that is showing in your FTP browser.

ftp_permissions

If settings will still not save, check with your hosting service technical support.