CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Front End Links Do Not Work
Pages: [1]

Author Topic: Front End Links Do Not Work  (Read 3356 times)

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Front End Links Do Not Work
April 18, 2011, 03:27:43 pm
I am getting a 500 Internal Server Error when I try to access any of the links.

For Instance, in the backend, under Manage Events, if I select EVENT LINKS.

Event Registration (this one works)

/joomla15/administrator/index2.php?option=com_civicrm&task=civicrm/participant/add&reset=1&action=add&context=standalone&eid=1

Event Information (this one DOES NOT work)

/joomla15/index.php?option=com_civicrm&task=civicrm/event/info&reset=1&id=1

Same problem for all Front End menus that I add.  I get 500 errors.

Here are my PHP settings:

register_globals is off.
safe_mode is off.
allow_url_fopen is off.
Functions disabled: show_source, system, shell_exec, passthru, exec, phpinfo, proc_open.
open_basedir not used.

I'm not sure what is wrong and I've spent the whole day trying different things to no avail.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front End Links Do Not Work
April 19, 2011, 08:56:26 am
I would check the front_end copy of civicrm.settings.php to see if the DSN's (db links), file paths and URLs look correct.
Also check your apache logs to see if there's any more instructive error messages.
Protect your investment in CiviCRM by  becoming a Member!

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 19, 2011, 10:51:28 am
Thanks, I went over civicrm.settings.php with fine tooth comb and all look good.  I've been checking my error logs and nothing is showing up.

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 19, 2011, 11:31:46 am
I hope this helps.  Found this in the Joomla error log.  I have no idea what it means.

[19-Apr-2011 13:18:21] PHP Fatal error:  Cannot redeclare class IDS_Filter_Storage in /home/edlhtf76/public_html/joomla15/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php on line 52


Here is what is at line 52

*/
class IDS_Filter_Storage
{

    /**

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front End Links Do Not Work
April 20, 2011, 05:51:41 pm
There were some issues w/ joomla front-end links in beta 3 - might be worth re-installing w/ stable 3.4 (released today).
Protect your investment in CiviCRM by  becoming a Member!

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 20, 2011, 07:01:30 pm
Went to 3.4 stable and now the backend is stuck in a LOADING cycle that never ends.

 I'm still getting the Cannot redeclare class IDS_Filter_Storage error and not able to load the front end.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front End Links Do Not Work
April 21, 2011, 01:04:08 pm
Checked w/ lobo and neither of us has seen that particular error before. In general, it indicates that some other component / module you've enabled is using the IDS (intrusion detection system) library that CiviCRM uses - and hence there's a conflict. If you can disable any optional modules or check for IDS code files elsewhere in your site code tree that might help. Re LOADING cycle - apache logs might help shed some light.
Protect your investment in CiviCRM by  becoming a Member!

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 22, 2011, 08:48:35 am
Found the solution.  It was my anti-hacker extension that was causing the issue.  This fixed my problem.

I can't use CiviCRM after I activate the Anti-Hacker, Why?
From Open Source Excellence Knowledge Base


Why I can't load CiviCRM at both backend and frontend after I activate the Anti-Hacker?
It is because CiviCRM uses php IDS which conflicts with our Anti-Hacker. Please do the following to resolve the problem:

1. Find out the file "/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php" and open it.

2. Search for "public function check ( &$args) {".

3. Add a new line "return;" after that line.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front End Links Do Not Work
April 22, 2011, 10:11:26 am
David - A better way to disable CiviCRM from using IDS is to modify this line in civicrm.settings.php (both front-end and back-end copies):

define( 'CIVICRM_IDS_ENABLE', 1);

change to:

define( 'CIVICRM_IDS_ENABLE', 0);

This should "turn off" IDS checking in CiviCRM.
CAVEAT: This means that CiviCRM input fields are NOT protected from users entering malicious code (at least via CiviCRM functionality). You'll want to make sure that your anti-hacker module does this for you (i.e. if you try to put <script ...etc.> in a field in a front-end civicrm form, it should not allow it.
Protect your investment in CiviCRM by  becoming a Member!

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 22, 2011, 11:13:11 am
Ugh, now I'm back to having a backend problem.  I'm getting the LOADING animation spinning forever.  I never get the "Welcome to your Home Dashboard" message and my browser hangs.  The weird thing is, it works on my I-pad.

This started when I migrated to 3.4 stable and before I made the change to the IDS.PHP.

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 25, 2011, 05:48:42 am
Ok I'm good now.  Figured it out over the weekend.  I just logged in using a different admin username and it started working.  I guess I had used a different username on my iPad.

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 25, 2011, 02:56:59 pm
Well I thought I was good.  Now it is Monday and the same problem is back.  Use one administrator login and I get one spinning LOADING animations.  Use the other administrator login that worked yesterday and I get 3 spinning LOADING animations.  Driving me absolutely crazy.

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Re: Front End Links Do Not Work
April 25, 2011, 05:31:15 pm
So to add onto my frustration, whatever this LOADING loop is doing, it overloaded the CPU/Memory on my shared server and my provider shut down my entire site.

I'm totally shut down now.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Front End Links Do Not Work
April 26, 2011, 03:51:51 pm
No idea really what's going on in your environment and a bit hard to advise with very little details on what URL is "LOADING", no info from your apache logs etc. Other folks have installed this release successfully so it's something specific to your server - but no clues as to what and why. You might need to recruit someone to help you locally.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Front End Links Do Not Work

This forum was archived on 2017-11-26.