All pages forbidden after upgrade to 5.6.0.1

Permalink 2 users found helpful
I'm on a centralized wamp installation and did a manual upgrade from 5.5.2.1 to 5.6.0.1. Tested it all out on my dev server without a glitch but on the live server things got fishy...

I have currently just two sites up - one with basic permissions and one with advanced permissions.

The basic permissions site had no big issues with the upgrade (just had to edit some permissions for site access and filemanager access) and was up and running after just three minutes.

The advanced permission site went through the upgrade process without any errors, but as soon as I hit "Back to home" things got fishy. Now any page I try to reach gives me "Page Forbidden", and I mean any page except /tools/upgrade. I can't log in or reach the dashboard.

Now I have tried to compare the db between my dev and production servers, but there are a few entries in them...

Anyone has any idea as to where I might have an error or how I could fix this?

adajad
 
adajad replied on at Permalink Best Answer Reply
adajad
After even more digging I found an override of the page_forbidden controller in my production server that wasn't in use in the dev server.

A small edit solved it.

...sometimes one can feel pretty stupid.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi, have you been able to solve this problem? I've been experiencing the same problem after the manual update... I would appreaciate your help!

Thanks
adajad replied on at Permalink Reply
adajad
Yes, I solved it by uncommenting one line in my page_forbidden controller.

My suggestion is you try to disable all overrides to see if you can get your site up and running.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi, thanks for your mssg! Could you please help me step-by-step, I would appreaciate it very much!
adajad replied on at Permalink Reply
adajad
If you are willing I can take a look at your files on your server, but then I need ftp access to your site.

You can send them in a pm to me (if you trust me not doing damage) and I can give it a try. I will not promise you a solution, though...

If you want to find it yourself, you need to look through all your root directories (excluding 'concrete') and see if you have any overrides preventing you from reaching your site.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Thanks for your willingness to help me out, however it's a customer's website and they don't want me to release the ftp data. What do you mean by overrides? How do I check that?
adajad replied on at Permalink Reply
adajad
You check for overrides as I stated above.

Look through your root directories (excluding 'concrete') and see if you have any files/folders in them. If you do you can begin renaming them one by one (just add an underscore in front of each name so you easily can change back).

Reload the page between each rename. Start with looking in these folders:

- controllers
- elements
- helpers
- libraries
- models
- page_types
- single_pages
- tools

If you don't find anything in those then head into 'blocks' and do the same.

EDIT: Come to think of it, you can find all your overrides by looking at your 'Environment Information'. Head over to 'yourdomain.com/index.php/dashboard/system/environment/info/' and copy the information and paste it here.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Here's the Environment info:

# concrete5 Version
5.5.2.1

# concrete5 Packages
Advanced Slider (1.1.6), Block Quoter (1.0.1), Content Slider (1.2.1), Easy Accordion (1.0.6), Easy News (1.1), Easy tabs (1.6.7), Expand / Collapse (1.2.1), Silence Theme (1.3.5), tnSpacer (1.3).

# concrete5 Overrides
helpers/validation

# Server Software
Microsoft-IIS/7.5

# Server API
isapi

# PHP Version
5.2.13

# PHP Extensions
bcmath, calendar, com_dotnet, ctype, curl, date, dom, exif, filter, ftp, gd, gettext, hash, iconv, imap, ISAPI, json, libxml, mbstring, mssql, mysql, mysqli, odbc, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
adajad replied on at Permalink Reply
adajad
You only have one override (helpers/validation), so start with disabling that one to see if that solves it temporarily. If it does you need to find out what changes have been made in your override and fix those changes to match the new permission model and naming conventions introduced in 5.6

The override will be found in 'root/helpers'.

And it also looks like you haven't completed the upgrade to 5.6 since your info states you are on 5.5.2.1
jasteele12 replied on at Permalink Reply
jasteele12
Thinking a Show All Overrides dev-addon would be nice...