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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "You do not have permission to execute this url"
Pages: [1]

Author Topic: "You do not have permission to execute this url"  (Read 3570 times)

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
"You do not have permission to execute this url"
February 03, 2012, 12:13:23 pm
I searched the forum, but cannot find what I need.

I have an event set up in CIVICRM.  Intermittently, I get calls because users report getting sent to a screen which states ""You do not have permission to execute this url".  This happens after they fill out the Event Registration form and hit "Continue >>".

Again, instead of getting the confirmation page (where they can review their data), users will occasionally get sent to a page with the ""You do not have permission to execute this url" message.

I thought that maybe com_admintools might be causing this, but I've disabled it and regenerated a clean .htaccess file, but still no luck.

It's happened to me and others using my site.  Again, seems to be intermittent.

Any clues?

Thanks in advance!

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 06, 2012, 03:40:43 pm
Another discovery...

When It works (meaning, I get past the first form, the domain looks like this:

https://www.MYDOMAIN.com/index.php?option=com_civicrm&task=civicrm/event/register&_qf_Confirm_display=true&qfKey=65b59e3f17de55a481a062b7af0a5b51_5517

On occasion though, I get "permissions" error and the URL looks like this:

https://www.MYDOMAIN.com/index.php?option=com_civicrm&task=civicrm/event/register&Itemid=68

Thoughts?

I'm running Joomla 1.5.25 and Civicrm 3.4.8
« Last Edit: February 08, 2012, 01:19:24 pm by wjm »

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 07, 2012, 08:25:52 am
Update:  I've changed my link to the registration form to use raw civicrm URL:

https://www.MYDOMAIN.com/index.php?option=com_civicrm&task=civicrm/event/register&reset=1&id=13

Was thinking that maybe using an SEO URL mapped to it might be the problem... or that the mapped URL did not contain the "reset=1".  Unfortuantely, issue continues.

BTW... what exactly is "reset=1" for?

Anyway, I have now turned off all caching on the site.  My thought is that maybe an already used qfKey is being cached in the form's hidden field causing this problem. 

I'll let you know if issue continues.

BTW... the only think that has changed since I did this in previous EVENTS is that I upgraded to the latest versions of CIVICRM and JOOMLA... and am using a PRICE SET.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 08, 2012, 01:17:20 pm
Update:  Issue still persists after turning off caching  :(

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 08, 2012, 01:37:47 pm
OK... per recommendation on IRC, I replaced the .htaccess file created by com_admintools with the default Joomla one

https://www.akeebabackup.com/products/46-software/855-admintools.html

Let's see what happens.

oak

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.92
  • PHP version: PHP 5.3.6 (cli) (built: Sep 12 2011 18:02:42)
Re: "You do not have permission to execute this url"
February 10, 2012, 10:01:12 am
I think I got that error if the joomla permissions were setup very secure. (all inherited) in Joomla 1.7 with civicrm 4.1 .
Poke around in Administer console CiviCRM -> Users and Permissions Access Control -> Joomla Access control.

mysiteURL/administrator/?option=com_civicrm&task=civicrm/admin/access&reset=1

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 10, 2012, 10:06:58 am
Thanks.  I'm running 1.5 though.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 11, 2012, 10:12:24 am
Went into my host and changed php to run from FASTCGI to php_libphp5... still no luck.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 11, 2012, 11:08:41 am
Ran my site though http://www.whynopadlock.com.  It found an external image that was referenced twice (hardcoded) to an external non-ssl site.  They were buried in 2 separate the YooTheme template css files.  The specific URL for the image was http://openid.net/login-bg.gif.  I copied the image locally and modified the CSS to point to the local version.  Retested the site and the error went away.

I decided to check this out because Chrome Browser was showing big red X through the HTTPS.   Now that went away.

Not quite sure if this will resolve the issue... but it's one more thing scratched off the list.

I've also changed the resource URLs in CIVICRM to point to HTTPS instead of HTTP.  Hope that won't cause any issues.  I'll report back if the You do not have permission to execute this url" issue still persists.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 11, 2012, 11:37:26 am
Problem continues...

Checked the server error logs.  Am getting quite a few of the following entries:

[Sat Feb 11 02:02:29 2012] [error] mod_ssl: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] (System error follows)
[Sat Feb 11 02:02:29 2012] [error] System: Connection reset by peer (errno: 104)

Could that be related?  What does this mean??

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 13, 2012, 03:36:20 am
So at the end.... issue seems to have been resolved.

I'm really not sure exactly what fixed it.  I sense that there was some sort of problem on the hosting end... some tweak that my hosting provider did to resolve this... but I have no definitive proof.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
February 15, 2012, 05:33:55 am
Well... while the issue was minimized significantly, it still persists. 

I'm hoping that my impending upgrade to Joomla 2.5.1 and Civicrm 4.x will resolve this issue for good

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: "You do not have permission to execute this url"
March 08, 2012, 08:19:46 pm
I think I've resolved this issue.  Looks to be conflict between CIVICRM and the Feed Gator pseudo-cron plugin. 

Updates here:  http://forum.civicrm.org/index.php/topic,23774.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "You do not have permission to execute this url"

This forum was archived on 2017-11-26.