Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 07:46:53 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149621
Posts in
21098
Topics by
7537
Members
Latest Member:
lotte2
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
New Event Calendar v1.21b up to V1.3
Pages:
1
2
[
3
]
4
5
...
7
Go Down
Author
Topic: New Event Calendar v1.21b up to V1.3 (Read 46849 times)
i2Paq
Offline
Posts: 507
Re: New Event Calendar v1.21b
«
Reply #50 on:
October 31, 2005, 03:16:54 PM »
Yep, that does the trick!
Ok, so, how do I correct the faulty ones without having to destroy all the data in the calendar(s)?
Logged
Opensource is my life, but then elsewhere.
Bennie_wijs
Offline
Posts: 230
Re: New Event Calendar v1.21b
«
Reply #51 on:
November 01, 2005, 11:42:57 AM »
Quote from: i2Paq on October 31, 2005, 03:16:54 PM
Yep, that does the trick!
Ok, so, how do I correct the faulty ones without having to destroy all the data in the calendar(s)?
I will create a update script as well, as soon as I find some time.
Logged
I believe what I want to Believe
Bennie_wijs
Offline
Posts: 230
Re: New Event Calendar v1.21b
«
Reply #52 on:
November 03, 2005, 09:48:31 AM »
Well, found out that I have a time problem for the next month or so.
So I placed the files of Matthias in the zip file and placed that on the Completed modules list.
Did add the contents of file repair_event_search
.php in to upgrade_event.php
Quote from: i2Paq on October 31, 2005, 03:16:54 PM
Ok, so, how do I correct the faulty ones without having to destroy all the data in the calendar(s)?
i2Paq run the repair_event_search
.php from Matthias.
Or if you download the module again from the Completed list run upgrade_event.php
Logged
I believe what I want to Believe
i2Paq
Offline
Posts: 507
Re: New Event Calendar v1.21b
«
Reply #53 on:
November 03, 2005, 10:06:33 AM »
Quote from: Bennie_wijs on November 03, 2005, 09:48:31 AM
Well, found out that I have a time problem for the next month or so.
So I placed the files of Matthias in the zip file and placed that on the Completed modules list.
Did add the contents of file repair_event_search
.php in to upgrade_event.php
Quote from: i2Paq on October 31, 2005, 03:16:54 PM
Ok, so, how do I correct the faulty ones without having to destroy all the data in the calendar(s)?
i2Paq run the repair_event_search
.php from Matthias.
Or if you download the module again from the Completed list run upgrade_event.php
OK, I will first test it tonight on an almost empty DB
Logged
Opensource is my life, but then elsewhere.
i2Paq
Offline
Posts: 507
Re: New Event Calendar v1.21b
«
Reply #54 on:
November 03, 2005, 05:18:23 PM »
It
works
! Thanks!
Logged
Opensource is my life, but then elsewhere.
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #55 on:
November 11, 2005, 12:50:02 AM »
I just installed the latest version of this calendar, and it installed fine, but my event descriptions and links do not show up.. I saw a couple posts about it in this thread, but no solutions.
After doing some testing here is what I found, when on the admin page, I click on 'add event' it then pops up with a message saying "Success" then waits about 2 seconds and goes to the add a link page.
At this point, with out doing anything, I look at the database, and an entry is created that looks like this;
+---------+------------+----------+------------+------------+-------------------+-------------------+
| page_id | section_id | event_id | date | event_desc | evweb_url | name_link |
+---------+------------+----------+------------+------------+-------------------+-------------------+
| 50 | 50 | 2 | 2005-11-10 | | | |
+---------+------------+----------+------------+------------+-------------------+-------------------+
(Basically its blank)
I fill out the form for the new entry, hit save, and it takes me back to the pages menu.. Nothing else is added to the database.
Something is not right here.. Anyone know why this is happening?
-Steve
«
Last Edit: November 11, 2005, 01:13:24 AM by Fratm
»
Logged
Bennie_wijs
Offline
Posts: 230
Re: New Event Calendar v1.21b
«
Reply #56 on:
November 11, 2005, 03:37:25 PM »
Quote from: Fratm on November 11, 2005, 12:50:02 AM
I fill out the form for the new entry, hit save, and it takes me back to the pages menu.. Nothing else is added to the database.
Something is not right here.. Anyone know why this is happening?
-Steve
Well I have just installed the modules that I just downloaded from the completed modules list on a clean WB.
And I cannot reproduce the problem.
Your discription is correct, if you say add. it will create a blank entry in the database, you then jump to the modify script.
and add more data to the database entry.
But can you see under "Modify/Delete Events" something like this:
Settings | Add Event
: - 11-11-2005 Event:
P.S.
Dit you save the settings on the begin page???
Logged
I believe what I want to Believe
BlackLotus
Offline
Posts: 5
Re: New Event Calendar v1.21b
«
Reply #57 on:
November 12, 2005, 07:41:13 PM »
Hi, I have nearly the same problem.
When I add an event, it is saved, but with no text inside.
And my other problem is that when I install the event calendar, it is apache who ownes the files, so I cannot change the language file. Is there a possibility to add a php code, to chmod to 777?
«
Last Edit: November 12, 2005, 07:45:29 PM by BlackLotus
»
Logged
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #58 on:
November 15, 2005, 05:55:54 PM »
Quote from: Bennie_wijs on November 11, 2005, 03:37:25 PM
Well I have just installed the modules that I just downloaded from the completed modules list on a clean WB.
And I cannot reproduce the problem.
Your discription is correct, if you say add. it will create a blank entry in the database, you then jump to the modify script.
and add more data to the database entry.
But can you see under "Modify/Delete Events" something like this:
Settings | Add Event
: - 11-11-2005 Event:
P.S.
Dit you save the settings on the begin page???
Yes, I see an event in there that looks like what you said, but if I modify it, and then save, nothing saves. And yes, settings were saved on teh begin page.
I am at a loss as to why this does not work for me, and why you can not reproduce the problem. But I also see other people are having the same problem, so I do not believe it is 'just me'...
-Steve
Logged
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #59 on:
November 15, 2005, 06:23:26 PM »
Some more trouble shooting information.. In the save_event.php code, I added this little bit of code, for debugging.
Code:
// Get id
if(!isset($_POST['event_id']) OR !is_numeric($_POST['event_id'])) {
echo "Bombed out here....<br>";
while (list($key, $value) = each($_POST)) {
echo "Key: $key; Value: $value<br>\n";
}
exit(0);
header("Location: ".ADMIN_URL."/pages/index.php");
}
The output in the web browser looks like this
Code:
Bombed out here....
Key: section_id; Value: 50
Key: page_id; Value: 50
Key: event_id; Value:
Key: month; Value: 11
Key: day; Value: 15
Key: year; Value: 0
Key: copydays; Value: 1
Key: event_desc; Value: This is a test.
Key: evweb_url; Value: This should be the URL field
Key: save; Value: Save
So it looks like event_id is not being passed to the save_event.php routines.. Any ideas?
-Steve
Logged
pcwacht
Guest
Re: New Event Calendar v1.21b
«
Reply #60 on:
November 15, 2005, 07:28:00 PM »
maybe you ahve register_globals
off
??
I had same with the addon template edit.
Some variables were passed, others not. Digged in the code to see why.
add a hidden field with event_id to the form. And get it.
John
Logged
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #61 on:
November 15, 2005, 08:01:31 PM »
Quote from: pcwacht on November 15, 2005, 07:28:00 PM
maybe you ahve register_globals
off
??
I had same with the addon template edit.
Some variables were passed, others not. Digged in the code to see why.
add a hidden field with event_id to the form. And get it.
John
Yes register_globals is off, and it should be. Leaving them on is bad security wise.
What is the event_id? I believe this is stored in the sql database, so it should be getting this veriable when it gets other veriables stored in the sql database.
Also looking at the source of the form, I see this.
Code:
<form name="modify" action="http://webdev.santarosa.edu/wb/modules/event/save_event.php" method="post" style="margin: 0;">
<input type="hidden" name="section_id" value="50">
<input type="hidden" name="page_id" value="50">
<input type="hidden" name="event_id" value="">
So it looks like when it creates the form, it does try to add the event_id, its just blank..
Also in the sql table, it shows the event_id field, with a valid value.
Code:
mysql> select * from wb_mod_event_dates;
+---------+------------+----------+------------+------------+-----------+-----------+
| page_id | section_id | event_id | date | event_desc | evweb_url | name_link |
+---------+------------+----------+------------+------------+-----------+-----------+
| 50 | 50 | 2 | 2005-11-10 | | | |
+---------+------------+----------+------------+------------+-----------+-----------+
1 row in set (0.00 sec)
So somewhere in the code that makes the form, when editing an entry, it loses the event_id veriable.
-Steve
Logged
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #62 on:
November 15, 2005, 08:25:40 PM »
Ok, so this is a register_globals issue, so a quick fix is to add the following line at line #37 in change_event.php
Code:
$event_id = $_GET[event_id];
If more php programmers would realize that register_globals is bad, and now comes defaulted to turned off, life would be much simpler.
-Steve
Logged
aggiedad
Offline
Posts: 57
Re: New Event Calendar v1.21b
«
Reply #63 on:
November 15, 2005, 11:58:04 PM »
I tried using the event calendar with my new install of WB. I was given the following error message.
Fatal error: Call to a member function on a non-object in /home/mrsimmo/public_html/wb/modules/event/modify.php on line 32
Can you help me troubleshoot this?
Thanks,
Don Simmons
Logged
Fratm
Offline
Posts: 101
Re: New Event Calendar v1.21b
«
Reply #64 on:
November 16, 2005, 06:34:06 PM »
Quote from: aggiedad on November 15, 2005, 11:58:04 PM
I tried using the event calendar with my new install of WB. I was given the following error message.
Fatal error: Call to a member function on a non-object in /home/mrsimmo/public_html/wb/modules/event/modify.php on line 32
Can you help me troubleshoot this?
Thanks,
Don Simmons
I don't see anything wrong in that line..
Code:
$fetch_page_content = $query_page_content->fetchRow();
But doing a google leads me to think
maybe
its an issue with the version of PHP that you are running.
-Steve
Logged
pcwacht
Guest
Re: New Event Calendar v1.21b
«
Reply #65 on:
November 16, 2005, 10:08:30 PM »
Offtopic :
Quote
If more php programmers would realize that register_globals is bad, and now comes defaulted to turned off, life would be much simpler.
Not that I think I am a good coder, but when new default is off and register_globals is bad, I changed php.ini on test - coding system to off.
John
Logged
Woudloper
Guest
Re: New Event Calendar v1.21b
«
Reply #66 on:
November 21, 2005, 11:43:12 PM »
Since I have not tested this module I thought why not ask since a lot of people downloaded and installed this module...
Would it be possible to create an overview of events that looks simular as the following table:
+---------+-------------------------------+-----------+
| date | Activity/Event | Location |
+---------+-------------------------------+-----------+
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
+---------+-------------------------------+-----------+
So you list the first upcoming event and all the other events are listed in this table? Hope to hear something like this is possible...
Logged
troy
Offline
Posts: 5
1.21c still producing extra head and body tags
«
Reply #67 on:
November 29, 2005, 02:21:33 AM »
WB newbie here, trying it out for a couple customer sites.
I just thought that I'd point out that this module, in the 1.21c version, is still producing an extra head and body tag, despite the reference to that having been fixed.
Logged
Lou
Offline
Posts: 6
Re: New Event Calendar v1.21b
«
Reply #68 on:
December 03, 2005, 12:48:03 AM »
This looks like just the module I'm looking for. Does it work for 2.6.0?
Logged
JesseG
Offline
Posts: 5
Re: New Event Calendar v1.21b
«
Reply #69 on:
December 06, 2005, 10:56:46 PM »
I had the same problem until I turned on REGISTER_GLOBALS in my PHP configuration. It's not good securoty practice to leave this setting "on", though, so I hope you'll fix that problem soon. Thanks.
Quote from: Fratm on November 15, 2005, 06:23:26 PM
Some more trouble shooting information.. In the save_event.php code, I added this little bit of code, for debugging.
Code:
// Get id
if(!isset($_POST['event_id']) OR !is_numeric($_POST['event_id'])) {
echo "Bombed out here....<br>";
while (list($key, $value) = each($_POST)) {
echo "Key: $key; Value: $value<br>\n";
}
exit(0);
header("Location: ".ADMIN_URL."/pages/index.php");
}
The output in the web browser looks like this
Code:
Bombed out here....
Key: section_id; Value: 50
Key: page_id; Value: 50
Key: event_id; Value:
Key: month; Value: 11
Key: day; Value: 15
Key: year; Value: 0
Key: copydays; Value: 1
Key: event_desc; Value: This is a test.
Key: evweb_url; Value: This should be the URL field
Key: save; Value: Save
So it looks like event_id is not being passed to the save_event.php routines.. Any ideas?
-Steve
Logged
pcwacht
Guest
Re: New Event Calendar v1.21b
«
Reply #70 on:
December 06, 2005, 11:17:54 PM »
few posts up :
http://forum.websitebaker.org/index.php/topic,1189.msg10888.html#msg10888
Quote
Ok, so this is a register_globals issue, so a quick fix is to add the following line at line #37 in change_event.php
Code:
Code:
$event_id = $_GET[event_id];
John
Logged
JTux
Offline
Posts: 13
Re: New Event Calendar v1.21b
«
Reply #71 on:
December 11, 2005, 08:32:22 AM »
I'm a complete newbie at all this, but I've just uploaded this module (1.21c) and it will not show, or seem to save, the events that I enter. I am using WB 2.6.
Is this a problem others have encountered? Can anyone help please?
Sorry about that post. I obviously can't read!! I now see the solution has already been posted.
«
Last Edit: December 13, 2005, 11:21:34 AM by JTux
»
Logged
cmiper
Offline
Posts: 34
Re: New Event Calendar v1.21b
«
Reply #72 on:
December 22, 2005, 09:50:54 PM »
Greetings...
Thanks for this module, it works well and was exactly what I needed to add to the site I am working on.
Now, for a question...
Is there a way to get around the 256 character limit when posting an event? When entering the event info, you can surpass 256 letters, but once submitted, the event is truncated to 256. If you go back and edit the event, it is now 256 letters long.
I am running into a few cases where the amount of info for the event is lengthy and not fitting to the event posts.
Thanks for any info.
Logged
YeShakka
Offline
Posts: 146
Problem adding an event
«
Reply #73 on:
December 23, 2005, 11:10:15 PM »
Hi,
i hav the latest version of WB and events installed.
When I wanna chage/add an event I can't change the year.
I am shown an option drop-down with options from -4, -3, -2, -1, 0, 1, 2, 3, 4.
And no change to edit the event correctly and modify existing events.
I already downloaded all files of the event module to my local server. There I don't have any problems. I don't know. Maybe another databesa error? (I yesterday did a brand new install so there should not be an database transfer error).
Please help me out!
Thanks!
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Event Calendar v1.21b
«
Reply #74 on:
December 24, 2005, 09:21:07 AM »
Hello,
are "register_globals" in php.ini off or on? Read this whole thread for mor information.
Matthias
Logged
Pages:
1
2
[
3
]
4
5
...
7
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...