Jump to content

Recommended Posts

Posted

Hi All,

I have been away for ever. I tried to update two 2.5 Processwire sites today. When I go to mysite.com/processwire I get a 404 error. Same thing with both sites. These run on the Hostgator server.

I tried the uncheck RewriteBase / method but still no luck?

All the site pages and image scripts work fine though.

What do I try next?

 

Thanks!

Posted

Anybody?

I did the chat thing with Hostgator but they could not help me. I currently cant access/edit two business sites at an important time. I am thinking about doing a deep vacuum and copying all the site content from the front end and rebuilding the sites from scratch? I have not really touched Processwire in some time and feel like the kid who forgot how to do algebra at the end of summer vacation. Which makes me wonder if I should be looking for a simpler platform? I no longer want to build sites for other people, just manage the content for own stuff...

 

Thanks...

Posted

Did you try to downgrade again (replace index.php/wire folder)? This might resolve your issue until you can figure out what's breaking on the upgrade. Also there're not really reasons to upgrade except you want to change anything on your pages, which is not like your second post sounded like.

Posted

I have not attempted any upgrade or downgrade to the PW system. 

I can access all the files and scripts on the server via FTP. The front end of the site functions just fine in a browser. All the links and gallery scripts work. But when I go to mysite.com/processwire/ to access the backend admin I get a generic 404 page error message in my site's regular content area. This is happening to two sites I have hosted at Hostgator, both running on PW 2.5...

Posted
1 hour ago, tpr said:

Are you sure that's the correct admin url?

Maybe? I don't recall changing the login url from the default though. I will have to hunt down my notes when I built these sites...

Posted

Or just echo the admin url since you have access to the files on the FTP:

echo $config->urls->admin;

 

Posted
1 minute ago, tpr said:

Or just echo the admin url since you have access to the files on the FTP:


echo $config->urls->admin;

 

Which file should I add this to?

Posted

For example to one template file, eg. home.php (and visit the home page to see it).

If you are concerned that others may see it you could echo it in a hidden div and see the page source for the url (but I don't think that few seconds could matter).

Posted

You can also find the admin page name (and thereby the URL) by viewing the "pages" table in phpMyAdmin or similar. Look for the row with the id of 2.

2017-01-07_104322.png

  • Like 1
Posted

You can also lock yourself out if you edit the "admin" template and check "Show a 404 page":

admin-404.png

Here is a thread with a fix by @BitPoet

 

  • Like 2

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...