How To Recover A Broken Platform

Title

OldNew
11How To Recover A Broken Platform

Permalink

OldNew
11how_to_recover_a_broken_platform

Innhold

OldNew
1## How To Recover a Broken Platform
12
3Did you break something and do not have access to a backup of your files
4and database? It does not have to be a worse case scenario. But it might
5require a little work. Here are steps you might find useful in
6recovering from a complete meltdown.
7
8 **Note:** All PHP errors are logged in logs/errors.log. See if
9 you can resolve the issues by investigating any erros listed in
10 the log. Otherwise continue with the following steps:
11
121. Replace your installed platform with a fresh new set of files.
13
142. Copy the following files and directories from your broken platform:
15
16 * data/
17 * images/
18 * includes/config.inc.php
19 * vqmod/xml/
20 * robots.txt
21
223. Disable any copied vMods in the vmods/ folder by renaming their
23filename extension from .xml to .disabled.
24
254. Compare your database structure with a fresh installation. You can
26use phpMyAdmin to export the database structure (not the data). Compare
27the files with a file comparison software e.g.
28[WinMerge](https://winmerge.org/) or
29[DiffMerge](https://sourcegear.com/diffmerge/). Make sure
30your database structure conforms to the fresh new structure by
31correcting any inconsistencies.
32
335. Make sure the database entry lc_settings -> key:platform_version is
34set to the same version number as your fresh new set of files.
35
366. If you still are having issues, investigate the recent upgrade
37patches to see if any database data in the database tables should be
38transitioned.
39
407. Go to Admin -> vMods and enable your vqmods one by one to see if
41they function properly or not. If they don't, see if there is an update
42of the add-ons or visit the support forum for the add-on.

Redigert av litecart des. 29 2023 kl 04:28

View code on GitHub