Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

bday panel error

Asked Modified Viewed 1,204 times
B
barman
B
barman 10
http://www.webchat.one
http://www.w-talk.one
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 10 threads in the forums
  • Started this discussions
asked
Junior Member

I receive troubles with:
1) admin/add_event.php
Ongedefinieerde variabele: all_day Line: 115
114 $event_month = $mon;
115 result = dbquery("INSERT INTO ".DB_BDAY_EVENTS." (event_title, event_desc, link_url, link_name, event_start, event_end, event_month, start_time, end_time, all_day, event_day) VALUES('".$event_title."', '".$event_desc."', '".$link_url."', '".$link_name."', '".$event_start."', '".$event_end."', '".$event_month."', '".$start_time."', '".$end_time."', '".$all_day."', '".$event_day."'wink"wink;
116 }

2) bday_panel/event_day.php
Ongedefinieerde variabele: cMonth Line: 35

35 $events = dbquery("SELECT * FROM ".DB_BDAY_EVENTS." WHERE event_day='".$_GET['event_day']."' AND event_month=".$cMonth.""wink;
if (dbrows($events)) {
while ($data = dbarray($events)) {
$ev_id = $data['event_id'];
$title = $data['event_title'];
$desc = $data['event_desc'];
$link = $data['link_url'];
$name = $data['link_name'];
$sdate = $data['event_start'];
$dt1 = new DateTime($sdate);
$edate = $data['event_end'];
$dt2 = new DateTime($edate);
$stime = $data['start_time'];
$etime = $data['end_time'];
if ($data['all_day'] == 'yes'wink {
$tspan = $locale['bp_510'];
} else {
$tspan = $locale['bp_512'];
}
if ($stime) {
$time_span = $stime.$locale['bp_511'].$etime;
} else {
$time_span = $tspan;
}
echo "<p></p><table align='center' width='650' border='0' cellspacing='2' cellpadding='3' class='tbl-brdr1'><tr>n";
echo "<td class='title2' colspan='2' valign='middle'><img src='./images/event.gif' alt=''>  ".$locale['bp_501']."$title</td>n";
echo "</tr><tr>n";
echo "<td class='tbl1' width='128'>".$locale['bp_403']."  </td><td class='tbl1'>".parseubb(parsesmileys($desc))."</td>n";
echo "</tr><tr>n";
echo "<td width='100%' colspan='2'>n";
echo "<table width='100%' cellpadding='3' cellspacing='8' border='0'><tr>n";
echo "<td class='tbl2'>".$locale['bp_405a']."  ".$dt1->format('m-d-Y'wink."</td><td class='tbl2'>".$locale['bp_406a']."  ".$dt2->format('m-d-Y'wink."</td><td class='tbl2'>".$locale['bp_411a']."  $time_span</td>n";
echo "</tr></table></td>n";

How can i fix that? Thanks
1 reply

6 posts

G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

@barman
I see that you are usiung PHP-Fusion 8. I have a proposition for you; would you be interested in upgrading to Fusion 9.10.20? If so I have the perfect solution for you. I took MY bday_panel and totally revamped it to work with Fusion9 and renamed it to 'event_cal_panel'. W/O seeing your site I don't know if you can easily upgrade your install but if you can then you can download my new 'event_cal_panel' from my site. First of all check out my site where you can see the event cal panel in all it's ERROR FREE glory.
https://grimswebdesign.us
Edited by Grimloch on 11-06-2022 13:51,
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

What PHP version (not PHP-fusion) version are you running?

Can you provide a link to the panel where I can download it?
1 reply
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

OOPPSSsss..... I'm sorry; that's what I get for assuming; I do it all the time drives my wife crazy!! LOL
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

@barman
Hey man in case you're interested I degraded my PF9 Event Calendar to work flawlessly on Fusion 8.00.90. Go to my site in the previous post (grimswebdesign.us) and highlight the Community tab in the dropdown menu at the top and select Downloads. It's public as are all my downloads.
0 replies
— 1 month later —
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
answered
Senior Member

Grimloch,
Installed Birthday Panel into Fusion 8.00.100 on PhP 7.4.15 and got these errors:

db_handlers/pdo_functions_include.php
Query Error: ALTER TABLE fusion25vmE_users ADD user_bd_pm varchar(4) not null default ''
Stack Trace: #0 /home/xxxxxx/xxxxxx/xxxxxx/includes/db_handlers/pdo_functions_include.php(43): PDOStatement->execute() #1 /home/xxxxxx/xxxxxx/xxxxxx/infusions/bday_panel/infusion.php(70): dbquery(' ALTER TABLE...'wink #2 /home/xxxxxx/xxxxxx/xxxxxx/administration/infusions.php(175): include('/home/carlub/fr...'wink #3 {main}
Error Nature: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'user_bd_pm' Line: 50 August 07 2022 15:29:05

New
bday_panel/bday_manager.php
Undefined variable: sbg Line: 65

Any idea where to fix????

Gene
1 reply
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
answered
Senior Member

Thanks Grimlock....works like a champ!
0 replies

Labels

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

G
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
B
B
barman 10
http://www.webchat.one
http://www.w-talk.one
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 10 threads in the forums
  • Started this discussions
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
D
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet