Ticket #73 (closed defect: worksforme)

Opened 3 years ago

Last modified 5 months ago

_upgrade.php shouldn't rewrite plog-config.php if settings already present

Reported by: mike Owned by: mike
Priority: normal Milestone:
Component: Administration Version:
Severity: normal Keywords:
Cc:

Description

There is a small problem with the upgrade script which prevents you from running _upgrade.php after it has already been run once. The problem is it tries to overwrite your plog-config file after the correct settings have already been written.

There has to be a way to determine if you are upgrading from Beta 1, or a later version of post plog-config Beta 2.

Change History

Changed 3 years ago by anti

Actually, _upgrade.php checks whether plog-connect.php exists and if so, then creates a plog-config.php file out of it, afterwards plog-connect.php gets deleted and the above code block should no longer be run.

If plog-connect.php cannot be deleted (permissions?), then yes, plog-config.php gets overwritten again, in which case plog-connect.php should be deleted manually

Changed 3 years ago by mike

  • status changed from new to closed
  • resolution set to worksforme

Ok, fair enough.

Note: See TracTickets for help on using tickets.