Broken installation after moving from apache to nginx
Permalink
Due to other reasons I've been forced to move my webserver to nginx from apache. This move has broken the Concrete5 installation I had.
Issues I'm having is:
- None of the tool bars are working
- Cannot add or edit content blocks
- Page list navigation only shows the top node and cannot expand
When attempting to use the edit toolbars the following URL fails:
https://domain.com/ccm/system/panels/dashboard?cID=324...
The message back is Unable to find the specified page.
The nginx page looks like the following:
Any ideas where I should start looking?
Concrete5 environment:
Issues I'm having is:
- None of the tool bars are working
- Cannot add or edit content blocks
- Page list navigation only shows the top node and cannot expand
When attempting to use the edit toolbars the following URL fails:
https://domain.com/ccm/system/panels/dashboard?cID=324...
The message back is Unable to find the specified page.
The nginx page looks like the following:
location / { try_files $uri $uri/ /index.php$request_uri /index.php; } location ~ \.php$ { try_files $uri = 404; fastcgi_pass unix:/var/run/php-fpm/php-fpm-help.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }
Any ideas where I should start looking?
Concrete5 environment:
# concrete5 Version Core Version - 8.5.4 Version Installed - 8.5.4 Database Version - 20200609145307 # Database Information Version: 10.4.13-MariaDB SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION # concrete5 Packages Neat (0.9.2), Stucco (2.1.6) # concrete5 Overrides None # concrete5 Cache Settings Block Cache - On Overrides Cache - On Full Page Caching - Off
Viewing 15 lines of 45 lines. View entire code block.
Sounds Javascript-related to me. Look in browser console for errors to verify.
The expanding of the page list seems to be javascript related, but may be the same error as the other ones.
When attempting to add a new block to a page:
Server respons with Error 500 on url:http://help.profitbase.com/ccm/system/panels/add?cID=1...
Response is the following:
It seems that most (but not all) URL's starting with /ccm/ isn't working. But for instance the upgrade page works.
When attempting to add a new block to a page:
Server respons with Error 500 on url:http://help.profitbase.com/ccm/system/panels/add?cID=1...
Response is the following:
{"error":{"message":"Unable to find the specified page."},"errors":["Unable to find the specified page."]}
It seems that most (but not all) URL's starting with /ccm/ isn't working. But for instance the upgrade page works.
Finally found the solution in this thread:
https://www.concrete5.org/community/forums/usage/concrete-8.1-php-7-...
https://www.concrete5.org/community/forums/usage/concrete-8.1-php-7-...