Jump to content

Download older version 2.7 ?


FS72
 Share

Recommended Posts

Hello,

I need to take care of a website that uses an old version of ProcessWire.

The website needs to move to a new server.

I have read that you have to install the software first and then transfer the data. Is this correct?

Where can I download an old version 2.7?

 

 

Link to comment
Share on other sites

Hello,
Why don’t you just move the files and the database? You don’t need to make a fresh install.
Unlike WordPress, the database can be moved as it is.
Then you have to change the DB config in the /site/config.php file.
Be sure to check if the old version of PW works with the new PHP version.

Edited by TomPich
add some advices
Link to comment
Share on other sites

I have transferred all files including the database.
I have entered the access data for the database.
The PHP version is the same.
I get a 500 server error.

Don't server paths have to be adjusted somewhere?

Link to comment
Share on other sites

I get the following error

Error:     Exception: load error: failed to find /var/www/XXXXXXXX/htdocs/site/templates/composition/html/styles/compile.less (in /usr/www/users/XXXXXXXX/XXXXXXXX/XXXXXXXX/site/templates/composition/lessphp/lessc.inc.php line 1818)

The old server path looks like this:
/var/www/XXXXXXXX/htdocs/

The new one, like this:
/usr/www/users/XXXXXXXX/XXXXXXXX/XXXXXXXX/

Link to comment
Share on other sites

Check that the root directory configured in your web server is the same than previous. The path before that has no importance.

And obviously, don't use absolute paths in your code, but that shouldn't be the case.

Also maybe check if your less compiler has an option to delete its cache, or a cache directory that is set to an absolute path maybe?...

Edited by da²
Link to comment
Share on other sites

Thank you for your help!

I actually didn't have to install the PW first.
I was able to use the old version and only had to enter the new access data for the database.

The error was caused by a few cache files (*.cache).
I deleted them and the site works!

I still have one question:
How do I get into the backend? /processwire/ does not work.
Could it be that the backend login has been renamed? Can I find out? I have already looked in the database, but found nothing.

Link to comment
Share on other sites

@FS72 I just did a ProcessWire 2.2 to 3.0.244 upgrade. You are right that you have to use 2.7 as the "intermediate" version when upgrading to a 3.x version (per the README). This is because 2.7.2 was the version that was prepared for the major 3.x changes. So you'll want to upgrade to 2.7.2 first. Once upgraded to 2.7, then you can upgrade to any 3.x version.  In my case, some of the user accounts wouldn't transition over because 2.2 was from 13 years ago and used a different password system, so that's something to keep in mind. I ended up creating an admin account and then installed the profile exporter module, then did a fresh install with the newly created profile. That way I was starting with a fresh install, despite the site being from 2012. 

  • Like 2
Link to comment
Share on other sites

50 minutes ago, FS72 said:

I still have one question:
How do I get into the backend? /processwire/ does not work.
Could it be that the backend login has been renamed? Can I find out? I have already looked in the database, but found nothing.

This should work, see here: https://processwire.com/talk/topic/29593-solved-do-the-reset-password-tricks-work-for-you-they-dont-work-for-me/?do=findComment&comment=239355

It will log you in and redirect to the backend, so you'll also know the admin url then.

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

  • Recently Browsing   0 members

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