Jevents 2.x (Free Access)

Forbidden to save edits from front end  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 rwarren » Fri Apr 12, 2013 5:18 pm

Hi, Sorry about the confusion. Joomla is fine, it is Jevents I think I need to re-install. I am using the standard .htaccess file again and joomla is fine. My problem is just getting permission to edit events (BOTH front and back end now). I can open the editing window but when I try to save or apply I keep getting the message telling me I do not have permission to access index.php.
I can edit Joomla articles properly, it is only Jevents that I cannot edit. It was working perfectly before I updated and played around with settings. And then I updated again to version 3 so I really think that a clean install of Jevents would sort the problem as I have spent many hours now trying different combinations of settings and it has all got very confusing.
Richard
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Postby Tonyp » Fri Apr 12, 2013 8:44 pm

Hello Richard,

To preform a clean install please see:
https://www.jevents.net/forum/viewtopic ... 17&t=10580

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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby rwarren » Fri Apr 12, 2013 9:48 pm

Will that clear my events? From the discussion it looks as though using CleanInstall.php.zip removes all data. I have too many events to lose.
Thanks
Richard
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Postby Tonyp » Sat Apr 13, 2013 2:14 pm

Hello Richard,

Exactly it will. You could create a backup of your events with an event export.

I would suggest trying to get to the bottom of it without clean install.

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: 23758
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby rwarren » Sat Apr 13, 2013 7:05 pm

Hi. I have just updated to version 3.12 (from 3.11) and now have my back-end editing back working. ISo it looks as though there was a glitch in version 3.11.

I have now removed the extra .htaccess files in the administration folders and restored the default .htaccess file in the root directory. Back-end editing stil works well.

However I still cannot edit from the front end. I now get a slightly different message -
--------------
You don't have permission to access /create-event/icalevent.edit/0 on this server.
-------------------------

If I enable the "New sef" option in Jevents global settings I get another, slightly different message
-------------------
You don't have permission to access /create-event on this server.
-----------------------

I still think that the problem has possibly been caused by me messing about with the Jevents settings because it worked fine before and no-one else seems to ne having this problem. It is a great pity that there is not a "Restore Default Settings" button ;)
I do not want to do a clean install unless I have to -AND I am certain that I can restore my events to the database.
Richard
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Postby Geraint » Sun Apr 14, 2013 10:00 am

The problem is with your SEF setting.

What does your .htaccess file look like in the root of Joomla?

Try setting up SEF to NOT use mod_rewrite
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: 42799
Joined: Fri Feb 15, 2008 6:14 pm

Postby rwarren » Sun Apr 14, 2013 7:48 pm

I start with the standard htaccess.txt fike supplied with Joomla (changing it to .htaccess). I have tried many different modifications, checking each time using both url rewrite on and off. I have also tried not using SEF at all and using a htacess file that allows stuff. My current version is shown below and I do not see anything else I can comment out.
------------------------------
##
# @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks

#
# mod_rewrite in use

# RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Allow from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
# Block out any script trying to set a mosConfig value through the URL
#RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode data within the URL
#RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL
#RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
#RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
#RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
#RewriteRule .* index.php [F]
#
########## End - Rewrite rules to block out some common exploits

########## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
########## End - Custom redirects


# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /

########## Begin - Joomla! core SEF Section
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
########## End - Joomla! core SEF Section
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Postby rwarren » Mon Apr 15, 2013 1:03 am

Sorry - but I have given up trying to fix this problem and have done a new install on a spare domain where I have everything running properly. I am using the same server so I am convinced that the problem is of my own making having updated from a very old version of Jevents.

The new version (3.12) does not present me with my original problem of trying to hide lots of event icons on the monthly calendar. It seems to be working very well. I just have to work out which tables contain the event details in the old version so that I can copy them over to the new version. Then I shall copy the entire thing to the proper domain.
Thanks for all your help. I will let you know when I have finished
Cheers - Richard
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Postby rwarren » Thu Apr 18, 2013 9:23 pm

Just an update.
The new install worked very well. I was able to create and edit events in both the back-end and front end.
I then went to the new install mysql database and imported all the content from the various jevent tables of the original version. The import went well and all the events showed up in the new install. I could edit all the events in the back-end. HOWEVER in the front-end I could not edit these events - I now get the message
-----------------
You don't have permission to access /index.php/search-events on this server.
-----------------
I can still edit all the new events from the front end - so the SEF and .htacess is working fine.

I have carefully studied the jevevents, jevdetails,jevrepeat and jevrrule tables and can see no difference between my new events and those imported from the original site.
From the front-end I can create new events and copy event info from the original site and these are editable. So it is a mystery. I will now stop playing with this and do what I should have done in the beginning by creating all my events again in a new install.
Thanks for your help. I shall renew my club membership because I value the effort you put in trying to help.
Richard
rwarren
Silver Members
 
Posts: 25
Joined: Tue Dec 21, 2010 4:57 pm

Previous

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 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: No registered users