Can't install pHKAPA 1.6.1 with manual installation instructions - PHP Version 7.1.12

58 views
Skip to first unread message

Maria

unread,
Mar 11, 2020, 12:37:13 PM3/11/20
to pHKapa
I got the following message when intalling pHKAPA 1.6.1
Apache/2.4.29 (Win32) OpenSSL/1.0.2n PHP/7.1.12

You have experienced a technical error, We apologize.
Our Support Team has been notified and is working to correct this issue.


Thank you for your help.



pHKapa

unread,
Mar 11, 2020, 4:40:20 PM3/11/20
to pHKapa

Hello,
turn on DEBUG mode for a more detailed error 

Maria

unread,
Mar 12, 2020, 1:27:23 PM3/12/20
to phk...@googlegroups.com

After turn on DEBUG mode


*****************************

Error: Datasource class {default_datasource} could not be found. Datasource class {default_datasource} could not be found.

Notice: If you want to customize this error message, create app\View\Errors\missing_datasource.ctp

Stack Trace

Maria

unread,
Mar 12, 2020, 1:28:15 PM3/12/20
to pHKapa
After turn on DEBUG mode

Error: Datasource class {default_datasource} could not be found. Datasource class {default_datasource} could not be found.

pHKapa

unread,
Mar 12, 2020, 3:52:29 PM3/12/20
to pHKapa
Did you follow this steps?
I think you are missing this 
`app/Config/database.php.install`, change the details for your database connection and save as `database.php`


Manual Installation

Install

  • Download the latest version from http://phkapa.net , or using composer or git , see above.
  • Upload the content to your server, Extract the archive.
    • Set app/tmp, app/files directories to writable.
    • Create a new MySQL database (`utf8_general_ci` collation), and run these two SQL dump files in given order ( Some are translations , check the suffix in the file name ):
      • `app/Config/Schema/sql/phkapa_structure.sql`
      • `app/Config/Schema/sql/phkapa_demo_data.sql` run this only if you want demonstration data loaded
        • this file loads some users to database. For all users, the password equals username.

Edit

  • `app/Config/database.php.install`, change the details for your database connection and save as `database.php`

Secure

  • set app/tmp directory to writable
  • set app/Config/core.php file to writable
  • Comment `CakePlugin::load('Install', array('bootstrap' ⇒ false, 'routes' ⇒ false));` line at app/Config/bootstrap_phapp.php ( if not already )
  • at app/Controllers restore InstallController.php.savename to InstallController.php ( if not already )
  • run http://{your-url-for-pHKapa}/install/secure
  • restore default permition values, ( chmod 755) for app/Config directory and ( chmod 644 ) for core.php file in app/Config directory
  • app/tmp directory remains writable
  • at app/Controllers alter InstallController.php back to safe name InstallController.php.savename.
  • you admin access is username: admin , password: admin , please enter pHKapa goto profile and change admin password

Maria Test

unread,
Mar 13, 2020, 12:06:15 PM3/13/20
to pHKapa
Hi, you were right, I forgot this step.
I already change the details for my database, but now I got the following error message:

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2006] MySQL server has gone away

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp

Stack Trace

--
You received this message because you are subscribed to the Google Groups "pHKapa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phkapa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/phkapa/51ef9621-d94a-4566-aa9e-6ddbb5ee4069%40googlegroups.com.

Maria Test

unread,
Mar 13, 2020, 4:01:36 PM3/13/20
to pHKapa
Hi,
I fix the problem. But now de user admin and password: admin does not work.

pHKapa

unread,
Mar 13, 2020, 5:46:52 PM3/13/20
to pHKapa
Mysql Host , Username or Password are incorrect 
To unsubscribe from this group and stop receiving emails from it, send an email to phkapa+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages