Content publishing delays

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/3/2010 9:40:23 AM
Gravatar
Total Posts 17

Content publishing delays

Hello,

I'm new to using MojoPortal so sorry if this is a bit of a silly question. I've had a quick look around but can't find an answer but let me know if I missed it somewhere.

When I create a new page I'm able to get to it from typing in the direct URL but it doesn't appear in the menu list or even under the admin pages for anything to between a few hours to a few days, or even never at all.

I've ticked the boxes to make sure it appears in the menu and all that stuff, so I'm wondering if it's something to do with it being cached or is there a general delay with mojoportal?

Any ideas are greatly appreciated.

Thanks,

Andy

6/3/2010 3:41:07 PM
Gravatar
Total Posts 125

Re: Content publishing delays

I think this might be a file permission issue. Did you set the /data folder to read/write permission.

6/3/2010 3:49:31 PM
Gravatar
Total Posts 43
Partner

Re: Content publishing delays

I have seen similar behavior before. Please follow these steps to verify the “Publish Begin” date and time:

[Administration] [Content Manager] [Publish/Delete (on the module instance in question)]

Is the date and time in the future or in the past?

-Todd

6/4/2010 3:24:36 AM
Gravatar
Total Posts 17

Re: Content publishing delays

Thanks for you suggestions.

Wei Li: I've just made sure the data file has the correct permissions but trying to add a new page still hasn't appeared.

Todd Lewis: I just tried adding a new page and then adding a HTML module for it. I can see it and edit it fine, but when I go to the admin page you mentioned the new page I created isn't listed yet.

Andy

6/4/2010 5:45:50 AM
Gravatar
Total Posts 18439

Re: Content publishing delays

Hi Andy,

I confirm Wei Li's diagnosis, you may think you have file permissions correct but this problem is definitely caused by incorrect file system permissions.

What happens is that the SiteMap which is the data source for the menus is cached. To clear the cache it needs to touch the cache dependency files located under /Data/Sites/[SiteID]/systemfiles (where [SiteID] is typically 1 in a single site installation).

If the folder is not writable it cannot modify these files so the cache does not get cleared as it should when you create or delete a page.

If you moved the site from one machine to another, it is possible files there have funky permissions on them, so even if the folder permissions are correct the existing files may have bad permissions. Try deleting all files from /Data/Sites/1/systemfiles, if the folder permissions are correct the files will be re-created as needed. If the files do not come back on their own then it means the folder permissions are not correct, it cannot write files there.

Hope it helps,

Joe

6/4/2010 6:55:13 AM
Gravatar
Total Posts 17

Re: Content publishing delays

Hi Joe,

Thanks for that, that's a great help. I deleted the files from the folder and a few have reappeared and I'm currently able to add new pages and content that are appearing immediatly on the site now.

Final questions: does this mean I'll have to go in and delete these files periodically from now on or does this mean that it won't happen again (living in hope!)?

Thanks again for your help.

Andy

6/4/2010 6:59:07 AM
Gravatar
Total Posts 18439

Re: Content publishing delays

It should not happen on any regular basis, the fact that it happened at all probably indicates the site was moved from one server or location to another, if not by you then by your host. That is the only situation I have seen where this happens.

6/4/2010 7:01:50 AM
Gravatar
Total Posts 17

Re: Content publishing delays

Ah great stuff.

Yeah that wouldn't suprise me if it had been moved, as we've had a lot of stuff going between servers at the moment.

Thanks again for the help!

Andy

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