You need to be logged in to view a user's profile.
  1. michpeta
  2. JEvents 1.5 Bugs
  3. Wednesday, 02 April 2008
I am unable to view the category editing page in the control panel. This is a long term issue that I have reported before. Please address it as no other components have had this problem. I am using CentOS 5, php5, Apache 2.2, Joomla 1.5.2.

The issue is caused because the way the JEvents component is coded, it looks in the PHP include directory for the domain and not in the includes directory for the Joomla site. It is good/best practice to have an includes directory outside of the browseable Apache directory tree.

/path/http/http://sitename.com/html (viewable by a web browser)
/path/http/http://sitename.com/includes
/path/http/http://sitename.com/reports
/path/http/http://sitename.com/temp

Joomla install creates its own includes directory (/path/http/http://sitename.com/html/includes). Every other component I have used (a lot) have managed to find their included files in the Joomla includes directory. This component, because of how it is coded, looks in the PHP include directory and that causes the component to fail.

Please, please address this issue this time. This existed in the version of JEvents that I tried a year ago and I reported it and nothing has been done.

An extract of my Apache log is below.

[Tue Apr 01 22:03:32 2008] [error] [client 203.122.241.201] PHP Warning: CategoryController::include_once(includes/pageNavigation.php) [<a href='function.CategoryController-include-once'>function.CategoryController-include-once</a>]: failed to open stream: No such file or directory in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 96, referer: http://churchsite.pathweb.com/administrator/index2.php

[Tue Apr 01 22:03:32 2008] [error] [client 203.122.241.201] PHP Warning: CategoryController::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/pageNavigation.php' for inclusion (include_path='/path/http/http://churchsite.org.au/includes') in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 96, referer: http://churchsite.pathweb.com/administrator/index2.php

[Tue Apr 01 22:03:32 2008] [error] [client 203.122.241.201] PHP Fatal error: Class 'JPagination' not found in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 97, referer: http://churchsite.pathweb.com/administrator/index2.php

[Tue Apr 01 22:03:32 2008] [error] [client 203.122.241.201] File does not exist: /path/http/http://churchsite.org.au/html/favicon.ico

[Tue Apr 01 22:03:41 2008] [error] [client 203.122.241.201] File does not exist: /path/http/http://churchsite.org.au/html/favicon.ico

[Tue Apr 01 22:03:50 2008] [error] [client 203.122.241.201] File does not exist: /path/http/http://churchsite.org.au/html/templates/js_jamba/css/J15.css, referer: http://churchsite.pathweb.com/index.php ... h/2008/4/1

[Tue Apr 01 22:04:27 2008] [error] [client 203.122.241.201] PHP Warning: CategoryController::include_once(includes/pageNavigation.php) [<a href='function.CategoryController-include-once'>function.CategoryController-include-once</a>]: failed to open stream: No such file or directory in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 96, referer: http://churchsite.pathweb.com/administrator/index2.php

[Tue Apr 01 22:04:27 2008] [error] [client 203.122.241.201] PHP Warning: CategoryController::include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/pageNavigation.php' for inclusion (include_path='/path/http/http://churchsite.org.au/includes') in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 96, referer: http://churchsite.pathweb.com/administrator/index2.php

[Tue Apr 01 22:04:27 2008] [error] [client 203.122.241.201] PHP Fatal error: Class 'JPagination' not found in /path/http/http://churchsite.org.au/html/administrator/components/com_events/lib/categories/categoryController.php on line 97, referer: http://churchsite.pathweb.com/administrator/index2.php
Accepted Answer Pending Moderation
0
Votes
Undo
I fixed the problem. I was right that it was a conflict between the PHP includes folder and the Joomla includes folder.

I changed the

"include_once('includes/pageNavigation.php' );"

line to

"include_once( JPATH_ROOT. '/includes/pageNavigation.php' );"

and all works well. I am pleased as this was a problem in earlier versions also.
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 1
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
I have corrected this in SVN now.

You will need to do the savem in admin.controller.php and lib/icalManagement.php too.

Geraint
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!
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
thanks,

Michael
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.