Hi, I'm trying to install the paid version (latest one) and when I go to get my license key at http://www.yourbook4mybook.com/members/fixlicense.php I get an error saying Warning: require_once(/home/jhundley/public_html/yourbook4mybook.com/members/config.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/jhundley/public_html/yourbook4mybook.com/members/lite.inc.php on line 7 Fatal error: require_once() [function.require]: Failed opening required '/home/jhundley/public_html/yourbook4mybook.com/members/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jhundley/public_html/yourbook4mybook.com/members/lite.inc.php on line 7 When I installed the paid version files it told me to delete config.inc since it had information on it from the trial version. The problem is, I don't see a new config.inc in the folder with the paid version's files. All I see is config-dist.inc. What do I do?
Personally I would delete the trial version and upload the paid version and start from scratch. Keep the database of course and use its details etc when setting up. There is no config.inc in the downloaded files as it is constructed at setup time.
That didn't work. I get the same error. I submitted a support ticket last night. Thank you for the advice, though!
Did you rerun config on the fresh install? Does this file exist: /home/jhundley/public_html/yourbook4mybook.com/members/lite.inc.php
Skippy, Yes, /home/jhundley/public_html/yourbook4mybook.com/members/lite.inc.php does exist. I'm not sure what you mean by rerun config. When I reinstalled the paid version there was no config.inc.php because I hadn't done the install yet. The problem I'm running into is when I try to get my license from fixlicense.php. It seems like it's telling me that I need the config file in order to get my license but the config file isn't created until the installation is done. So I don't understand how I'm supposed to get my license key in order to do the installation.
@jhundley: have you actually gone through the installation process of aMember with the new pro version? That process will create the config.inc.php file. That being said, if for some odd reason it is not, you can make a copy of amember\config-dist.inc.php to config.inc.php and replace the following lines with the appropriate values: Code: $pc['db'] = '@DB_MYSQL_DB@'; $pc['user'] = '@DB_MYSQL_USER@'; $pc['pass'] = '@DB_MYSQL_PASS@'; $pc['host'] = '@DB_MYSQL_HOST@'; $pc['prefix'] = '@DB_MYSQL_PREFIX@'; $pc['charset'] = ''; // replace with 'utf8' for example
This was fixed in helpdesk. jhundley , you didn't made an upgrade correct way. When you upgrade from Trial to PRO you do not need to delete all files. Just upload new fiels and overwrite old.
Thank you all for your replies. I guess I just didn't understand the instructions fully. Thank you Alexander for getting this taken care of.