rw1
Moderator
hello,
i followed the steps here to perform a backup of a live site and extract it to a new location (a subdomain on the same site) for use as a sandbox.
the site's frontend is working but when i go to forms > select a form > view data, i get:
getData:Could not connect to MySQL.
configuration.php lists all the information correctly, ie:
on another form, clicking on 'view data', i get the error:
would anyone know what these errors could be indicating and how they could be fixed?
thanks!
edit: oh and i have tried opening and saving database connection in fabrik > connections.
edit 2: hmm, i went into connections again and manually added the new password, now most of the forms are showing the data in forms > view data, but one is showing:
edit 3: ok so this isn't ideal, but i deleted the records associated with the form in phpMyAdmin and then i could access the forms > view data area. so it seems there was something that it was having a hard time processing that was in the form data or elements themselves.
edit 4: and if i am reading that last code correctly ie formid=4 and rowid=18 (does that mean the form with id of 4 and element with id of 18?), then it was a element of type 'field'. so i don't know what could have been different about that element.
i followed the steps here to perform a backup of a live site and extract it to a new location (a subdomain on the same site) for use as a sandbox.
the site's frontend is working but when i go to forms > select a form > view data, i get:
getData:Could not connect to MySQL.
configuration.php lists all the information correctly, ie:
Code:
public $dbtype = 'mysqli';
public $host = 'localhost';
public $user = 'username_new';
public $password = 'password';
public $db = 'username_newdb';
public $dbprefix = 'sameprefix_';
public $live_site = '';
public $secret = 'different';
Code:
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given in /home/***/public_html/sandboxsite/libraries/joomla/database/database/mysqli.php on line 157
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given in /home/***/public_html/sandboxsite/libraries/joomla/database/database/mysqli.php on line 157
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given in /home/***/public_html/sandboxsite/libraries/joomla/database/database/mysqli.php on line 157
getData:Could not connect to MySQL.
would anyone know what these errors could be indicating and how they could be fixed?
thanks!
edit: oh and i have tried opening and saving database connection in fabrik > connections.
edit 2: hmm, i went into connections again and manually added the new password, now most of the forms are showing the data in forms > view data, but one is showing:
Code:
DateTime::__construct() [datetime.--construct]: Failed to parse time string (<a class="fabrik___rowlink fabrik_edit" href="/sandboxsite/administrator/index.php?option=com_fabrik&task=form.view&formid=4&rowid=18">2012-02-21</a>) at position 0 (<): Unexpected character
edit 3: ok so this isn't ideal, but i deleted the records associated with the form in phpMyAdmin and then i could access the forms > view data area. so it seems there was something that it was having a hard time processing that was in the form data or elements themselves.
edit 4: and if i am reading that last code correctly ie formid=4 and rowid=18 (does that mean the form with id of 4 and element with id of 18?), then it was a element of type 'field'. so i don't know what could have been different about that element.