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?
If someone know the solution for this, answer me please...
Thanks!
Yes, you can import your old site. Once you have successfully downloaded and installed Revo, copy all of the files of your old site into the "/core/import" folder.
Then within the manager, from the "Tools" menu, choose "Import HTML". Follow the steps, and MODx will import your old pages.
I still have a problem with importing old web site’s files into 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!