Jump to content

Class 'Wire404Exception' not found


Thorsten
 Share

Recommended Posts

 I'm using "throw new Wire404Exception();"  in my template, it worked fine. After Migrating to an other server and Upgrading to PW 3.0.62 I got an Error "Class 'Wire404Exception' not found" . I spent the day yesterday unsuccessfully to understand the reason. Is there any reason, why PW can't find this class? The Exceptions.php in wire/core exists.

 

I beg your pardon, if this topic should be discussed here yet - the search items 'Wire404Exception' and 'not found'  leed to many other results not related to the class itself. :-)

Link to comment
Share on other sites

Howdy @Thorsten, and welcome to the forum!

The only thing I can think of in my limited experience is since it is a different server maybe the rewrite in htaccess is not correct. If throwing this exception worked on a previous server, and now does not work on a new server, that leads me to believe there is something out of whack with the new server.

Others more knowledgeable will be along shortly to help further.

Again, welcome to the fold.

  • Like 1
Link to comment
Share on other sites

Thank you for the answers.

 

@rick The .htacess has the same configuration, I checked this before.

 

@Zeka No, i didn 't. I just transfered the template files. I didn 't know that could be neccessary. I'll try it (need to check how it should be done).

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...