We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Upgrading to EE 3 - getting "exception caught" error

How Do I?

Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

I’m trying to upgrade a site (locally) to EE 3.x from EE 2.11.9 (which I upgraded to from EE 2.5.5). I’ve followed the instructions and I’ve removed add-ons that I’m not carrying forward (not compatible with EE3). File-wise, I think I’m set. However, when trying to get to the installer via my admin page, this is what I get:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pace_ee_loc.exp_plugins' doesn't exist:
SELECT `plugin_package` FROM (`exp_plugins`)

Obviously I have a table missing but I have no idea how it would even be there if I haven’t been able to get to the upgrade wizard to begin with. HALP! 😊

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Hey Angie! Did you replace your admin.php file? And is the installer folder intact in the system folder? That sounds like it’s not even running the installer, which could occur on an out of date set of files, or one missing the installer folder (or isn’t readable).

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

Ah-ha! The admin.php file was what I was missing (I was using the wrong filename). So now I get to the installer but it’s completely unstyled. Where can I go to edit the paths? They’re way wrong.

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

It should be getting that info from the database, but you can override it in your config.php file, theme_folder_url, theme_folder_path.

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

Duh, of course. You’d think I was a noob or something. LOL

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

Gah - so as soon as I hit ‘update’, the next page shows a 500 error.

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Nah, it’s easy to forget all the overrides available, glad to help!

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones
Gah - so as soon as I hit ‘update’, the next page shows a 500 error.

Oh, ruh-roh! Is mod_security on this server by chance? 500 errors are typically environmental and mean something happened on the server that EE/PHP wasn’t allowed to see or handle.

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

Nope - not seeing it.

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Might be suhosin or a compilation error if it’s an older PHP version? In any case only way to get more info from a 500 error is the web server error logs.

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

I’m using MAMP Pro. This is all that I get in the Apache log:

[Mon Feb 26 16:40:41 2018] [notice] FastCGI: process manager initialized (pid 78618)
[Mon Feb 26 16:40:41 2018] [notice] Digest: generating secret for digest authentication ...
[Mon Feb 26 16:40:41 2018] [notice] Digest: done
[Mon Feb 26 16:40:41 2018] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/2.4.6 DAV/2 mod_ssl/2.2.34 OpenSSL/1.0.2j mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations

PHP log is empty.

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Hrm, not a MAMP user myself so not sure, though a few on our team use it. Might try hitting up the folks in Slack?

       
Angie Herrera's avatar
Angie Herrera
357 posts
7 years ago
Angie Herrera's avatar Angie Herrera

Will do!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.