Tuesday, 05 January 2016
  10 Replies
  1.8K Visits
0
Votes
Undo
Hi,

I'm getting an error:
"Warning: include(/home/harbo10/public_html/includes/calendar.php) [function.include]: failed to open stream: No such file or directory in /home/harbo10/public_html/templates/haic-site/index.php on line 221"

The calendar.php file is not there, but should it be? I've updated to the latest JEvents, and still get the same error. I'm not sure if this is related or not to JEvents.

Looking at the templates/ file I see this line: include(JPATH_ROOT.DS.'includes'.DS.'calendar.php');

I've not changed anything on the server (but it doesn't mean that perhaps one of my clients/users haven't ???).

EDIT - Additional information:
When trying to add another event I get an error message pop-up window stating -
"Missing Calendar Selection". And, when trying to put a date in the calendar area it will not let me go past 12/31/15. It does let me type in whatever date, but still no matter what date I place in there I get the same error. Also, looking at an already entered/saved event it does not display on the front end.

Any help or insight is appreciated.

thanks!





PHP Version : 5.3.25
MySQL Version : 5.5.42-cll
Server Information : Linux kokab.lunarservers.com 2.6.18-448.4.1.el5.lve0.8.69.1PAE #1 SMP Tue Jul 2 18:57:57 EEST 2013 i686
*** CONFIG NOT SAVED***
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Joomla : 3.4.3
component_com_jevents : 3.4.4
module_mod_jevents_cal : 3.4.4
module_mod_jevents_custom : 3.4.4
module_mod_jevents_filter : 3.4.4
module_mod_jevents_latest : 3.4.4
module_mod_jevents_legend : 3.4.4
module_mod_jevents_switchview : 3.4.4
plugin_content_jevents : 3.4.4
plugin_finder_jevents : 3.4.4
plugin_search_eventsearch : 3.4.4
plugin_system_gwejson : 3.4.4
9 years ago
·
#162532
0
Votes
Undo
Hello,

This looks like it is caused by your template. What is on line 221 of:


/home/harbo10/public_html/templates/haic-site/index.php

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#162533
0
Votes
Undo
Thanks for taking a look and for the reply. On line 221 is:
Looking at the templates/ file I see this line:
include(JPATH_ROOT.DS.'includes'.DS.'calendar.php');

I agree this error is caused from the template, but the problem is also affecting me to be unable to create new events, or display current events that were already entered. It will not allow me to use any dates when trying to create an event, AND it will not even let me select dates in 2016 or beyond. Strange.

For interest, I did comment out this line in the template file, and the error no longer displays, but I'm still unable to use JEvents to create and event etc.

thanks!
9 years ago
·
#162534
0
Votes
Undo
Hello,

Therefore you need to contact your template creator as they have added their own calendar.php file and it has nothing to do with JEvents.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#162535
0
Votes
Undo
Does JEvents have a calendar.php file associated with it? Or are you saying it doesn't and this is just required for the template? Are you saying the template provider overwrote the JEvents calendar.php file? The template in use has been running for a couple years without issue, until just now.

I found that I was unable to add dates past 2015 because of the configuration. I changed "Last Year to Display in Calendar" to 2020 and I can now add events. But, they still do not show up when clicking on a link on them on the front end.

I can definitely try to reach out to the template developer to see if they can provide any insight, although it is a couple years past, but it seems very strange to me that the template would disable use of JEvents being created or accessed (all of the sudden).

As you can tell, I'm confused on the use of or who provides this "calendar.php" file. Does JEvent have one? Or are you saying they do not, and this is purely something of the template and it is conflicting right now for some reason. :confused:

thanks!
9 years ago
·
#162536
0
Votes
Undo
For a test I changed the template to a default template provided by Joomla, I guess, and it still doesn't allow me to view any events that are entered. Really seems like something not working with JEvents??? On the home page it will display a list of events but if you click on one to view it brings up nothing (a page that displays the event calendar, but nothing there).
9 years ago
·
#162537
0
Votes
Undo
Hello,

It depends what they are using the calendar.php file for.

JEvents mini calendar module contains a calendar.php file, but this is irrelevant to the use of your template.

The problem is you template trying to load a file which it cannot find, you have shown the code your template is trying to execute which it cannot. This cannot be a JEvents problem.
public_html/includes/calendar.php

Has nothing to do with JEvents. It is possible it is a deprecated Joomla! file which Joomla! have removed in the latest updates.

The events will be visible in the frontend if you go far enough into the future. What menu item type are you using to view these future events?

If when viewing events it brings up a white page this could be PHP related due to running out of memory.

Please provide a link and a way of replicating the issue you are having.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#162538
0
Votes
Undo
Hi,

Thanks for offering to take a look. I'm not very versed in Joomla so any help or direction is appreciated.

Here is the site URL: http://harborassn.com/
In the mid/lower left two events are listed. One is a new test event, and another is a live event. When clicking on either they should go to the event detail page (the live one used to), but instead they go to an events calendar page. If you click on "view all events" it displays the registration links (which uses DT Register) and those work fine. I guess I'm not understanding why the URL wouldn't display the event details now. I get that the calendar.php file isn't there, but I guess I'm not sure how that would relate to the URL (but I guess could?!).

Maybe you taking a quick look will give you a better idea what I'm talking about and you may see something blatant that is beyond me.

(if I put a dummy calendar.php file in the spot the errors go away, but all works the same with it there or not. Of course, this missing calendar.php may needing to do this?)

Thanks again for taking a look!
9 years ago
·
#162539
0
Votes
Undo
Hello,

Can you check:

JEvents -> Custom Layouts -> Event Detail

Is this published? If not can you try publishing it?

You should also have a JEvents Menu Item too. Then edit the module which is loading the two events at the bottom and set the Target Menu Item to the new JEvents Menu item. This will improve the workflow.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#162540
0
Votes
Undo
Tony,

Thank you VERY much for taking a look! I really appreciate it, as you can tell I was stumped and my Joomla knowledge is lacking. I followed your directions and saw that the JEvents -> Custom Layouts -> Event Detail was published, so I decided to unpublish and republish to see if maybe that would kick start it. But then it wouldn't let em re-publish. It gave me this message:

"Message
You are attempting to publish a customised layout that is the same as the default layout - it has therefore NOT been published since this is not necessary and can lead to complications at a later date. You should only publish a layout if it has been customised."

BUT, what is interesting is with it NOT published it now shows the events as it should, and folks can register again etc. I went into the templates/haic-site/index.php file and commented out the call to calendar.php, just to remove the error from showing, and it all seems to be working okay. Apparently some conflict because of all this and it cleared up.

I'm not quite sure what happened, or why it is working now, but it is and I'll leave it at that. Thank you again very much for sticking with me and taking a look at things and for your suggestion. I'm not sure if I would have ever gotten there otherwise. THANK YOU THANK YOU THANK YOU!
9 years ago
·
#162541
0
Votes
Undo
Hello nairbo,

You are very welcome.

With the custom layout. If you open it up and delete all the content and click save, it should reload with the default custom layout and click save again it will save it. Then you can customise it if you wish.

However, if you are happy with it as is then everything is fine just the way it is :-).

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.