Thread Starter
pvdv
(@pvdv)
domaintest.sql is a database dump of the test-site. It has a working Postie.
I use: mysqldump -QR $database > $database.sql
The fix-serialization script is a simple script what fixes the length attributes for serialized strings, I’ve copied it here: https://vandervlis.nl/files/fix-serialization.php.txt
With regards,
Paul van der Vlis
Thread Starter
pvdv
(@pvdv)
On the database, I do this:
cp -a domaintest.sql domain.sql
rpl ‘https://test.domain.nl’ ‘https://domain.nl’ domain.sql
rpl ‘test.domain.nl’ ‘domain.nl’ domain.sql
rpl ‘/home/domaintest’ ‘/home/domain’ domain.sql
php fix-serialization.php domain.sql
mysql domain < domain.sql