We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10489
    • 93 Posts
    Hi all,

    I created a modxcms site locally, running on Wamp. I’m using evolution 1.0.5

    I backed up the DB and zipped all the files. Then created a new database on the live server and ran the backup(sql script) against the new DB.
    Then uplaoded the zipped file and extracted all the files to the root. Edited the config file and amended the DB connection details.

    When i go to the site i get the following error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	include_once(C:/wamp/www/discovercms/assets/plugins/phx/phx.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/home/discondm/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code	 
      Line: 	15	 
     
    Parser timing
      MySQL: 	0.0014 s	(3 Requests)
      PHP: 	0.0151 s	 
      Total: 	0.0165 s


    I also updated the modx_system_settings table and changed the rb_base_dir and filemanager_path urls.
    here’s the url: http://www.discovertygerwaterfront.co.za/

    Have moved many sites but have never had this issue before.

    Thanks

    Any help would be appreciated.
      • 8609
      • 607 Posts
      Looks like it’s looking for some of your old paths. Try running MODx installer again on the new site but in upgrade mode. That should clean up the paths.
        • 10489
        • 93 Posts
        well, well, worked like a charm

        Thanks einsteinsboi

          • 10489
          • 93 Posts
          Ok there’s one little error.

          « MODx Parse Error »
          MODx encountered the following error while attempting to parse the requested resource:
          « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
                SQL: SELECT rating_id as 'params', rating as 'nbStars', lastIP as 'atrTpl', nbIP, voteDate as 'endDate' FROM modx_atRating_ 


          I get this error when trying to view the contents of the advertising category
            • 8609
            • 607 Posts
            I don’t see that error when I open the advertising category page. It just comes up with no entries, but there’s no parse error. See the screenshot attached. Is that the page you’re referring to?
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              include_once(C:/wamp/www/discovercms/assets/plugins/phx/phx.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory
              check your phx installation again.
                Rico
                Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                MODx is great, but knowing how to use it well makes it perfect!

                www.virtudraft.com

                Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                Maintainter/contributor of Babel

                Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.