I removed amember and the database from the hosting server completely. I reinstalled the amember like before. After the installation, I went to the admin page to add new product. And I see the following message. "File 'config.inc.php' in amember folder is already exists and non-empty. Please remove it or delete all content if you want to do full reconfiguration". I tried all I can and I reinstalled it above 10 times. The problem can not be solved. What's going on? Please help.
Spent some time on this and turned out to be a permissions issue where the file and folder permissions within the aMember folder were not set correctly. For the most part, 644 for files and 755 for folders.
Such error can be generated only by /amember/setup.php (initial setup script) Possible there is an error with upload. Make sure that /amember/admin/setup.php is correct. It should not be the same as /amember/setup.php
The site is up and running with no problem. The only issue was that the files and folders were set with incorrect permissions. Once the permissions were changed everything was fine.