-
☆ A M B ☆
- 24,524 Posts
That particular template has a snippet that directly accesses the database. It’s perhaps getting custom data from a different database? The database login is hard-coded in the snippet, and will need to be edited to accommodate your new server.
Whenever you see an error with something like this:
File: /var/www/html/modx/manager/includes/document.parser.class.inc.php(770) : eval()’d code
Line: 1
it’s referring to the line number of a snippet or perhaps a plugin; these have their code processed by the PHP eval() function. The (770) tells you that’s line 770 of the document.parser.class.inc.php file, and that line is
so we know it’s a snippet causing the problem.
Thanks Susan!
We’ve changed the database root password for the one we have on the deploy server and that fixed every problems,
In the template code there were snippets but none of them was using mysql, so that error was very strange. I will check the code tomorrow once again.