Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • General
  • General Support
  • Hosting Experiences
  •  
  • Transfered the code and DB new site stopped working#

  • 36467
    36

    www.amitpatil.me Reply #1, 9 months ago

    Reply
    • Link to this post#1
    Hello friends,

    I wanted to setup a staging server so i copied production site files and DB to new server.
    when i entered URL it shows blank page NO ERRORS. i tried to find whats going wrong and i found that it fails to initialize
    at $modx->initialize('web');
    I want to know how can i check errors thrown ?? i tried error_reporting(E_ALL); is there any other way or custom code which can show me errors ?


  • 34001
    428
    Webdesigner and front-end developper

    Jean-Christophe B. Reply #2, 9 months ago

    Reply
    • Link to this post#2
    Hello,

    I don't know if you already followed this tutorial: http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server but be sure to update the new database with your new paths informations.


  • 33968
    700

    Lucas Reply #3, 9 months ago

    Reply
    • Link to this post#3
    Can you log in to the manager to check the error log there?

    Also, after transferring to the new server did you run setup again (in update mode)? This is usually needed to ensure the core paths are updated.


  • 22303
    9,769
    - MODX Chief Architect

    Jason Coward | MODX Chief Architect

    jasoncoward.com | @drumshaman

    opengeek Reply #4, 9 months ago

    Reply
    • Link to this post#4
    Quote from: amitpatil at Aug 23, 2011, 07:03 AM
    Hello friends,
    I want to know how can i check errors thrown ?? i tried error_reporting(E_ALL); is there any other way or custom code which can show me errors ?

    Most errors should be recorded in your core/cache/logs/error.log or your Apache error_log (if your server is configured with log_errors enabled and display_errors disabled).


  • 36467
    36

    www.amitpatil.me Reply #5, 9 months ago

    Reply
    • Link to this post#5
    @jen : I have allready followed this tutorial http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
    also few others

    @lucas : i am not able to login to manager...I think i need to update it again...that will be a good option instead of playing...thanks for the great idea

    @opengeek : No error is logged i think may be because modx error logging module is not running.





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
amitpatil, fairytree, okyanet, opengeek

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy