This topic is locked

File Upload Aggravation

9/15/2010 12:46:03 PM
Calendar Template general questions
D
DouglasB author

So I use the 2010 version of the Calendar Template to create a jobs scheduling tool for my client and everything is workiing ok until they need to add files as attachments to the scheduled events. I think to myself, "No problem I've done this many time with other phprunner database projects." So I start to modify the mySQL and my Calendar.phpr files to add a field for file uploads and the project promptly breaks: "Fatal error: Call to undefined function: getvar() in /home/gaincoin/public_html/Calendar2/output/include/calmonthly_events.php on line 141" no matter what I do or how I control the settings for either file or even an image this error appears and I cannot run it down.
By now my code is so "frigged" up I need to start all over again and rebuild this project from scratch. The moral of this sad tale is if it ain't broke don't fix it!
If any of you wise programmers out there happen to have a calendar running under mySQL5 and phpRunner 5.2 with a working file upload for events would you share your code snippits?
DouglasB

Sergey Kornilov admin 9/16/2010

According to support ticket that was a compatibility issue. Upgrade to the latest version of PHPRunner and Calendar template solved the issue.