-
Notifications
You must be signed in to change notification settings - Fork 12
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
0 Words and not able to post? #17
Comments
Hi @itawde , thanks for reporting! the error you are showing indicates one of javascript libraries is not loaded. Could you confirm if Also, just on a hunch - does adding an |
Hi, jquery-fileupload seems to be loading. At least it shows up within the generated source code :) Adding the error_reporting to gust.php didn't change anything. Behaviour stays the same, also no additional (error) output. |
Hi again, Is the output of Also, is this on live server or in localhost? |
Hm if there's any tool available for a quick 1:1 source code comparison then I don't have it ;) If you want to check 1542 lines manually, here's the output from my server: https://gist.github.com/itawde/8256749 ;) It's a live server. |
@itawde the tool is called diff (e.g. http://www.diffchecker.com/). The output matches, so I'll have to look for another problem. Now if you tried changing line 542 of |
Ah thanks for the link :) General behavior didn't change. However now the JS error doesn't show up on load of the editor, but it does when clicking on the arrow right next to "Update post". Klicking on "Update post" itself still nothing happens, and still the editor does show "0 Words". |
is the actual error message the same? Have you tested this on several browsers? I assume you use Firefox as you mentioned Firebug. |
Yes, same error message. Tested on Firefox, Chrome and Safari on my Mac. Behavior identical on all browsers here. |
Hi, @itawde, I have just released a 0.3.2 version, with several small updates and fixes. I wonder if this helped in anyway with your issue? |
Unfortunately not. |
I'll keep looking, then. |
After installing Gust 0.3.1 on my web server (Debian, Nginx, PHP 5.4) the editor does load, but when I add want to add a new post the preview window always shows "0 words" and when clicking on "Update Post" nothing is happening.
When loading the editor with Firebug open however there's a JS error:
TypeError: jQuery(...).upload is not a function
jQuery('.js-drop-zone').upload({editor: true});
in gust.js?v=0.0.1 (Line 631)
Not sure if that already might be the reason for it. Anyhow right now I'm not able to use the editor at all which is kind of a shame.
Any hints are appreciated :)
The text was updated successfully, but these errors were encountered: