Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: problem with php-example

problem with php-example 13 years 10 months ago #288

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
I\'m running xampp on a windows xp machine. When I unzipped and opened the dbConfig.php to change the db values, nothing comes up in IE with the exception of a javascript error.

Any ideas what i might be missing? I was hoping the script would work right out of the box.

I noticed there is no ../css/base.css file in the css folder.

Please Log in to join the conversation.

phillipkuo.com

Re: problem with php-example 13 years 10 months ago #289

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Hi,

what is the error you see? Can you post the JavaScript error info?

Base.css is not required for the basic version of calendar.

Paste a screenshot if possible.

Please Log in to join the conversation.


Team Web2Cal.

Re:problem with php-example 13 years 10 months ago #290

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
here is what shows up on screen

[img/]


javascript error from IE7

Please Log in to join the conversation.

phillipkuo.com
Last edit: by philltx.

Re:problem with php-example 13 years 10 months ago #291

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Alright, I noticed the error too.

1. The CSS File Needs to be \"Web2Cal.css\" Instead of base.css
2. There is a trailing \",\" when you initialize the calendar. IE Does not like extra \",\"

I have updated the Basic Version 2.0. Please feel free to download the latest

web2cal.com/component/jdownloads/summary/3/2

I have attached a screenshot of it working in IE. Once you configure, it should work out of the box.

Admin

Please Log in to join the conversation.


Team Web2Cal.

Re:problem with php-example 13 years 10 months ago #292

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
That fixed the inital loading.

Is the monthly view supposed to be disabled like this?


And I am also getting the following error when I try to add an event:



It says:
An error occurred in your response function, NOT mybic related.  Error Name: Type Error Message; Cannot read property \'groupId\' of undefined Line: undefined

Please Log in to join the conversation.

phillipkuo.com
Last edit: by philltx.

Re:problem with php-example 13 years 10 months ago #293

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Month Issue, is my Mistake. I ran a partial build and it missed Month File (Apologies)..

The second issue is coz, the calendar is unable to connect to DB. If it could have connected, you should have seen 2 groups in the group box. Please check the connection. During load monitor myBic\'s response. Or Check if you have loaded the Calendar table with values. It is specified in the readme.txt

INSERT INTO calendar(calendar_id,calendar_name) VALUES (1,\'Work\'), (2,\'Personal\');

Admin

Please Log in to join the conversation.


Team Web2Cal.

Re:problem with php-example 13 years 10 months ago #294

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
I have built it again.. (hope I didn\'t mess it now ! )

Please Log in to join the conversation.


Team Web2Cal.

Re:problem with php-example 13 years 10 months ago #295

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
awesome, the Month view works now. thanks!

Still struggling with the database connection, even while using the mysql root user.

Please Log in to join the conversation.

phillipkuo.com

Re:problem with php-example 13 years 10 months ago #296

  • philltx
  • philltx's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
I figured it out what was going on with my database problems.

the php-example/src/dbconfig.php is missing \'php\' part of the opening delimiter.
its \"<?\" instead of \"<?php\"

may want to update that in your demo build.

Please Log in to join the conversation.

phillipkuo.com

Re:problem with php-example 13 years 8 months ago #335

  • shirish
  • shirish's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
I am also facing the same problem while adding the events in month view ie listed below:
An error occurred in your response function, NOT mybic related. Error Name: Type Error Message; Cannot read property \'groupId\' of undefined Line: undefined

I have also checked the dbconfig file for DB connections and also Calendar table with values
but still groups in the group box are empty.

Thanks in advance

Please Log in to join the conversation.

Last edit: by shirish.
  • Page:
  • 1
Time to create page: 0.426 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US