Announcement

Collapse
No announcement yet.

Can't login 500 error "Espo\Core\Application" not found

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't login 500 error "Espo\Core\Application" not found

    I am getting the 500 again, all of a sudden, was fine a few days ago, and the directory "Espo\Core\Application" is not missing (config says it's on ver 7.5.6)

    Any ideas?

    Last time i think i renamed some folders and renamed it back - i thought it was fluke and that actually didn't fix it so I didn't note it but the error 500 is back

    [18-Oct-2024 02:53:11 UTC] PHP Fatal error: Uncaught Error: Class "Espo\Core\Application" not found in ............../public/index.php:39
    Stack trace:
    #0 {main}
    thrown in .......public/index.php on line 39


    I compared it to my Windows WAMP version of Espo and the file is identical​ (ver 8.3.6)

    I may have goofed it up a few weeks back trying to upgrade, but I think keeping the old Adv Pack is an issue? Maybe some pointers are off now?

    Tried restore and didn't work

    Any ideas how-to go backwards in verson gracefully?
    This is the client's test instance on wordpress/shared server
    Last edited by crmclients; 10-18-2024, 06:08 AM.

  • #2
    I saw EspoCRM was added back in the Softaculous catalog so I installed a fresh copy 8.4.2 on the same site and got 500 error, no login just like our regular training instance
    So I installed on different website same fresh copy and it works just fine
    ISP? looks like something bad on the site

    Now to look for migration steps, haven't done that in some time, not sure I can the gap may be too wide, suggestions welcome - from 7.5.6 db structure to 8.4.2 - np if I have to lose the customizations

    Comment


  • #3
    victor thx so much for the detail steps, I started out but cannot finish as there is no 7.5.6 version to d/l - I found 7.5.2 but im guessing it didn't work because of updates to db/php/etc. - my db import (drop tables) works just fine as in the data looks good - i can update the db name/log in config but again the versions are off so 500 - not sure where to go from here

    i thot maybe the ISP PHP version was an issue, it's on 8.1 for the 7.5.6 version...

    FYI no CLI access...

    Comment


    • #4
      Fixed: Jobs running in-parallel processes not working in PHP 8.1.22, 8.2.9 (exclusively) #2828

      Comment


      • #5
        ThomasB thanks so much! Trying and still getting error 500, but at least I have the right version, so I know it's not that
        Appreciated!

        Comment


        • #6
          Update: My webhost is ghosting people while all the knowledgable techs jump ship. They are unresponsive and I lost access to all files/cpanel, everything, 2 months of sorry bout that crazyness. I ended up leaving my webhost for AWS. After requesting and getting email approved for AWS so far so good for switching to Lightsail.

          My CLI skills are a little rusty so i just uploaded the Espo zip file for 8.4, installed, then copied over the Custom folder. Have an issue with Contacts and the layout (i think it's a layout problem) but the fields we created all show up. Was not able to import the database successfully, so decided to just import CSV files. It's a training db so not critical to duplicate everything.

          I may have to revisit CLI method but for now my client has something that works.

          Happy that I had a backups locally I could use. I may be missing something not being able to restore the db. tracking some threads to that effect but appreciate your detailed list victor! I will revisit when things settle down.
          Last edited by crmclients; 11-18-2024, 06:41 PM.

          Comment


          • esforim
            esforim commented
            Editing a comment
            How is AWS? I saw this "$ per hours thing", I think I tried a trial but I have no idea what I was doing so I bailed. I do kinda want to move as AWS sound good on the surface... but I need 'insider' knowledge.

            Please share your pitfall or success.
        Working...
        X