Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Locked out after HTTPS change. Help!

posts: 214

In templates_c/ delete everything but: index.php
In temp/public/ delete everything but: .htaccess and index.php
In lib/test/core/temp/cache/ delete everything but: index.php
In modules/cache/delete everything but: index.php and README
In temp/cache/ delete everything but: index.php

To clear the folders you can use these commands:

Copy to clipboard
ls -1d ./templates_c/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./temp/public/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./lib/test/core/temp/cache/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./modules/cache/* |grep -v -e index.php -e README | xargs -r /bin/rm ls -1d ./temp/cache/* |grep -v -e index.php | xargs -r /bin/rm


Updated Some how I listed the commands twice. I edited and removed the duplicates.
Updated again - I improved the code so there is no warning message if there are no files to delete in the folder, and removed the check for a .htaccess file since "ls -1d" does not list hidden files.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting