-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking CMS page takes you to the dashboard #816
Comments
Just checked on fresh installation and can't reproduce the issue. |
I did a generic install per the docs, no errors. I can use every other feature in the admin panel, just when clicking on a cms page to edit, it sends me to the main dashboard page. I cleared all caches, restarted php-fpm, etc... The first time I go to the list of cms pages, it says 4 records found, but the table is empty. If I click pages again, it populates, but I cannot edit. Environment: Maybe an issue with php-fpm using mod_fastcgi in Apache? The only errors in system.log are these lines that output after any admin function is clicked:2014-12-18T08:20:23-05:00 CRIT (2): Invalid template file: '' 2014-12-18T08:22:42-05:00 CRIT (2): Invalid template file: '' |
Those system.log records are not relevant here. Can you double check that your browser cache is not the cause that outdated JS files are used:
|
Emptied pub/static folder
I can use any other feature in admin panel, add new block, edit block, etc... If you need/want admin access to see this, just let me know where to send info (vps container) Only errors in system.log on initial admin login after emptying pub/static 2014-12-18T09:07:08-05:00 CRIT (2): Broken reference: the 'logo' element cannot be added as child to 'header', because the latter doesn't exist 2014-12-18T09:07:08-05:00 CRIT (2): Broken reference: the 'ui.global.config' tries to reorder itself towards '', but their parents are different: 'footer' and '' respectively. |
fyi - i wiped the install, did another clean install (used web based setup, no errors), and still the only feature that does not work in the admin is trying to edit a content page. It just sends me to the admin dashboard page when clicked: |
I turned off secret keys in URLs. After doing that, when I click a content page to edit, the page shows "404 Error - Page Not Found". The URL it tries to go to is: However, if I manually change the URL to: the edit works. Seems somehow the URL is being altered incorrectly in the admin area. Hope this helps. I can edit any block or frontend widget just fine in the admin. It's just the content pages. |
FWIW having the EXACT same issue. |
I'm not quite sure why there are so many urls with a hardcoded extra 'admin/' in the backend,
Anyway, since those links worked before and looked like a regression, I dug through the changes, and though it's probably wrong, this diff reverts a file and fixed the problem for me: diff --git a/app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php b/app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php
index 8c10225..08c8309 100644
--- a/app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php
+++ b/app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php
@@ -16,7 +16,7 @@ class Actions implements RowInterface
/**
* Url path
*/
- const URL_PATH = 'adminhtml/cms_page/edit';
+ const URL_PATH = '*/*/edit';
/**
* @var UrlBuilder |
@nyov Thanks for this. It worked for me as well. Now we wait to see if the issue persists in the next update. |
Issue was resolved after merging #858. IF there is another error, feel free to reopen with additional details. Thanks. |
Tasks: * MAGETWO-59184: [GITHUB] Prevent double shipping method selection #5928
In admin under: Content -> Pages, clicking any page does not allow it to be edited. It just redirects me to the main admin dashboard page. By design, or a bug? Magento ver. 0.42.0-beta1
system.log does not show any errors besides this for each admin page click:
2014-12-17T23:12:06-05:00 CRIT (2): Invalid template file: ''
The text was updated successfully, but these errors were encountered: