Welcome,
Guest
|
|
Hello,
I'm trying to run the php example from your basic package but I run into some issues. Actually I have implemented all steps from the README file (run the SQL queries, configure dbConfig.php) but when try to open calendar.php - I get only a blank page. If I try to open it via IE8, following errors appear: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Timestamp: Thu, 28 Jan 2010 23:37:05 UTC Message: 'Web2Cal' is undefined Line: 98 Char: 1 Code: 0 URI: test.doit.bg/js/web2cal.support.js Message: 'Web2Cal' is undefined Line: 2 Char: 3 Code: 0 URI: test.doit.bg/js/web2cal.default.template.js Message: 'Web2Cal' is undefined Line: 13 Char: 1 Code: 0 URI: test.doit.bg/js/icalparser.js Message: 'Web2Cal' is undefined Line: 105 Char: 9 Code: 0 URI: test.doit.bg/php-examples/calendar.php Thanks in advance for your help. Regards, Daniel |
Please Log in to join the conversation. |
|
when changing from Web2Cal-1.2.8-min.js to Web2Cal-1.2.9-min.js. it loads the calendar perfectly, but when i'm adding an event it seems the "Group" dropdown is not loading from 'calendar' table. so I can't add an Event, Thanks in advance for your help
|
Please Log in to join the conversation. |
|
If you can't see any values in the drop down, a good chance is that, your DB configuration isn't right.
Can you see 2 calendars in the groups list on the left side(under "hide/show")? If you can't see, then definitely your DB config isn't right. Let me know how it goes |
Please Log in to join the conversation. |
|
Thanks
After I remark include('dbConfig.php') on createevent.php,getevents.php,updateevent.php,deleteevent.php and change the $db = new db( parameter with my environment, then the php examples is working perfectly |
Please Log in to join the conversation. |
|
I have exactly the same problem, <script src="../js/Web2Cal-1.2.9-min.js"> </script> was modified in calendar.php
BUT why dbConfig.php is not called? how rewrite exactly the $db = new db(EZSQL_DB_USER, EZSQL_DB_PASSWORD, EZSQL_DB_NAME, EZSQL_DB_HOST); ?? with my localhost test configuration define("EZSQL_DB_USER", "root"); // <-- mysql db user
define("EZSQL_DB_PASSWORD", ""); // <-- mysql db password
define("EZSQL_DB_NAME", "w2cbasicdemo"); // <-- mysql db pname
define("EZSQL_DB_HOST", "localhost"); // <-- mysql server host |
Please Log in to join the conversation. |
|
OK it's solved:
I have put the source of dbConfig.php instead of include('dbConfig.php'); <?php error_reporting(E_ERROR); define("EZSQL_DB_USER", "root"); // <-- mysql db user define("EZSQL_DB_PASSWORD", ""); // <-- mysql db password define("EZSQL_DB_NAME", "w2cbasicdemo"); // <-- mysql db pname define("EZSQL_DB_HOST", "localhost"); // <-- mysql server host include('dbutil.php'); ?> |
Please Log in to join the conversation. |
|
I am facing the same problem neither group combobox gets populated with db values nor
2 calendars in the groups list on the left side(under \"hide/show\")? are seen,Also I wanted to ask whether createevent.php,getevents.php,updateevent.php,deleteevent.php are missing in basic version download....does we have to buy the premium version for it??? |
Please Log in to join the conversation. |
|
I am facing the same problem neither group combobox gets populated with db values nor
2 calendars in the groups list on the left side(under \"hide/show\")? are seen,Also I wanted to ask whether createevent.php,getevents.php,updateevent.php,deleteevent.php are missing in basic version download....does we have to buy the premium version for it??? |
Please Log in to join the conversation. |