Page 1 of 1

Problem after installation

Posted: Tue Jul 05, 2016 11:22 am
by jaspersj
Hi,

After the installation I get the following error

"Error: Cannot open the file assets/template//index.tpl."

Can you help me please?

Re: Problem after installation

Posted: Wed Jul 06, 2016 7:49 am
by jaspersj
Additional information!

I installed version 2.9.2 using PHP 5.5 and MySQL database.
My webserver is IIS 8.5 on Windows Server 2012 R2 and PHP is configured correctly in IIS.
On the directory "Assets" the permissions are set full control to everyone. These permissions are set on every subfolders and files in this folder.

Re: Problem after installation

Posted: Thu Jul 07, 2016 6:10 pm
by Thorsten
Hi,

can you access your admin configuration?

bye
Thorsten

Re: Problem after installation

Posted: Fri Jul 08, 2016 2:50 pm
by jaspersj
Ok I was inpatient, tried the installation again and now when I enter all the settings for the installation and click on installed the page just stays empty and nothing is happening. Not on file level, and not in the database. I can succesfully logon to the database from the phpmyfaq webserver

:cry: :cry:

Re: Problem after installation

Posted: Fri Jul 08, 2016 5:21 pm
by Thorsten
Hi,

can I access your admin page?

bye
Thorsten

Re: Problem after installation

Posted: Sun Jul 10, 2016 3:37 pm
by jaspersj
currently there is no admin page to access. phpmyfaq will not install. after filling all the fields in the setup page en clicking "start setup", nothing happens. I just don't get it

Re: Problem after installation

Posted: Sun Jul 10, 2016 8:28 pm
by Thorsten
Hi,

what do you mean exactly by clicking on the "start setup" button and nothing happens?

bye
Thorsten

Re: Problem after installation

Posted: Mon Jul 11, 2016 10:42 am
by jaspersj
I mean, i go to http://127.0.0.1/setup/index/php here I fill the fields with the requested information and at the bottom of the page i click on the big green button to start the setup of phpmyfaq. Next i only see a page with at the top a big grey banner with the text "Did you read the documentation before starting the setup". Further nothing happens...

Re: Problem after installation

Posted: Mon Jul 11, 2016 12:06 pm
by Thorsten
Hi,

please enable the debug mode in inc/Bootstrap.php and try it again.

Thanks!

bye
Thorsten

Re: Problem after installation

Posted: Tue Jul 12, 2016 11:55 am
by jaspersj
Hmm no luck so far. I enabled debug mode but no errors appear on the page, or in any kind of logging.

define('DEBUG', true);

Re: Problem after installation

Posted: Tue Jul 12, 2016 12:03 pm
by Thorsten
Hi,

is it possible to try it by myself? You can message me via PM.

bye
Thorsten

Re: Problem after installation

Posted: Tue Jul 12, 2016 2:55 pm
by jaspersj
I can give you access to the environment do you prefer RDP of http only?

Re: Problem after installation

Posted: Tue Jul 12, 2016 2:58 pm
by Thorsten
Hi,

HTTP is enough for the first testing

bye
Thorsten

Re: Problem after installation

Posted: Wed Jul 13, 2016 12:40 pm
by jaspersj
Hi all,

So for anyone who cares, this was the cause, and the solution to my problems.

Cause;
So after enabling debug mode (had to configure the php.ini to see the debug errors) the error appeared. No connection to the database could be made.

Although I already suspected that, I could contact the database using the MySQL Workbench. So this meant there are no virus scanners / firewalls blocking my traffic to the database. So maybe something in the PHP configuration? I found the PHP code below on the internet. I put the connection settings to the database in code and ran the PHP code from my browser. This code told me that my Database/Instance name could not be found.

Solution;
So I took a guess and instead of entering the Database/Instance name, I entered the user/schema name. And it all worked like a charm.

Many thanks go out to Thorsten for his help.

Re: Problem after installation

Posted: Wed Jul 13, 2016 12:41 pm
by Thorsten
Awesome that it works now!

Thanks for using!

bye
Thorsten