Jump to content
iNoize

Error 500 Exception: You do not have permission to execute this module - ProcessPageView

Recommended Posts

Hello, 

i need help i dont know what happen but i get this error

Its an multipage installation with one core and many languages. 
EN Version is ok but the DE version always error 500 also if i try to login to the backend.

Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225

Errorlog: 

2016-11-26 11:13:37    guest   http://de.mypage.com/?/  Error:     Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225)
2016-11-26 11:13:57    guest   http://de.mypage.com/?/  Error:     Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225)  #0 /homepages/17/pathtosite/wire/core/Modules.php(1130): ProcessWire\Modules->getModule('ProcessPageView') #1 /homepages/17/pathtosite/index.php(53): ProcessWire\Modules->get('ProcessPageView') #2 {main}
2016-11-26 11:14:34    guest   http://de.mypage.com/?/  Error:     Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225)  #0 /homepages/17/pathtosite/wire/core/Modules.php(1130): ProcessWire\Modules->getModule('ProcessPageView') #1 /homepages/17/pathtosite/index.php(53): ProcessWire\Modules->get('ProcessPageView') #2 {main}
2016-11-26 11:14:51    guest   http://de.mypage.com/?/  Error:     Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225)
 

 

 

Edited by iNoize
I dont know what is it but i had to restore the DB

Share this post


Link to post
Share on other sites

 We have the same problem.
Any suggestions on how to solve that?
How did you solve that iNoize?

Share this post


Link to post
Share on other sites

Running into this issue right now with a quite large site I look into for performance reasons.

Installation was quite tricky with a 420 MB database, lots of template, fields and even more pages.

Anyone any idea how to fix this or where to look first?

Share this post


Link to post
Share on other sites
On 11/26/2016 at 11:31 AM, iNoize said:

I dont know what is it but i had to restore the DB

 

3 hours ago, wbmnfktr said:

Anyone any idea how to fix this or where to look first?

Difficult to say with so little infos. But in any case, a DB almost half a GB big is rather... big.

There are various ways how to create a DB-dump. Did you use PW's DB-backup or did you create your own?

Try to delete all cache DB entries in your dump.sql first. They can become huge, and are rather useless on a new install.

Then maybe delete everything inside site/assets/cache/.

Do you have DB-session handler installed or default? (file-based)

What was the last time the site (core) was updated?

Log files (PW + server)?

Did you check site/config.php?

$config->debug = true;
$config->protectCSRF=false;

Finally... is the clone running on the exact same setup (PHP version etc.) as the original one?

 

Share this post


Link to post
Share on other sites

It's not my site or a project I did work on in the past... so some details aren't available at the moment. But I'll get those soon.

The database backup was done via Site Profile Exporter - I will try a real mysql dump soon and will see if this helps.

There are no stuck sessions around, caches look fine in all areas. I played already with custom .sql files but this doesn't get the job done either.

Log files don't tell anythings special beside that error mentioned above.

 

I guess there is something broken with the database backup or a settings that doesn't play well in my environment. I will try to match all settings to the previous setup. That is good idea I haven't thought about, yet.

Thanks for pushing my thoughts in new directions!

Share this post


Link to post
Share on other sites

Short update:

I dumped a new database copy into my setup and by now it looks like it's working 99% of the time. The errors I see now are in the templates only.

As far as I can tell there was something wrong with the admin user or the guest role in my previous try. At least the guest role didn't show up (as additional role) in it's profile and I wasn't able to set or remove it.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By iipa
      Hi everybody!
      I have been reading about Multisite, but it kinda bugs me that every topic talks about having both admin and database same for multiple sites.
      I have a project where customer tests it by adding content to the site, while I still need to do some changes here and there in code, maybe some in database. If something crashes for a while, customer can't keep testing, which is a bit problematic.
      Is there any way that I could have two separate versions of one site ("production" and development) that share the same database, but are otherwise independent? Just the thought of having to migrate database every time I want to show client something new gives me anxiety 😁
    • By sins7ven
      Hi community, I am wondering if its possible to display languages based on what host/domain has been requested.
      The use case is the following: I have one installation of PW - and within this installation I set up 5 different languages (default, english, spanish, french, dutch). Now I have 3 different domains (domainA.com, domainB.com, domainC.com) and I want to decide which languages to make available based on what domain has been navigated to. 
      For example:
      domainA.com
       - default (domainA.com)
       - english (domainA.com/en)
      domainB.com
        - default (domainB.com)
        - french (domainB.com/fr)
        - dutch (domainB.com/nl)
      domainC.com
        - default (domainC.com)
        - dutch (domainC.com/nl)
      So what I want to achieve is making only these particular languages selectable in the language switcher on the frontend. Since all pages share the same templates and overall site structure I don't see the benefits of running this installation as a multisite setup or would it be better to do so? But I assume that this would be difficult to handle since the default language might change as well. (On the french version of the page, french should be the default language and so on). Any suggestions how to accomplish that? Thanks!
    • By Peter Knight
      Hi guys
      Is it possible to have a PW site display content from another PW site?
      I've been reading about ProcessWire's Multi-site options and I don't think either is a way forward for me.
      Both PW sites are separate installs with separate databases but crucially they are on the same VPS. So I'm hoping that's a good thing.
      Basically, Site A has approx 100 reviews consisting of these fields
      Reviewer name Review Date Instead of setting up the fields onto Site B and duplicating work and creating 100 pages, I want to *somehow* get site B to use a selector to fetch the necessary content from Site A.
      In future, if I need to update the reviews, I can goto the 'source' Site A to do this.
       
    • By Guy Verville
      I know it is possible to have a different domain name for each language of a site. For exemple:
      monsite.com (for French) mysite.com (for English) I know also that we can have several sites in one installation with the help of Soma's Multisite module.
      I have a company who has four independent sites (four different companies under a same umbrella). The new design and structure of those sites will be practically identical. There will be different administrators for each site, but a lot of data will be shared, so using Soma's module seems to be a good idea. The problem is that those 4 sites have different names for the French and English version.
      compagnieUn.com (for French) companyOne.com (for English) compagnieDeux.com (for French) companyTwo.com (for English) etc. Will we shoot ourselves in our feet to develop with just one installation? Would it be preferable to make those sites able to talk to each other instead?
      Your input would be very much welcome!
    • By Jimmie Bragdon
      Wondering if anyone can help me get past a sticking point.  
      I'm setting up a Processwire instance in a multiple site setup (using Soma's multisite) to run several related websites.  I am getting stuck on the tagging system that I am using (adapted from a standalone PW site I'm running).  I have the tags themselves set up as Pages, and the Tags field on the related pages is and ASMselect field that populates based on the pages underneath /tags/ in the tree.  This system works fine on the standalone site.
      Where I am running into issues, is with trying to use them with the multisite setup.  Specifically, choosing the proper subset of pages for tags on the ASMselect input tab.  I want to choose only the tag pages for the site in question.  
      My tree is laid out like this:
      Multisite / 
                | site1.com
                     | subsections
                | site2.com
                     | subsections
                | Tags
                     | site1.com
                          | tagA
                          | tagB
                     | site2.com
                           | tagC
      So far, the best I've been able to do is to use  'parent.has_parent=/tags/' in the Custom Find or Selector String portion of the Selectable Pages section of the input.  This gives me the options of choosing tagA, tagB, or tagC on a page under site1.com.  What I'd like to find is a selector that allows me to only see tagA, tagB as options from a page under site1.com and only tagC on a page under site2.com.
      Elsewhere in my php templates, I'm using $page->rootParent->title to set the proper scope and URLs for things, but I have not found a way to get that to work in this field input setup.  I am trying to avoid creating specific fields and templates for each site, as unified templates were part of the purpose of going with a multisite install.
       
      Thanks in advance for any ideas.
×
×
  • Create New...