Page 3 of 3

Re: New Login Screen?

Posted: Wed Jul 02, 2014 4:13 pm
by KitchM
Thanks for the reply Jo Morg. I was just posting when you did. It appeared that there was nothing in the /cache, but upon refreshing my Filezilla display, things appeared there. That is good progress.

Next I logged into the admin panel and found that the panel was back like it should be. Halleluia!!!!

After some hard brain work, I now think I know what went wrong. I followed some directions that said to delete the /tmp directory once CMSMS was installed so as to help with security. That is all I can remember about that.

So that becomes question one. And question two is what is ..../sierraclubswmg/public_html/cms/tmp actually for?

Re: New Login Screen?

Posted: Wed Jul 02, 2014 4:26 pm
by Jo Morg
KitchM wrote:And question two is what is ..../sierraclubswmg/public_html/cms/tmp actually for?
Any and all temporary files that CMSMS and modules (both core and 3rd party) need to produce at any given time are created inside the temp in the root of CMSMS installation. How it is organized depends on many factors but people should never need to mess with it unless told so by a developer.
When someone mentions clearing the cache, there is a function in CMSMS Admin panel that does that, and if ever someone needs to do so manually it is just the contents of the folders, not the folders. There should also be left untouched the files index.html inside each folder (even though these are zero bites files), for added security.
HTH

Re: New Login Screen?

Posted: Wed Jul 02, 2014 5:12 pm
by KitchM
Let me see if I get this right:

1. So in the case of ...../sierraclubswmg/public_html/, this is the root of CMSMS if it was install there?

2. And ...../sierraclubswmg/public_html/tmp is the root temp directory?

3. Then what is ...../sierraclubswmg/public_html/cms/tmp?

4. To manually clear the cache, one goes to public_html/tmp/cache and deletes all but the index.html file?

5. If the index.html file is missing, how does one recreate it?

Re: New Login Screen?

Posted: Wed Jul 02, 2014 5:26 pm
by Jo Morg
1- Yes;
2- Yes;
3- No clue... other than possible leftovers from some other install?;
4- Nope... as I said, tmp and recursively all folders inside it, except for index.html files (no need to do this unless told to do so... there is a safer function in admin);
5- Come on!!! Really?! ::) ... what is an HTML file but a text file???
Here's how one can tell you didn't research enough...

Re: New Login Screen?

Posted: Wed Jul 02, 2014 7:08 pm
by KitchM
@Jo Morg,
I've researched plenty. When one gains as much experience in the computer industry as I, one will learn when it is appropriate to criticize and when it isn't. That was not one of those times.

Proper criticism would best be directed toward the poor documentation and the lack of welcome to those of us who can and desire to contribute to that and make it better. That problem still exists for many.

However, what appears you don't understand in the first place is the question. The question is not "how to create an html file" (Duh, simple), but rather "what created it in the first place" and "does it happen automatically" if it needs to be replaced". I'm sorry if I was not specific enough. However the context was a user trying to understand the proprietary organization and setup of CMSMS, and therefore, the meaning of the simple and quick question should have been apparent.

If one thinks the best of people, one can ussually figure out what they are talking about. But assumptions, and especially negative ones, are the killer to good conversation.

In any case, thanks for your help. That has gotten me part way there. I can now log in correctly.

Re: New Login Screen?

Posted: Wed Jul 09, 2014 6:46 pm
by Dr.CSS
CMSMS uses the tmp folder in the root of your site for the cache and templates_c folders which will have contentcache.php and cached style sheets in the first and module PHP/INC files in the second so you need all those folders...

Some systems auto create the blank index.html files in these folders so that someone trying to see into them only gets a blank page...

Having a folder path of public_html/cms/tmp looks like a subfolder install of CMSMS for development...

Re: New Login Screen?

Posted: Thu Jul 10, 2014 1:18 am
by KitchM
Thanks much, Doc. That explains a lot.