ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE 2 installation on subdomain.

January 17, 2012 5:19pm

Subscribe [3]
  • #1 / Jan 17, 2012 5:19pm

    Tim Griffiths

    36 posts

    I am having trouble getting a brand new install working on a subdomain. It is the latest build. I have the files installed within the subdomain folder on my server. I get a blank page when I enter the admin url (dev.mysite.com/admin.php) and I get the following error when I check the index page (dev.mysite.com/index.php).

    Your config file does not appear to be formatted correctly.

    I have checked that these files have uploaded correctly and I have sent an email to my provider (engine hosting) to check if there is any php version conflict (yet to receive a reply). I have searched the forums for this error but none of the fixes work for me.

    I seem to remember with 1.x versions of EE that there was some path setting to change in the index file or some other file if I was using a subdomain but I can’t for the life of me find this in the docs or on the forums.

    I should also point out that I had a working version of EE 2 on this same subdomain which I trashed and reinstalled after I found a mysql error (unknown column) when trying to install the Mountee module.

    Any ideas appreciated.

  • #2 / Jan 17, 2012 10:07pm

    siffring

    147 posts

    You might want to add this to your admin.php and system/index.php files.

    error_reporting(E_ALL);
    ini_set('error_reporting', E_ALL);

    It will crank up the PHP error reporting and perhaps uncover the issue.

  • #3 / Jan 19, 2012 3:52pm

    Dan Decker

    7338 posts

    Hello Tim,

    Thank you for posting your question on the ExpressionEngine forums. Sounds like you needs some help getting a subdomain working with ExpressionEngine.

    Have you seen this article titled Running Multiple Domains or Subdomains or Subsites that exists in our Wiki? In it we cover editing the paths that, you rightly suspected, need to be edited.

    If you find you have more questions, please let me know!

    Cheers,

  • #4 / Jan 20, 2012 2:19am

    Tim Griffiths

    36 posts

    Thanks Siffring and Dan. I knew there was something I was missing. I’ll check out that Wiki entry but it does appear that this may be PHP related and the kind folk at Engine Hosting are moving this account to a different cluster running the latest version of PHP. I’ll report back if i continue to have issues. Thanks. Tim

  • #5 / Jan 26, 2012 7:11pm

    Sean C. Smith

    3818 posts

    Tim,

    Glad to see that you’ve got this working now. I’m going to close out this thread, but feel free to post again when you have more questions.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases