delight-im / OpenSoccer

[UNMAINTAINED] Online Soccer Manager
GNU General Public License v3.0
52 stars 25 forks source link

initial setup #337

Closed mister1966 closed 4 years ago

mister1966 commented 4 years ago

hi all, i find just now your simulation game and i follow the read readme.md instructions but i'm not getting good configuration my installation address is http://osm.fiatti.com/website if you click anywhere it call the page but one level up my http://osm.fiatti.com/website/config.php is like this: please somebody can hel pe me ? thks

// database credentials define('CONFIG_DATABASE_HOST', 'localhost'); define('CONFIG_DATABASE_USERNAME', 'myusername'); define('CONFIG_DATABASE_PASSWORD', 'mypassowrd'); define('CONFIG_DATABASE_NAME', 'mydbname');

// general settings define('CONFIG_INSTALL_DATE', '2020-04-25'); // the installation date (UTC) of this game instance in YYYY-MM-DD format (ISO 8601) define('CONFIG_IS_LOCAL_INSTALLATION', false); // whether this is an installation on a local computer (no remote server) define('CONFIG_USE_HTTPS', false); // whether to use secure connections over HTTPS (SSL/TLS) define('CONFIG_USE_HTTPS_HSTS', false); // whether to guarantee and force HTTPS for a long period of time

// site information define('CONFIG_SITE_NAME', 'OSvvvvvvM'); define('CONFIG_SITE_DOMAIN', 'osm.fiatti.com/website'); // must include subdomain define('CONFIG_SITE_EMAIL', 'info@fiatti.com'); define('CONFIG_CONTACT_PAGE_HTML', '

Contact information goes qui ...

'); define('CONFIG_ANDROID_APP_URL', NULL); // the location of the Android app (e.g. in app store) as a string or NULL

// special users and roles define('CONFIG_OFFICIAL_USER', '18a393b5e23e2b9b4da106b06d8235f3'); define('CONFIG_DEMO_USER', '1d0a7ce36ffa946eea1a52394fcdaebf'); define('CONFIG_PROTECTED_USERS', serialize(array( // IDs of users that are excluded from multiple account detection, HTML filtering in support area, bans etc. CONFIG_OFFICIAL_USER, CONFIG_DEMO_USER, 'c4ca4238a0b923820dcc509a6f75849b' )));

// email settings (PHPMailer may be used instead of mail() function) define('CONFIG_EMAIL_PHP_MAILER', false); // whether to use PHPMailer (with SMTP) instead of the mail() function define('CONFIG_EMAIL_HOST', ''); // SMTP server address define('CONFIG_EMAIL_PORT', ''); // SMTP server port define('CONFIG_EMAIL_USER', ''); // SMTP username define('CONFIG_EMAIL_PASS', ''); // SMTP password define('CONFIG_EMAIL_FROM', ''); // sender address define('CONFIG_EMAIL_AUTH', true); // whether SMTP requires authentication define('CONFIG_EMAIL_SECURE', ''); // for PHPMailer->SMTPSecure define('CONFIG_EMAIL_CHARSET', 'UTF-8'); // mail charset

ocram commented 4 years ago

Unfortunately, the project only works in the root directory of a domain, sorry.

So that would be http://osm.fiatti.com in your case (for CONFIG_SITE_DOMAIN).

If you can’t host on that subdomain, you would have to create a new subdomain.