Problem after installation

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Problem after installation

Post 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?
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

can you access your admin configuration?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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:
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

can I access your admin page?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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...
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

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

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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);
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post by jaspersj »

I can give you access to the environment do you prefer RDP of http only?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Hi,

HTTP is enough for the first testing

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jaspersj
Posts: 15
Joined: Tue Jul 05, 2016 11:18 am

Re: Problem after installation

Post 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.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten »

Awesome that it works now!

Thanks for using!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply