Forumlar / Cotonti / Support / Config change and site doesn't work

GHengeveld
#31422 2011-11-14 20:27

To make things clear:

  • There are currently 2 major versions of Cotonti, which are 0.6.* (Genoa) and 0.9.* (Siena). These two are not fully compatible, which is why we offer both packages and both are actively maintained (at least until we release 1.0 a.k.a. Valencia).
  • You can find the version number you are using at yoursite.com/admin.php or in datas/config-sample.php (if you open it in an editor).
  • We recommend NetBeans for editing PHP files (among others), most core developers use it. It's awesome. Notepad++ is fast but very limited for programming, I only use it for 'quick edits' that often aren't part of a larger project.

From the fact that Cotonti requests install.php I figure you're using Siena, not Genoa. What probably happened is this:

  1. You uploaded the site and configured it using the installer. The installer modified config.php on the server to save the configuration values you provided during installation.
  2. You modified your local (offline) version of config.php, which didn't include the changes that the installer made, and uploaded your local version to the server. Since your version didn't have all the config info stored by the installer, you lost all that and your site went down because it was unable to connect to the database.
  3. Cotonti requests you to use install.php to re-install the site because it's instructed to do so by the $cfg['new_install'] variable in config.php, which is set to 1 by default. Changing this to 0 will stop Cotonti from redirecting you to install.php and serve index.php as normal.

Bu konu GHengeveld tarafından düzenlendi(2011-11-14 20:35, 12 yıllar önce)