22888 Posts in 9971 Topics by 2807 members
|Go to End|
1 July 2012 at 11:37pm Last edited: 1 July 2012 11:38pm
Don't know if I am the only one getting this, but I have been upgrading some of my 2.4.x projects to 3.0.0 and under "Pages" in the CMS, whenever I click a link, the little loading bar appears, but then nothing loads .
What is stranger is that the URL changes, and if I refresh the page the correct form loads, but I have to do this after every time I click a link!
My current setup is:
Project: git project
-- framework: git submodule (sapphire)
-- cms: git submodule (silverstripe-cms)
Server is apache 2.2 with PHP 5.3
Really causing me to scratch my head! I have tried installing a new version from the website and that works, but I am getting the same problem across 3 sites I am upgrading.
Any thoughts? Cheers in advance
2 July 2012 at 5:44am
So I got this kind of working now.
I ended up trying on one of the smaller sites (without much content) that I am upgrading, deleting all the local files and then re-checking out everything.
I also created a new database, but I a not convinced this was the issue.
For some reason this seems to have fixed the problem. I can only assume that maybe something from the previous version of SS may have been cached and was conflicting, but that seems quite odd, and I also tried ?flush=all as well which doesn't help.
I guess if any one else gets this issue upgrading, try:
1. Backing up your install.
2. Deleting your cache.
3. Deleting all local files (including cache).
4. Re-install from scratch and run /dev/build/?flush=all
5. (optional) pray to a higher power!
4 July 2012 at 9:07am
I'm still having this issue. I've tried re-installing etc. I don't have the CMS module installed, just the framework, and I have two very simple model admins defined. So I have 3 tabs (including Security) and I can't switch between any of them.
The JS error (from firebug) is:
17 July 2012 at 11:11pm
I seem to be having this issue also. From testing it seems to happen when a form field returns a validation error in the admin area of the CMS, so for example if the passwords don't match on 'ConfirmedPasswordField'.
This seems to be the case in the Security section and a custom Model Admin interface I have created.
Not sure how to fix this at the moment so if anyone has an idea that would be gratefully received.
19 July 2012 at 12:42am
I had something similar happening when working on a GridField Component, the loading animation would show up, the URL changes, files/url request would be loaded but nothing would change on the CMS interface.
Chrome would just not show any error, it worked fine in Firefox and IE showed a cryptic error.
It came down to some JS requirement files not loading in the right order. Removing some requirements confirmed it and then delaying the necessary scripts solved the problem.
Hope this helps.
17 August 2012 at 4:28am
31 August 2012 at 8:36pm
I had a similar issue. I solved it.
CMS content would not load via AJAX. Content would load fine via a normal request (so, just hit F5 in a decent browser, or correct the URL in IE).
My problem was a _config.php outputting a newline.
Specifically I had a blank line at the start of mysite/_config.php, before the opening php tag.
The response from the server included a blank first line, and then the JSON response, but the JSON response was missing the last character.
--- Wild speculation ---
Perhaps the Content-Length is somehow calculated excluding the newline, so when a newline character is included, the content is bigger than what is reflected in Content-Length. That would potentially cause problems in various servers, proxies, and browsers.
I don't think the SilverStripe CMS code should silently handle errors in AJAX responses, especially in dev mode.
|Go to Top|