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.

500 Error in Installer just after accepting License Agreement

March 20, 2012 6:36pm

Subscribe [2]
  • #1 / Mar 20, 2012 6:36pm

    Michael Rog

    179 posts

    I’m trying to install EE 2.4 on a client’s server, and I get a 500 error after submitting the “Yes I agree to the license” part. The URI of the page it’s trying unsuccessfully to load is:

    /admin.php?C=wizard&M=install_form&language=english&ajax_progress=yes

  • #2 / Mar 21, 2012 4:04pm

    Shane Eckert

    7174 posts

    Hello Michael,

    I am sorry to hear you are running into this problem.

    Did you get a chance to run the Server Wizard? I am wondering if something is not installed or configured correctly.

    HTTP 500 is a server error. If this server wizard does not show anything, you can check the Apache logs for signs of what is going on.

    Please let me know what you find!

    Cheers,

  • #3 / Mar 21, 2012 4:25pm

    Michael Rog

    179 posts

    Weirdly enough, after performing a stack trace of the process responsible for performing the installation of ExpressionEngine, I was able to find the following error occurring when accessing a portion of Cartthrob:

    stat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php", {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs", {st_mode=S_IFDIR|0754, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs", {st_mode=S_IFDIR|0754, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php", {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system/expressionengine", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs/system", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com/httpdocs", {st_mode=S_IFDIR|0754, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts/site.com", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www/vhosts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    stat("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php", {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    open("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php", O_RDONLY) = 26
    fstat(26, {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    lseek(26, 0, SEEK_SET)                  = 0
    fcntl(26, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
    fstat(26, {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2aa0b87000
    lseek(26, 0, SEEK_CUR)                  = 0
    open("/var/www/vhosts/site.com/httpdocs/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php", O_RDONLY) = 27
    fstat(27, {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    mmap(NULL, 76362, PROT_READ, MAP_SHARED, 27, 0) = 0x2b2aa0b88000
    munmap(0x2b2aa0b88000, 76362)           = 0
    close(27)                               = 0
    ioctl(26, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff09e24360) = -1 ENOTTY (Inappropriate ioctl for device)
    fstat(26, {st_mode=S_IFREG|0777, st_size=76362, ...}) = 0
    mmap(NULL, 76394, PROT_READ, MAP_PRIVATE, 26, 0) = 0x2b2aa0b88000
    lseek(26, 0, SEEK_CUR)                  = 0
    munmap(0x2b2aa0b88000, 76362)           = 0
    close(26)                               = 0
    munmap(0x2b2aa0b87000, 4096)            = 0

    (This was just after the license screen, so I hadn’t even gotten to the part where I could have selected to install the Cartthrob module as part of the installation. I usually install only the base modules and then install 3P stuff via the CP after EE is installed.)

    Removing Carthrob’s files from the third_party system folder left me with similar errors re: Solspace Calendar. Removing Calendar’s files from the third_party system folder eliminated the errors and the installer ran fine.

    n.b. Nothing showed up in the Apache logs; whatever was failing was failing silently.

    AFTER installing, I moved the Cartthrob and Calendar files back into the third_party system folder, and both modules installed without issue.

    So, perhaps there’s an issue in the installer where it looks for available modules and hangs on something?

    The versions included in my build are:
    Calendar 1.7.0
    Cartthrob 2.0506

  • #4 / Mar 23, 2012 6:16pm

    Shane Eckert

    7174 posts

    Hey Michael,

    We pretty much ignore third party apps. As far as the DB goes, we touch nothing, we are not even aware the tables are there.

    I am really not sure why removing the third party apps directory made things work.

    The strace above looks like a bunch of notices, just checking out the files. That would be expected, but I do not think anything is being done aside from walking the directories.

    So where are things now? Are you good?

    Cheers,

  • #5 / Mar 24, 2012 9:47am

    Michael Rog

    179 posts

    For now, all seems to be fine. Thanks!

  • #6 / Mar 24, 2012 10:19am

    Michael Rog

    179 posts

    So, another installation, another server—this time, my (mt) dedicated-virtual, with which I’ve never had any problems, ever.

    EE 2.4
    Cartthrob 2.0506

    Something about Cartthrob being in the third_party folder during installation brings me to a 500 straight after the license agreement.

    I isolated every other 3P component in my build, one-by-one, and none cause any issues. None of the extra Cartthrob fields/folders in third_party cause any trouble. Just the main Cartthrob module files.

    I’ll report it over at Cartthrob’s site, also. But… There’s something in EE’s installer that is referencing third_party files and getting hung up on something in there.

  • #7 / Mar 27, 2012 5:05pm

    Shane Eckert

    7174 posts

    Hey Michael,

    Thank you for following through on this one.

    I will run this by the Devs and see if there is something that is checking the Third party folder.

    Glad that you are up and running again.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases