Unable to add page content

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.
8/14/2007 4:38:56 AM
Gravatar
Total Posts 22

Unable to add page content

Hi Joe,

I am playing with Mojoportal 2.2.3.4 for MySQL, but I can't add content to the pages.

I thing the problem is the same as described by chris_at (http://www.mojoportal.com/ForumThreadView.aspx?thread=999&pageid=5&ItemID=2), but I do not get any exception logged.

I'm using the pencil way to add content, and no matter which feature I choose, the page roundtrip happens, but the listboxes for the panes are not updated.

Federico

8/14/2007 4:47:13 AM
Gravatar
Total Posts 22

Re: Unable to add page content

as a side note, I have to add that all the html content I tried to add are actually listed when I use Content Management to visualize them, and I can also edit them, but they are not displayed in the pages at the end.

Also the pre-existent Welcome content has never been displayed in the Home page.

8/14/2007 7:02:23 AM
Gravatar
Total Posts 18439

Re: Unable to add page content

Hi Federico,

Have you made any changes to the globalization settings in Web.config or not?

Can you tell me what charset your db was created with?

I really appreciate your help in testing the different data layers!

Thanks,

Joe

8/14/2007 7:04:12 AM
Gravatar
Total Posts 18439

Re: Unable to add page content

I am looking into this, just trying to figure out what I need to do to produce the problem as it worked for me in my previous testing.

Thanks,

Joe

8/14/2007 7:59:21 AM
Gravatar
Total Posts 18439

Re: Unable to add page content

Hi Federico,

I found the bug about updating the page title and fixed it and uploaded a new version of the mysql data layer named 2-2-3-4-b. Just replace mojoPortal.Data.dll with the new one.

I still have not been able to reproduce the issue about adding content to the page. I will experiment with setting my browser language to Italian and see if that produces the problem. Any other suggestions for steps try and produce this would help.

Thanks,

Joe

8/14/2007 8:13:20 AM
Gravatar
Total Posts 18439

Re: Unable to add page content

Hi Federico,

I am still unable to produce the problem about not adding page content and home page not being populated during setup. I changed my browser preferred language to Italian and it still works fine.

Any other details about your environment? I tried with Firefox, maybe I should try IE? What browser are you using? Did you change the globalization in Web.config?

Thanks,

Joe

8/14/2007 12:32:19 PM
Gravatar
Total Posts 22

Re: Unable to add page content

wow, so many replies; I really appreciate your effort on trying to solve the issues I got!

today I have very little spare time but tomorrow I will test the new dll and report to you.

to answer your questions: at the moment I used IE7 (I will test also with moz); I just checked the MySQL db table, and they are created with "DEFAULT CHARSET=latin1;"; i still have not changed the localization settings in the web.config.

by for now.
Federico

8/15/2007 11:16:52 AM
Gravatar
Total Posts 22

Re: Unable to add page content

Hi Joe,
sorry for being a pain in the neck...

I read chris_at's discover about PublishBegin in post http://www.mojoportal.com/ForumThreadView.aspx?thread=999&pageid=5&ItemID=2 and decided to investigate more on this issue.
It's a really bugging one because the panes in PageLayout.aspx are not update and thus the user starts filling the db with ghost items.

My understanding is that the panes are not updated because the newly created features have a "publish begin" attribute which still has to come.
This looks a lot like a timezone issue.

That's why I did not see the Welcome content: you created it on the 14th, I installed it the very same day, but due to the timezone difference the UTC BeginDate still had to come.
This morning I was of course able to see it.

After some trial and error experimentation, I found out that the "publish begin" field reported in the "Admin Menu > Content Manager > Publishing for.." page is a UTC time; being I in Italy I have a +2 time offset (GMT+1 + 1DST) and cannot see the new content after I edited; playing with the date value I come to the 2 hours threashold.

About the hour displayed in the page "Admin Menu > Content Manager > Publishing for..", I'm not sure what the expected behaviour of the server is,
should it show an UTC date (as it does now)?
should it show the time of the timezone of the server?
should it show the time of the timezone of the admin user?
probably the last one should be the best option.

anyway this is a minor issue; the worst is the PageLayout.aspx not getting updated.

What is not clear to me is how the BeginDate is set in the first place.
Is it 1.5h before the creation date?
When I create a html container, no new row is written in the mp_htmlcontent table, just one in mp_modules; in this case the indicated "Publish begin" datum seems to be 1/2h before row creation (not utc, but the header doesn't show up in the page).

hope this helps.

btw:
You said you were unable to reproduce the bug, did you try installing from scratch a MojoPortal site with italian local, browser language _and pc timezone_?

Federico

8/15/2007 12:13:29 PM
Gravatar
Total Posts 18439

Re: Unable to add page content

Hi Federico,

I just sent you a new mojoPortal.Data.dll for Sqlite to see if it solves any of these time or localization issues.

Thanks,

Joe

8/15/2007 12:39:40 PM
Gravatar
Total Posts 18439

Re: Unable to add page content

I just added a page here http://www.mojoportal.com/timezonelocalization.aspx with information about how datetime is supposed to be handled and displayed in mojoPortal.

This should help clarify the expected behavior and therefore make it easier to point out and troubleshoot bugs.

Joe

8/15/2007 12:45:11 PM
Gravatar
Total Posts 22

Re: Unable to add page content

ah, that's explaining why I just was reading the page wondering why I did not notice it before!

I'm going to test the new dll

Federico

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