So just upgraded to the latest version of EE from 3.x, and running into a few odd issues. The installation is largely usable.
“Error The page you requested was not found.”
appears. Once logged in I can see the site fine. The site is definitely “on” and any settings that I’m aware of should not be hiding the site.
Some parts of the control panel have “loading” bars that never load.
IP to Nation never finishes unpacking/inserting the nation lists.
When trying to create a new field, the “Type” dropdown is not usable/does not populate.
Also when trying to create a new field (after hitting submit):
“Exception Caught Cannot get field of unknown type “”. ee/EllisLab/ExpressionEngine/Model/Content/FieldModel.php:49 Stack Trace: Please include when reporting this error
I’ve tried totally new installations and new DBs to see if it was some setting with my existing setup but the same issues occur. I ran the server test utility to make sure my server was configured properly and it reported all good. Also have never had issues using EE prior to 5. So just not sure what all is going on.
Been playing around with different settings, reinstalled numerous times, wiped databases/upgraded from older installations. Nothing helps. Any thoughts?
MySQL 5.5.42 PHP Version 7.1.25 w/ FPM
PHP Version 1.25
? I think you may want to double check that PHP version.
You’re saying that you get all of the exact same behavior and errors on a fresh install with a new database? Please check your web browser’s console for errors. It sounds like some or all of the JavaScript from the themes folder might be failing to load.
Forgot that 7. lol
Ah yes, lots of JavaScript errors. 404 Not Found.
“HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - http://www.example.com/system/index.php?S=0&D=cp&C=javascript&M=combo_load&file=cp/channel/menu&v=1547677290”
“HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - http://www.example.com/system/index.php?S=0&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog,button&plugin=ee_interact.event,ee_broadcast.event,ee_notice,ee_txtarea,tablesorter,ee_toggle_all,nestable&file=react/react.min,react/react-dom.min,json2,underscore,cp/global_start,cp/form_validation,cp/sort_helper,cp/form_group,cp/modal_form,cp/confirm_remove,cp/fuzzy_filters,components/no_results,components/loading,components/filters,components/filterable,components/toggle,components/select_list,fields/select/select,fields/select/mutable_select,fields/dropdown/dropdown&v=1547677302”
Not sure what is causing it. Any ideas?
That’s Derek. I redeployed themes and it didn’t help. Then I looked at my .htaccess file and removed it temporarily and the errors related to javascript loading have mostly gone away, but the issues I described in my first post still occur.
So while things are still broken, there are less errors coming from the browser at least. Here is one that does pop up though…
GET http://www.prjkthack.com/system/index.php?S=0&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog,button&plugin=ee_interact.event,ee_broadcast.event,ee_notice,ee_txtarea,tablesorter,ee_toggle_all,nestable&file=react/react.min,react/react-dom.min,json2,underscore,cp/global_start,cp/form_validation,cp/sort_helper,cp/form_group,cp/modal_form,cp/confirm_remove,cp/fuzzy_filters,components/no_results,components/loading,components/filters,components/filterable,components/toggle,components/select_list,fields/select/select,fields/select/mutable_select,fields/dropdown/dropdown&v=1547779759 net::ERR_ABORTED 406 (Not Acceptable)
And another that pops up frequently…
index.php?/cp/channels/edit/1:912 Uncaught TypeError: $(…).miniGrid is not a function at HTMLDocument.<a> (index.php?/cp/channels/edit/1:912) at l (jquery.js?v=1547779744:3) at Object.fireWith [as resolveWith] (jquery.js?v=1547779744:3) at Function.ready (jquery.js?v=1547779744:3) at HTMLDocument.s (jquery.js?v=1547779744:2)
Any other ideas or settings I can mess with? I was using the .htaccess file to get my index.php removed and haven’t had any issues with it in previous installations. I did use the updated .htaccess rewrite code provided in the user guide and it appears to be working okay.
Looks like your .htaccess may still be causing problems for one, I get a generic page not found 404 on your domain. Any other errors you are seeing are likely cascading from the 406 error your server is sending as a response to that JavaScript request. Where are you hosted and what type of environment is it? Check your web server error logs, which likely wrote a more detailed error for any of those 406 responses.
http://www.crucialp.com/ is my host.
I temporarily renamed my .htaccess file to disable it. Same issues.
cPanel Version 76.0 (build 17)
Apache Version 2.4.37
PHP Version 5.6.39
MySQL Version 5.5.42-MariaDB
Architecture x86_64
Operating System Linux
I’ll take a look at the logs.
I did also temporarily disable modsec as a post online suggested that some 406 errors are caused by it, but it doesn’t appear to have changed anything.
I should have edited that, I am actually on 7.x of PHP.
Oddly enough I took a few days to stop messing with it after I didn’t see much in the logs. Its been oddly frustrating trying to figure out what’s going on.
Your reply prompted me to check on it today… and its working? I did absolutely nothing after my last post aside from download the logs and read through some of it.
Control Panel ALMOST appears to be working properly. No more endless loading bars at least.
While the website itself initially did not load when not logged in, I found that changing access to include guests allows the site to work as normal without being logged in. A little odd, is this a new change for 5.x? I have to manually turn on guest access to each template in order for it to be viewed? Is there a toggle somewhere for me to just turn it all on by default?
Aside from that, everything appears to be working now despite me doing nothing else. Maybe the server just needed a few days to breathe too after I had been furiously messing with it. lol
Edit:
IP to Nation still isn’t loading or inserting properly.
errors: jquery.js?v=1547779744:4 GET http://www.prjkthack.com/system/index.php?/cp/addons/settings/ip_to_nation&method=insert_data 500 (Internal Server Error) Uncaught Internal Server Error
Edit 2: I remembered that I disabled my htaccess and modsec and once I flipped those back on things started breaking again. Let me figure out which is causing what.
mod_security’s content rules should be whitelisted from all control panel requests. You can keep other rules in place for things like user agent, etc., but if you run mod_security at all in the control panel on content, it’s going to cause a lot of problems. When you think about it, as an admin, you are constantly submitting things that would look malicious if it were coming from an unknown actor to the front end of your site.
For IP to Nation, I wonder if you’re just hitting this issue.
I was able to get my host to whitelist the /system/index.php and all it well now with modsec enabled. Thanks for helping me track down what the issue was. I guess something must have changed drastically in 4/5 that triggered modsec as I did not have any issues with modsec before the upgrade! Glad the nightmare is over.
As for IP to Nation, I can do without it, I just thought that because it wasn’t working it was an indication of something else in my setup that was not operating properly. I’ll check the add-on in the future for an update.
Thanks all! Appreciate you!
You mention endless loading screens. I think I may be having a similar issue with bluehost. We’re getting a bunch of error 406’s and I believe it’s due to mod security.
You mention having the host whitelist the /system/index.php in mod_security.
Is that the correct terminology to use when communicating with bluehost’s support team do you think? I imagine they’re very quick shrug away issues they deem as too complex for a shared hosting platform, and I just want to know how best to convey to them what we may need. Mod_security has us hobbled.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.