Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:29:26 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155554 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: 1 ... 3 4 [5]   Go Down
Print
Author Topic: Yet another event calendar  (Read 42609 times)
ichmusshierweg

Offline Offline

Posts: 23


« Reply #100 on: January 14, 2010, 06:12:56 PM »

Hi guys, I got exactly the same problem. Does anybody know how to solve it?

Cheers
Karsten

Hi,

I have add this Modul on my Site and it was simply.
But i have a Problem.

I can`t edit the start and end Date in the Backend.
there`s  javascript problem, i think so.

if i cklick on the scw.gif for edit the date, nothing happens.

Who can help me?


thanks   
Logged
mikejd

Offline Offline

Posts: 160


« Reply #101 on: February 22, 2010, 06:44:29 PM »

I have this module installed on a site and it was working fine.

Today it has developed a problem. If one of the small calendars at the top is clicked, ie to move forward or back a month, I just get an error message of 'Page not found'. It was working last time I looked at it.

Any help appreciated.
cheers,
mike
Logged
nkotozinde

Offline Offline

Posts: 8


« Reply #102 on: September 04, 2010, 11:20:09 PM »

hi,
has anybody solved the problem discribed by ichmussweghier and laola?
i've got the same problem. ich cant edit the start- and end-date. nothing happens and a js-error is displayed:

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector .1.5; OfficeLivePatch.1.3; .NET4.0C)
Zeitstempel: Sat, 4 Sep 2010 22:17:20 UTC

Meldung: ';' erwartet
Zeile: 221
Zeichen: 56
Code: 0
URI: /admin/pages/modify.php?op=edit&page_id=1&section_id=85&entry_id=2

Meldung: 'setEndDate' ist undefiniert
Zeile: 1681
Zeichen: 1
Code: 0
URI: /admin/pages/modify.php?op=edit&page_id=1&section_id=85&entry_id=2


i tried to change the scw.js to the original file, which was in the module zip-file
now the calender is displayed, but every date i enter is saved as 12-1999

please help me.

greetz
chris
Logged
erutter

Offline Offline

Posts: 60


« Reply #103 on: December 03, 2010, 12:22:04 PM »

I have a problem with the event calender (mod). I use the 2.8.1. version of websitebaker.
then i installed the module, but when I trie to write a new event, then i cannot write into the date-form.

here the error from the error log (in german):

Meldung: ';' erwartet
Zeile: 167
Zeichen: 56
Code: 0
URI: ....modify.php?op=add&page_id=86&section_id=94


Meldung: 'setEndDate' ist undefiniert
Zeile: 1627
Zeichen: 1
Code: 0
URI: ..../modify.php?op=add&page_id=86&section_id=94



can anybody help me or give me any tipp??

thanks!
Logged
Nigel

Offline Offline

Posts: 51


WWW
« Reply #104 on: January 22, 2011, 09:28:31 PM »

Has anybody solve the problem? Any idea?!  sad sad sad
Logged
Nigel

Offline Offline

Posts: 51


WWW
« Reply #105 on: January 24, 2011, 07:49:21 PM »

Solution (in german):

geh mal in die languages/DE.php und ändere zeile 19 von:
Code:
$SMTEXT['pick_calendar']['text01'] = 'Klick hier für \'drag and drop\'';

in
Code:
$SMTEXT['pick_calendar']['text01'] = 'Klick hier für \"drag and drop\"';
Logged
beatjost

Offline Offline

Posts: 66


« Reply #106 on: April 16, 2012, 11:03:48 PM »

I installed a new instance of WB and also the event calendar (v1.1.1)... Actually I have the problem, that when I thy to add a new event from the backend, I'm droped to the pages overview and my event is not stored to database. Has anyone an idee what could be the problem there?
Logged
beatjost

Offline Offline

Posts: 66


« Reply #107 on: April 23, 2012, 04:05:13 PM »

Again me because of my previous problem not beeing able to submit events anymore...
What else I noticed is that the Code in the PHP file looks as follows:

Code:
<form name="new_event" action="<? $_SERVER['PHP_SELF'] ?>?page_id=<?= $page_id?>" method="post">

But when I have a look at the generated source, it looks a bit different:
Code:
<form name="new_event" action="?page_id=8" method="post">

Seems as if some variables could not be resolved, could this have an impact on my problem? Does anyone have an idea or any hint how to test this? When I submit the form I'm taken back to the page overview...
Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #108 on: April 23, 2012, 05:43:41 PM »

Maybe that helps

replace
Code:
$_SERVER['PHP_SELF']

with
Code:
$_SERVER['SCRIPT_NAME']

Dietmar
Logged

We are human beings - and nobody is perfect at all.
beatjost

Offline Offline

Posts: 66


« Reply #109 on: April 24, 2012, 12:57:05 PM »

$_SERVER['SCRIPT_NAME'] did also not work  sad But thx anyway
same output: <form name="new_event" action="?page_id=8" method="post">
(PHP-Version is 5.3.5 - register_globals = off)

Using <?php echo htmlspecialchars($_SERVER['PHP_SELF']);?> gives me a better output, but still no success.
Could this probably be a problem with the settings for register_globals?
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #110 on: April 24, 2012, 06:45:58 PM »

Don't use short tags;
<?
is not equal to <?php
Allso a echo might be required to show something
And finally all php commands should be closed with ;

thus change:
Code:
<form name="new_event" action="<? $_SERVER['PHP_SELF'] ?>?page_id=<?= $page_id?>" method="post">
to
Code:
<form name="new_event" action="<?php echo $_SERVER['PHP_SELF']; ?>?page_id=<?php echo $page_id?>" method="post">

Have fun,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: 1 ... 3 4 [5]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!