Jump to content

Unable to complete this request due to an error. after update


Recommended Posts

Posted

Hey,

I f..ked it up.

Wanted to update simple contact form because it doest work (0.2?) and got errors for 1.0. Thought I should update Processwire. Just replaced wire folder and index.php. No DB Dump.

debug true, can't log in always get Unable to complete this request due to an error.

 no error logs…

PLEASE HELP!

tom

Posted

Might be as simple as file permissions - do a recursive 755 / 644 (or whatever is appropriate) and make sure the owner is correct, eg www-data:www-data

 

  • Like 1
Posted

this works but now it says 
Fatal error: Class 'InputfieldText' not found in /data/web/e64621/html/wire/modules/Inputfield/InputfieldPassword.module on line 7

but its there!

Posted

Did you upgrade from PW 2 to 3?

Maybe reload again - that new error sounds like a file compiler issue - I have noticed that occasionally you need an extra reload to trigger everything the first time to upgrade to 3.

Posted
Just now, Tom Walcher said:

How you mean reload. clear cache - hard reload - same....

Could be as simple as a page load, but clearing the PW cache couldn't hurt. Might also be worth clearing the file compiler cache to make sure everything is regenerated.

Posted

I am getting the feeling that not everything in the wire folder was copied across correctly. I would suggest deleting it entirely and copying across the new one again.

  • 4 weeks later...
Posted

I have noticed an issue with the compiler that may be related or the cause of this issue.

If you have odd code snippets within php comments  /* **stuff** */   (eg. mismatched/nested  open/close codeblock <? or ?> then following code may NOT be passed by the compiler - leaving it without the namespacing - hence the Class missing error message.

In my own code, i was using a call to wire(), which should have been compiled to \ProcessWire\wire() but was not.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...