Zickey Calendar - Single event issue

30 posts by 7 authors in: Forums > CMS Builder
Last Post: April 5, 2012   (RSS)

By gkornbluth - April 9, 2011

Hi all,

I just re-zipped the working calendar files (events.ini, calendar5.php, calendar5.css, eventsdetail.php, readme) from the Cookbook web site, so please download them from http://www.thecmsbcookbook.com/downloads/zickey_calendar5.zip, and try installing them "as is" to test them out.

Hope that solves the single event issues you've been having.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Zickey Calendar - Single event issue

By northernpenguin - April 9, 2011

Jerry: thanks for update. I compared the files you recently uploaded to the version I had previously downloaded. The only difference I found was in events.ini.php. They are:

missing: _disablePreview = 0

[old file/new file]
diff: menuOrder = 1284036581 => menuOrder = 31
diff: [content] => [description]
diff: label = "Content" => label = "Description"

Basically, not enough differences to affect the display of a single event. I still have to insert both the end date and the day of the week for it to display.

Ragi
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By gkornbluth - April 9, 2011

Ragi,

These are the same files that work in the demo. (See April 10th at: http://www.thecmsbcookbook.com/calendar5.php)

I'm running CMSB V2.07 but I don't think that should make a difference

Do you think it could be a browser issue?

I just tested it in FF 4, IE 9, Chrome, Safari and Opera and except for the rounded corner issue, they all work fine.

I don't have access to older browser versions at the moment.

What browser and version are you using?

Could you try mocking up a test calendar with the files I in the zip?

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Zickey Calendar - Single event issue

By northernpenguin - April 9, 2011

Safari v5.0.4
FF v 5.0
IE 8.0

What version of PHP are you using?

My server environment is as follows:
Linux 2.6.18-194.11.4.el5
MySQL v5.0.92
Apache
PHP v5.3.6

Could you try my calendar and tell me what you see? There should be only 2 events in April. One single event with end date and one without.

http://rcl618.ca/calendar.php

Thanx

Ragi
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By gkornbluth - April 9, 2011

Ragi,

I only see the one event on April 9. but I'm at a loss to understand why.

CMSB 2.07 yes?

If you attach the components you used (php.ini, calendar.php) I'll put them up on my server and see what happens.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Zickey Calendar - Single event issue

By northernpenguin - April 9, 2011

Actually, I'm using CMSB 2.06.

Let me upgrade and see if it makes a difference.
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By gkornbluth - April 9, 2011

OK, it shouldn't, but you never know...

meanwhile, post the 2 files and I'll see what I get

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Zickey Calendar - Single event issue

By northernpenguin - April 9, 2011

As requested, see attached.
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke
Attachments:

php.ini 1K

calendar_001.php 16K

Re: [gkornbluth] Zickey Calendar - Single event issue

By northernpenguin - April 9, 2011

Jerry: upgraded to CMSB v2.07. As I thought, no diff. Must be a php.ini setting.

Ragi
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By gkornbluth - April 9, 2011

Hi Raji,

Sorry, but the other file I was looking for was the events.ini.php in the data/schema folder. (unless you used the one that I uploaded this morning)

On the calendar.php page you sent me I only changed the load viewer library call and deleted the two tables in your get records calls so it would access my server. Then I uploaded it and the calendar part of the page seems to work fine. (See April 10)


http://thecmsbcookbook.com/raji_calendar.php


So...

I'd start troubleshooting by removing all of the script and css calls from your page except for the calendar5.css, and also delete the two get records calls at the top of the page.

Then see if the calendar portion of the page works for you then.

If you can get it to work after all that, start putting the other stuff back in one at a time and see which one breaks the calendar.

If not, as another test, you might also want to try renaming the php.ini to disable it and see what that does.

My best guess after testing the page on my server is that it's not the calendar code on the page, and if you used the events.ini.php from this morning then it's not the event's table structure.

Must then be something in your server setup or server php.ini setting.

let me know what you find so I can document it for others.

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php