Jevents 2.x (Free Access)

Installation 500 error problem  Topic is solved

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby avansant » Tue Feb 05, 2013 5:38 pm

Oh, definitely Joomla then.
avansant
Silver Members
 
Posts: 16
Joined: Wed Nov 19, 2008 7:41 pm

Postby Tonyp » Tue Feb 05, 2013 10:19 pm

Do the error_log files in

/
and
/administrator

Say anything?

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23769
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby avansant » Wed Feb 06, 2013 12:19 pm

I found a error.php in the "logs" directory, but can't find where there is an error.php anywhere within the administrator directory. There wasn't anything in the error.php except one invalid passsword try from a while ago.

I uninstalled the whole jevents again, made sure all the permissions were right for a good install, upgraded to 2.5.9 (it was 2.5.8 joomla), reinstalled the whole thing, setup everything, gave user permissions, everything I can think to do... and still, 500 error.

The plan is to use it in conjunction with dtregister, so I can't just try and use another calendar. I'm so sorry to be such a pain!
avansant
Silver Members
 
Posts: 16
Joined: Wed Nov 19, 2008 7:41 pm

Postby Geraint » Wed Feb 06, 2013 2:27 pm

Is there any other text on your 500 error page of is it just
"500 error"

and nothing else
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!
User avatar
Geraint
 
Posts: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby avansant » Wed Feb 06, 2013 2:47 pm

Yep, nothing else without turning on reporting (which was the text I posted at the beginning of this thread). I took a screenshot for you here: http://www.winfamilyservices.org/error.pdf
avansant
Silver Members
 
Posts: 16
Joined: Wed Nov 19, 2008 7:41 pm

Postby Geraint » Wed Feb 06, 2013 3:16 pm

A google search throws up this forum post

http://forum.joomla.org/viewtopic.php?t=639164#p2694490

It suggest the issue could be with the config of the error log folder and its permissions. Did you check that?

By the way did you see the demos of RSVP Pro (http://www.jevents.net/products/attenda ... -reminders) the JEvents event registration addon.
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!
User avatar
Geraint
 
Posts: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby avansant » Wed Feb 06, 2013 3:50 pm

Yep, already found that doing my own google searches before I started posting here. Permissions are all good, and I tried them several different ways just to be sure.
avansant
Silver Members
 
Posts: 16
Joined: Wed Nov 19, 2008 7:41 pm

Postby Geraint » Thu Feb 07, 2013 9:30 am

Since Joomla is providing you will so little information can you try the following.
1. Enable maximum error reporting in Joomla config (server tab)
2. Edit the file administrator/includes/application.php and fine the dispatch method (line 129 in Joomla 2.5.9). Ir currently looks like this
Code: Select all
   public function dispatch($component = null)
   {
      try
      {
         if ($component === null) {
            $component = JAdministratorHelper::findOption();
         }

         $document   = JFactory::getDocument();
         $user      = JFactory::getUser();

         switch ($document->getType()) {
            case 'html':
               $document->setMetaData('keywords', $this->getCfg('MetaKeys'));
               break;

            default:
               break;
         }

         $document->setTitle($this->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION'));
         $document->setDescription($this->getCfg('MetaDesc'));
         $document->setGenerator('Joomla! - Open Source Content Management');

         $contents = JComponentHelper::renderComponent($component);
         $document->setBuffer($contents, 'component');

         // Trigger the onAfterDispatch event.
         JPluginHelper::importPlugin('system');
         $this->triggerEvent('onAfterDispatch');
      }
      // Mop up any uncaught exceptions.
      catch (Exception $e)
      {
         $code = $e->getCode();
         JError::raiseError($code ? $code : 500, $e->getMessage());
      }
   }

temporarily change it to
Code: Select all
   public function dispatch($component = null)
   {
      //try
      //{
         if ($component === null) {
            $component = JAdministratorHelper::findOption();
         }

         $document   = JFactory::getDocument();
         $user      = JFactory::getUser();

         switch ($document->getType()) {
            case 'html':
               $document->setMetaData('keywords', $this->getCfg('MetaKeys'));
               break;

            default:
               break;
         }

         $document->setTitle($this->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION'));
         $document->setDescription($this->getCfg('MetaDesc'));
         $document->setGenerator('Joomla! - Open Source Content Management');

         $contents = JComponentHelper::renderComponent($component);
         $document->setBuffer($contents, 'component');

         // Trigger the onAfterDispatch event.
         JPluginHelper::importPlugin('system');
         $this->triggerEvent('onAfterDispatch');
      //}
      // Mop up any uncaught exceptions.
      //catch (Exception $e)
      //{
      //   $code = $e->getCode();
      //   JError::raiseError($code ? $code : 500, $e->getMessage());
      //}
   }

which basically strips out the try/catch combo and will give you more helpful error message then the installation fails. (Remember to reinstate the original when you are done testing).

I'm fairly convinced the problem will be caused by either:
1. the Suhosin patch for PHP or
2. a SEF addon of some sort.
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!
User avatar
Geraint
 
Posts: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby avansant » Thu Feb 07, 2013 1:08 pm

YEA! Fixed it. The very first line said it was unable to write to rokcommon.php located in the logs folder. I changed the permissions on THAT (I had changed the permissions on the directory but not the files inside) and boom, fixed. Thank you so much for your patience!
avansant
Silver Members
 
Posts: 16
Joined: Wed Nov 19, 2008 7:41 pm

Postby havocwreaker » Fri Mar 22, 2013 8:23 am

Code: Select all
Joomla : 2.5.9
component_com_jevents : 3.0.8
module_mod_jevents_cal : 3.0.8
module_mod_jevents_filter : 3.0.8
module_mod_jevents_latest : 3.0.8
module_mod_jevents_legend : 3.0.8
module_mod_jevents_switchview : 3.0.8
plugin_editors_jce : 2.3.2.3
plugin_finder_jevents : 3.0.8
plugin_jevents_jevjsstream : 2.4.0
plugin_search_eventsearch : 3.0.8


Hi Geraint,

This might be in the wrong area but I was researching before bothering you. I have the same problem. I could not resolve it like the other fellow. My error when I did the steps you mention above is:

Code: Select all
Warning: fopen(/logs/rokcommon.php) [function.fopen]: failed to open stream: No such file or directory in /home/mysite/thepublic/libraries/joomla/log/loggers/formattedtext.php on line 248

Warning: fputs() expects parameter 1 to be resource, boolean given in /home/mysite/thepublic/libraries/joomla/log/loggers/formattedtext.php on line 254

Fatal error: Uncaught exception 'LogException' in /home/mysite/thepublic/libraries/joomla/log/loggers/formattedtext.php:256 Stack trace: #0 /home/mysite/thepublic/libraries/joomla/log/loggers/formattedtext.php(137): JLoggerFormattedText->initFile() #1 /home/mysite/thepublic/libraries/joomla/log/log.php(382): JLoggerFormattedText->addEntry(Object(JLogEntry)) #2 /home/mysite/thepublic/libraries/joomla/log/log.php(171): JLog->addLogEntry(Object(JLogEntry)) #3 /home/mysite/thepublic/administrator/components/com_finder/helpers/indexer/adapter.php(765): JLog::add('FinderIndexerAd...', 64) #4 /home/mysite/thepublic/administrator/components/com_finder/helpers/indexer/adapter.php(135): FinderIndexerAdapter->getTypeId() #5 /home/mysite/thepublic/plugins/finder/jevents/jevents.php(77): FinderIndexerAdapter->__construct(Object(JDispatcher), Array) #6 /home/mysite/thepublic/libraries/joomla/plugin/helper.php(194): plgFinderJEvents->__construct(Object(JDispatcher), Array) #7 /home/mysite/thepublic/li in /home/mysite/thepublic/libraries/joomla/log/loggers/formattedtext.php on line 256


I replaced my real site with mysite (I can PM you actual site)

Please help me. Thank you!!
havocwreaker
 
Posts: 46
Joined: Tue Dec 14, 2010 7:38 am

PreviousNext

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Bing [Bot]