1
Zap_English
Sorry, you don't have the permission to access this area. in Publisher

So, I'm rebuilding one of my websites using

XOOPS Version XOOPS 2.5.8.1
PHP Version 5.6.28
mySQL Version 5.5.5-10.1.19-MariaDB

With the new core I installed a new version of Publisher and cloned it

When I installed the core on the localhost I used the same prefix in the DB setup

I've been copying sections from the backup mysql into the new database using phpmyadmin import

3 imports worked fine but the main file doesn't

Originally I used the Publish module as the main module. I decided to use the Publisher module only to clone and disabled it's access from the front page.

So, the data has to be imported to a "clone" of Publisher

I cut n pasted the relevant data from the backup mysql into a new sql file. I changed the files names to match the headers in the new db, and then I imported the new sql file into the mysql using phpmyadmin.

Two things happened

1) when I went into permissions, the list of categories is not alphabetic. Its all mixed up

2) I can't set Permissions to view categories for anonymous users. When I try I get Sorry, you don't have the permission to access this area. and it kicks me to the front page

2
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

BUMP!!!

I's still having this problem

If an anonymous user can't view the content then the whole site doesn't work, because I'm not allowing new user registrations. Anyone should be able to view everything

And this happens to be my main module

3
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

now

Could not reset group permission for module Recipes(category_read)

and there are no errors showing

4
Mamba
Re: Sorry, you don't have the permission to access this area. in Publisher
  • 2017/2/7 2:05

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I tested on a new installation, and had no problems.

When you updated to XOOPS 2.5.8.1, did you also run the /upgrade ?

There are differences in the Database, so you should run it...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

yes, and it didn't make any difference

And I just did an uninstall, reinstall, imported the sql, updated the module.

Same problem

6
trabis
Re: Sorry, you don't have the permission to access this area. in Publisher
  • 2017/2/7 19:51

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hi, I once had the same problem with updating permissions in the news module.
If you have many categories and many groups, then you may be hiting the post limit allowed by php.

If you have access to php.ini try adding:
upload_max_filesize = 20M
post_max_size = 20M

Alternative, add this lines to .htaccess in the root folder:
php_value upload_max_filesize 20M
php_value post_max_size 20M

7
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

I had them set as

upload_max_filesize = 50M
post_max_size = 50M

now I've reset them to

upload_max_filesize = 75M
post_max_size = 75M

there is no htaccess file

I just restarted xampp and tried to reset the permissions.

still the same problem

there are 96 categories and over 27,000 articles

8
trabis
Re: Sorry, you don't have the permission to access this area. in Publisher
  • 2017/2/7 21:14

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I'm not sure I understood the problem, please explain: 1 - The Permissions to view categories checkboxes are checked for anonymous users but they don´t have access on viewing articles. Or 2 - You get the error when trying to check The Permissions to view categories checkboxes. My reply before was for number 2. If your problem is number 2, please make sure your changes on the ini file were aplied. Create a test.php file on the root with the code
();?>
. Run test.php and see if the upload_max_filesize and post_max_size have the new value. If problem is number 1, then go to system->groups manager->anonymous users and see if this group has access to the module.

9
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

ok,

1) I checked the groups and anonymous users do have access

2) I did the test.php and they are both at 75M

Webmasters and Registered User were granted view permission by checking the ALL box.

When I check the ALL box for Anonymous user I get "Sorry, you don't have the permission to access this area. " and I'm kicked to the home page

I tried checking each category individually and clicked on "SUBMIT"

After checking 38 boxes it went back to "Sorry, you don't have the permission to access this area. " and I'm kicked to the home page

10
Zap_English
Re: Sorry, you don't have the permission to access this area. in Publisher

At the moment I'm editing each category to include Anonymous in Read permissions.

In the Permissions part of the module, the categories are not alphabetic or even listed according to weight.

I just checked the list and after I edit the Read permissions in each category, a check appears in the box in the Permissions

Login

Who's Online

176 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits