Jump to content

database change please help


Recommended Posts

Posted (edited)

hi there I currently have a host that's switched off everything apart from php v8.2 & 8.3 so my old presta sits there on a 500 error

I've installed 8.1 on a new sub, and wanted to know if there is a way i can use the old database and sql in 8.1

so for example i have a large sql in presta 1.6 and I want to use that in v8 is that possible without starting all over again?

thanks

 

Edited by mikeh1975 (see edit history)
  • Like 2
Link to comment
Share on other sites

1 hour ago, mikeh1975 said:

and wanted to know if there is a way i can use the old database and sql in 8.1

That would depend on the database you used before. What does the php apache2 errorlog say?

  • Like 1
Link to comment
Share on other sites

The errorlog you find usually under Linux Debian and Ubuntu distros under var > log > apache2. 
Windows Server: depending on what manages your webserver.

Link to comment
Share on other sites

4 minutes ago, Nickz said:

The errorlog you find usually under Linux Debian and Ubuntu distros under var > log > apache2. 
Windows Server: depending on what manages your webserver.

var folder is empty apart from a cpanel folder and one called styled and that sub folder is also empty

 

  • Like 1
Link to comment
Share on other sites

Posted (edited)

-- phpMyAdmin SQL Dump -- version 5.2.1 --

https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Jul 05, 2024 at 03:53 AM --

Server version: 5.7.23-23 -- PHP Version: 8.1.29

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; --

-- Database: `barwellb_pres118` -- -- -------------------------------------------------------- -- -- Table structure for table `o78_access` -- CREATE TABLE `o78_access` ( `id_profile` 

my question is can i edit the config\peramiters.php on the new fresh install of presta 8.1 to use the old sql file

Edited by mikeh1975 (see edit history)
  • Like 1
Link to comment
Share on other sites

Posted (edited)
On 7/7/2024 at 2:15 PM, mikeh1975 said:

my question is can i edit the config\peramiters.php on the new fresh install of presta 8.1 to use the old sql file

you surely can you just need to act with caution.
Make a copy of the file and have that downloaded on your PC.

the var folder can be on different location closer to you root folder or even in there.
That depends on the configuration the server ẃas set to.
Where do you host?

 

Edited by Nickz (see edit history)
  • Like 1
Link to comment
Share on other sites

29 minutes ago, Nickz said:

you surely can you just need to act with caution.
Make a copy of the file and have that downloaded on your PC.

the var folder can be on different location closer to you rool folder or even in there.
That depends on the configuration the server ẃas set to.
Where do you host?

 

So how would I do that could you give me a idea. Thanks

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 7/7/2024 at 3:51 PM, mikeh1975 said:

So how would I do that could you give me a idea. Thanks 

I currently have a host that's switched off everything apart from php v8.2 & 8.3

You need to move to a different server. Where are your clients sitting at?
Servers come with relatively convenient pricing nowadays. 30 to 50 a year for a shared server. VPS with 8 GB RAM for 70 a year (1st year only)
Its also a question of how fit you are.

Link to comment
Share on other sites

  • 2 weeks later...

you need to keep old version of ps, then upgrade it  to 8.1

or you need to get new hosting that allows you to have php level for your 1.6 shop

there are no magic bullets, you cannot run 8.1 with 1.6 db as 8.1 will have new tables, changed tables etc

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
×
×
  • Create New...