Hi!
I’m new to modx and I have question regarding modx import files.
Does anyone know how can I import my old web site into MODx manager?
This site is located on my hard disk.
Do I just have to copy folder in which my site is located somewhere to wamp\www\... ?
Or is it maybe possible to import these files through MODx manager?
I’ve copied all files into /core/import/ folder and than tried to import them through modx manager ’Import HTML’ option,
but nothing happened... I’ve waited and waited but saving process never finished.
When I typed :’http://localhost/modx/core/import/homedir/public_html/’ into my browser it showed this message:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Access denied for user ’snspalil_root’@’localhost’ (using password: YES)
Error type/ Nr.: Warning - 2
File: C:\wamp\www\modx\core\import\homedir\public_html\manager\includes\extenders\dbapi.mysql.class.inc.php
Line: 89
Line 89 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0259 s
Total: 0.0259 s
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Failed to create the database connection! »
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0278 s
Total: 0.0278 s
So, if someone know what could be the solution for this, let me know, please!
Thanks!
-
MODX Staff
- 12,272 Posts
In the future, please don’t triple post—others removed.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me