Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6516

Re: Restore failure - database error

$
0
0
by Joseph Rézeau.  

Hi again,

I've had another look at your error message and I see no reason why, in the data to be inserted to Lesson, the password field should contain a value of "NULL".

[array (
0 => 5,
1 => 'Bits, bytes and binary',
2 => '0',
3 => '0',
4 => '0',
5 => NULL,
6 => '0',
7 => 'O:8:"stdClass":3:{s:9:"timespent";i:0;s:9:"completed";i:0;s:15:"gradebetterthan";i:0;}',
8 => '100',
9 => '1',
10 => '0',
...

When I dump that data when doing a restore operation on my own test site, I get this when there is no password:

screenshot #1

Any idea how a "NULL" value got into your password field instead of leaving it empty?

Joseph


Viewing all articles
Browse latest Browse all 6516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>