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 » Tue Jul 05, 2016 11:22 am

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 » Wed Jul 06, 2016 7:49 am

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

Re: Problem after installation

Post by Thorsten » Thu Jul 07, 2016 6:10 pm

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 » Fri Jul 08, 2016 2:50 pm

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

Re: Problem after installation

Post by Thorsten » Fri Jul 08, 2016 5:21 pm

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 » Sun Jul 10, 2016 3:37 pm

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

Re: Problem after installation

Post by Thorsten » Sun Jul 10, 2016 8:28 pm

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 » Mon Jul 11, 2016 10:42 am

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

Re: Problem after installation

Post by Thorsten » Mon Jul 11, 2016 12:06 pm

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 » Tue Jul 12, 2016 11:55 am

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

Re: Problem after installation

Post by Thorsten » Tue Jul 12, 2016 12:03 pm

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 » Tue Jul 12, 2016 2:55 pm

I can give you access to the environment do you prefer RDP of http only?

Thorsten
Posts: 14438
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem after installation

Post by Thorsten » Tue Jul 12, 2016 2:58 pm

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 » Wed Jul 13, 2016 12:40 pm

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

Re: Problem after installation

Post by Thorsten » Wed Jul 13, 2016 12:41 pm

Awesome that it works now!

Thanks for using!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests