Admidio / admidio

Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
https://www.admidio.org
GNU General Public License v2.0
336 stars 131 forks source link

Error on running installation script #779

Closed SatinderpalSingh closed 6 years ago

SatinderpalSingh commented 6 years ago

I am trying to install Admidio on my linux machine, but while running the installation step in browser, i am getting the following error:

showText(); // => EXIT } // if database doesn't contain the components table then link to update wizard // because database Admidio version is lower then 3.0 $sql = 'SELECT 1 FROM ' . TBL_COMPONENTS; if ($gDb->queryPrepared($sql, array(), false) === false) { admRedirect(ADMIDIO_URL . '/adm_program/installation/update.php'); // => EXIT } require_once(__DIR__ . '/adm_program/system/common.php'); if (isset($gHomepage)) { admRedirect($gHomepage); // => EXIT } else { // if parameter gHomepage doesn't exists then show default page admRedirect(ADMIDIO_URL . '/adm_program/index.php'); // => EXIT }

Fasse commented 6 years ago

You copy Code of our script auf Not the error you gez. can you please copy the error text.

SatinderpalSingh commented 6 years ago

This is what is visible in the browser, i am testing it on different machines and the same error occurs. http://202.164.53.125:8088/~cc/admidio/ and on my local screenshot

Fasse commented 6 years ago

Ok, strange.

Fasse commented 6 years ago

Maybe the tilde in the url is the problem. Can you try a installation without tilde in the url?

SatinderpalSingh commented 6 years ago

Yeah! it was the issue of tilde the url, now it is running on my local machine, Thanks!! BTW, why it was not worked in the public document root, is this the default configuration or we need to change something.

Fasse commented 6 years ago

Ok, we will try to fix this.

ximex commented 6 years ago

@SatinderpalSingh i tried to reproduce this problem with the ~ but installation works. is it right that you directly get the error before the first installation page? Do you get any errors in the webserver/php/admidio log files

Fasse commented 6 years ago

I think we should close this issue because we could not reproduce it and got no feedback.