Home › Forums › Calendar Products › Events Calendar PRO › I screwed up a php file and need help
- This topic has 8 replies, 3 voices, and was last updated 13 years, 7 months ago by
Barry.
-
AuthorPosts
-
September 26, 2012 at 6:35 pm #25769
Matthew
ParticipantI have a problem with my site. I was in the forum last nite and read a post about making the calendar widget clickable. I tried and screwed something up. Now my site is a mess. Will support cover this?
I took the code at this link below and tried to input it into events-calendar-pro/lib/widget-calendar.class.php.
https://gist.github.com/2293961
No luck. I did not save the original php. I thought that I pasted it and when it did not work I simply deleted what I added and everything would be fine, but it wasn’t. I do not think i left any of this code and do not think I deleted any extra.
Then i got this error
Parse error: syntax error, unexpected $end in /home/borolife/public_html/wp-content/plugins/events-calendar-pro/lib/widget-calendar.class.php on line 121
So i deleted events calendar pro and reinstalled to see if defaults would fix all. No luck
now I can see some of my homepage but get this in the body. (also menu is screwed up)
Fatal error: Call to undefined function dynamic_content_gallery() in /home/borolife/public_html/wp-content/themes/jaxx/index.php on line 8currently site will show typical user that it is in maintenance mode.
September 26, 2012 at 6:50 pm #25770Barry
MemberHi Matthew,
That’s unfortunate.
From the sound of things you’ve removed any trace of the modification you made and judging by the fatal error you have quoted this relates to some code in your theme (“Jaxx”?).
Would it be possible for you to switch to a default theme such as Twenty Eleven and see if that removes the issue? Then we would definitely know that it is related to the custom theme and could troubleshoot from there.
At the moment this isn’t really sounding to me like it is a problem stemming from The Events Calendar, even though the chain of events you have described might lead you to think that.
Are there any recent changes that you made to your theme? Do you know if your theme depends on another plugin being installed and activated?
September 26, 2012 at 7:26 pm #25772Matthew
ParticipantThe only recent thing i did was correct the parameters of the calendar by pasting
#tribe-events-content .tribe-events-calendar td .tribe-events-event {
width: 66px;
}
in my style sheet.Otherwise nothing.
I should have left it alone but that fix seemed to work really easy so i thought “that was easy” lets….
Anyway. There are multiple plugins installed within this theme, but i have not made any changes other than what i have mentioned. Everything was working fine. You are welcome to take a look. shoot me an email address and I will give you access. Otherwise, I was just hoping for a “you did this and now you need to change this” but it sounds more complicated.September 26, 2012 at 7:31 pm #25773Barry
MemberWell, I mean the fact that you modified Events Calendar PRO but then erased the plugin and re-installed it afresh suggests any customizations have been obliterated, unless I’m misunderstanding you.
As in my last post, right now it is rather sounding like the problem is some code lurking in your theme:
Fatal error: Call to undefined function dynamic_content_gallery() in /home/borolife/public_html/wp-content/themes/jaxx/index.php on line 8Does switching back to Twenty Eleven (temporarily of course) resolve the problem? I don’t mean that to be a long term solution, just a means of zeroing in on the underlying cause.
September 26, 2012 at 7:48 pm #25775Matthew
ParticipantWell, I greatly appreciate the help, but honestly I do not even know how to switch it. I thought I could, but no luck. Obviously not in the right place. I guess I will need to shell out the bucks to have the pros figure it out.
September 26, 2012 at 8:11 pm #25777Barry
MemberOK, that’s a shame. Changing the theme is described here, if that’s any help to you.
September 26, 2012 at 8:44 pm #25778Jonah
ParticipantFYI, I also just replied to an email Matthew sent to us on this topic and sent him a fresh copy of widget-calendar.class.php here: http://cl.ly/code/3I3O0z1N3a41
Matthew, please follow up here in the thread vs. via email so we can stay on the same page and keep things organized.
Thanks,
JonahSeptember 27, 2012 at 7:47 am #25789Matthew
ParticipantIt’s fixed as of now. thx for all of your help. It was another plugin that all of the sudden created an issue.
September 27, 2012 at 8:27 am #25792Barry
MemberCool, glad you’ve got it sorted 🙂
-
AuthorPosts
- The topic ‘I screwed up a php file and need help’ is closed to new replies.
