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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crmclients
    Senior Member
    • Jul 2020
    • 254

    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.
  • crmclients
    Senior Member
    • Jul 2020
    • 254

    #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

  • crmclients
    Senior Member
    • Jul 2020
    • 254

    #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

    • ThomasB
      Senior Member
      • Mar 2022
      • 163

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

      Comment

      • crmclients
        Senior Member
        • Jul 2020
        • 254

        #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

        • crmclients
          Senior Member
          • Jul 2020
          • 254

          #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.
        • crmclients
          Senior Member
          • Jul 2020
          • 254

          #7
          esforim I never know what I am doing so charge ahead!!! You will eventually get there

          So looks like one month later, so far ok with 2 websites moved, however...... mail, although working, is going to require some additional research, possible enlisting another service they way i want to do it, which is without using Route 53/additional costs.

          Regarding the $$ for Amazon so far for December I have spent $0.91 - yes 91 cents - just WP site Im the one user and WP/Espo same just me - maybe sent 20 emails in testing to myself LOL

          Regarding management, I did the Lightsail with Plesk, so that $15 a month but the Plesk lets you add 10 websties to their plan. I was paying 7,8,9 for each with my old host. However, if I have to end up getting more IP addresses it might be a wash, but I am happy I have control on these 2.

          Since I got approval for mail from Amazon, and it kinda works on both sites. Since they are just test sites, I'm not really caring if it's perfect, but I noticed some issues last week. Also, could have been a browser/cache thing, it seems to be ok when I cleared

          When you first set it up, Amazon shuts down one way, I think you can send but not receive or vice versa - you have to ask for person and give a business case - I was denied at first but then in my reply was approved - i think a bot answers everything really - that 's part one - then email will work fine but if you want to add reverse dns there is more to do - this is where I am at

          I want to set up Reverse DNS so my mail doesn't get rejected at some point however that required another IP so meh for now but I will have to revisit if/when I move my business site over.

          There is an issue needed a 2nd IP for mail - one incoming one outgoing so I am stopped at this point as I only want to use the free one that comes with Lightsail one (both I am a cheapy and I don't have the $ right not for it) - have some leads on free services for this but only explored briefly and had to pivot to other things - I am not sure if I will get back to this with Christmas etc but Ill be sure to update when I do

          to be fair, Amazon is trying to avoid spammers and so they want to ensure people who intend to do that don't use Amazon and they want to charge for high traffic - so it's hard to find info on how to just use Lightsail for everything

          the most helpful YTube video is by POSITIVE GEEK, was by the book step by step - I did have a hiccup with logging into Plesk so I deleted the Lightsail instead and started over and it worked fine

          I have 2 sites on 1 Lightsail instance, WP on is one and EspoCRM and WP on the other

          Feel free to ask more ?'s

          Comment


          • esforim
            esforim commented
            Editing a comment
            This need some time to digest and actually trying out or watching long video. But wow $0.91 is a steal!

            Some of the website we manage it just there for contact information and services, they don't believe in website but feel it a necessary requirement. Some website email never ever is expected, but when email should come through, it must be usable so I'm rather scare of the AMOZO decide to shut it or disable it...

            Currently we being bill $20 - $50 USD per month on our current host (Hostinger), which cost of course increase as we not in US so it depend on our currency and a nice premium "international convert currency fee" our bank charge.
        Working...