New page not display

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/2/2010 3:01:13 PM
Gravatar
Total Posts 63

New page not display

When I add a new page, it does not show up in Add/Edit page list and does not show up in menu either. I already had my hosting provider to set App_Data and Data folders to have read/write permissions. I also deleted the files under Data\Sites\1\systemfiles, but still the new page will not show up. I have to manually change web.config file to make the new pages show up. Am I missing something?

Thanks,

Jeffrey

11/2/2010 3:15:22 PM
Gravatar
Total Posts 18439

Re: New page not display

Hi Jeffrey,

If the files don't re-appear in /Data/1/systemfiles then the folder is not writable in spite of what your host said, so it cannot create the cache dependency files and cannot clear the site map cache when you create a new page so it does not show up until you touch Web.config which also clears the cache.

Hope it helps,

Joe

11/2/2010 4:09:09 PM
Gravatar
Total Posts 63

Re: New page not display

Thanks Joe. I am using the same web hosting company (Arvixe) as mojoPortal does, so I hope they know what they do. I submitted another ticket to confirm if the folder has the right permission.

11/2/2010 4:16:44 PM
Gravatar
Total Posts 18439

Re: New page not display

Have you checked the mojoportal log under Administration > System Log?

It should be logging things, if it is not logging things or if it causes an error when you click the "Clear Log" button that would be another sign that file system permissions are not correct.

Did you sign up through one of our Arvixe links and have mojoPortal pre-installed?

When I tested installing from the Web App Gallery in their control panel, pretty much the whole web site was writable so it required user steps to lock it down where it doesn't need write permissions, but it may be different depending on when and what process you went through to sign up for Arvixe, maybe in some scenarios it is more locked down.

In any case when you create a new page it should touch a cache dependency file in /Data/Sites/1/systemfiles to clear the cache and if the file does not exist it tries to create it. I would look and see if that file is being created or not, if not then it really cannot.

Hope it helps,

Joe

11/2/2010 4:28:33 PM
Gravatar
Total Posts 63

Re: New page not display

System Log is empty, so I think the file permission is not set right.

I manually installed mojoPortal on my hosting account. Yes, the whole web site was initially writable, then I contacted the support team to lock down the folders that don't need write permission, I think they messed up the permission, because I started having problems since then.

The bad thing is Arvixe is having some server problem, so their support response is getting very slow.

11/3/2010 4:26:14 PM
Gravatar
Total Posts 63

Re: New page not display

After asking the tech support at Arvixe to check the folder permission many times and getting the same answer each time saying the permission is correct, I felt so frustrated that I completely removed mojoPortal and reinstalled it from scratch. Now everything is working well, now the problem becomes that every folder is writable, but I do not dare to ask them to change the permission again. What harm could it be to leave all folder writable?

11/3/2010 6:20:16 PM
Gravatar
Total Posts 9

Re: New page not display

Hello CodingBeaver,

I want to apologize for the issue you ran into. Such feedback is very valuable. I'm having a member of our Arvixe team write with me a blog tutorial on modifying folder permissions from the control panel. A second tutorial will be written specifically for modifying them for MojoPortal. I'll post them here when thats done. But in the meantime, to do this is simple. First login to your control panel, and enter the file manager. From there, enter into the site's folder, click the lock icon next to the wwwroot folder, and remove write access for the website user(site username starts with the first letters of the domain name), choose to have subfolders and files inherit this permission. Then go into the wwwroot folder, and click the lock icons next to  App_Data and Data folders, give write access to the site user, make it inheritable. That should do exactly what you want.

But if you want our staff to do it, simply make it clear that you want write access removed from wwwroot and then readded to those folders by emailing our support team. As mentioned, I'll paste the blog here in the upcoming couple days when we have it.

We're also going to work to make a modified MojoPortal installer to automatically set those permissions on account provisioning for future clients.

Regards,

Avesta

Arvixe.com

11/4/2010 8:53:01 AM
Gravatar
Total Posts 63

Re: New page not display

Hi Avesta,

Thanks for your time and reply. The first thing I did before I contact your support team was to use File Manager to remove the write permission on those folders reported by mojoPortal Security Advisory, but it didn't work. So I contact your support team via on-line chat, and the support staff told me that the permission change has to be done by the support team, and he changed the permission one folder by another, manually, according to what he said. After the change, I found Data folder permission was mistakenly changed, so I contact the support team to change it back to the write permission, but my mojoPortal just cannot update anything under Data folder, so the whole site will not refresh until I manually touch the web.config file. After email back and forth several times, I decided not to waste any more time and went ahead to reinstall the whole site.

Even though my issue was not resolved by your support team, but I am impressed by the response time and courtesy of the support staff during the whole thing.

Regards,

Jeffrey

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