Unable to clear System Log in Mojoportal

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/10/2011 11:16:31 AM
Gravatar
Total Posts 76

Unable to clear System Log in Mojoportal

Hello,

I'm unable to clear the System logs in mojoportal.I'm trying by clicking clear log again and again, but it doesnn't work...

The page refreshes,but nothing happens. It simply reloads again with the old log contents.

I've verified permissions for Data\sites\1.

Where is this log stored? Anything else that I can do?

Would appreciate any help...

Thank you so much.

3/10/2011 11:22:26 AM
Gravatar
Total Posts 76

Re: Unable to clear System Log in Mojoportal

Sorry folks,I just figured it out..

I searched and found this http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=2748&pagenumber=1

Then,I tried providing more permissions to the entire mojoportal website folder and it worked,

It was a permission issue after all.

Thank you all.

3/10/2011 11:26:28 AM
Gravatar
Total Posts 2253

Re: Unable to clear System Log in Mojoportal

Hi,

You shouldn't give write permissions to the root of your website. That is a very bad security practice.

App_Data and Data directories should be the only writable directories in your site. The log lives in \Data and is named currentlog.config.

I recommend you remove the permissions you granted to the "mojoportal website folder" and then add write permissions to the App_Data and Data directories.

HTH,
Joe D.

3/10/2011 11:33:06 AM
Gravatar
Total Posts 76

Re: Unable to clear System Log in Mojoportal

Thank you so much for the reply Joe D..

Can you please tell me the list of directories which need permission for mojoportal or point me to link where I can find them so that I can remove permissions for the whole website and provide permissions only for the required directories?

 

Thank you so much again for your time...

3/10/2011 11:36:28 AM
Gravatar
Total Posts 2253

Re: Unable to clear System Log in Mojoportal

As I stated in my previous post, you need to set write permissions on the App_Data and Data directories.

3/10/2011 11:38:45 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Unable to clear System Log in Mojoportal

Only the /App_Data and /Data folders (and files and folders within and below them) need write access. You can test whether your file permissions are set correctly by going to Administration, Security Advisor.

The system log is stored in /Data, and there's more documentation here.

Jamie

3/10/2011 11:52:47 AM
Gravatar
Total Posts 76

Re: Unable to clear System Log in Mojoportal

Thank you Joe and Jamie...

Checked that one too.Works.

You must sign in to post in the forums. This thread is closed to new posts.