-
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
Blank Post and Page lists #6
Comments
Hi, could you give me some specifics about your system? WordPress version, PHP version, do you use apache or nginx, etc. |
Wordpress 3.8, PHP 5.3, nginx Sincerely,
|
Hey there :) Same error here, also can't add any pages, doesn't seem to work. This is on my local dev server so: PHP Version 5.3.1 |
mkjonesuk, khurtwilliams, still can not replicate this on my server. Thinking it might be browser specific - or maybe you tried on serveral browsers? From screenshot I can recognize Safari, I'll try to get hold of a Mac to test this tomorrow. The only situation, where I can get blank lists like that is when user has no 'edit_others_posts' permission (author or lower) and does not have any posts authored by himself. |
Hey there, I tested on PC and Mac, Chrome and Firefox. This was also tested using a I've had issues with this flavour of local dev server and JSON requests? Also note that: Adding posts and pages doesn't work, the save/update button doesn't do The markdown/preview screens do not automatically update. You can type text I can't log into the system using the log on screen at the /gust location. I hacked around the code and tried to get things working last night but it
|
Hey again, From this it sounds as if my main JS (gust.js) is not loaded or fails to init for some reason. Could you check if there are any errors in the console (Chrome: Ctrl+Shift+I > Console) ? Thanks!
|
Sure thing, here's the console log from my local dev: 13:13:51.625 GET http://wppc.dev/admin-dashboard/post [HTTP/1.1 200 OK 267ms] |
Ok, now we are getting somewhere! Could you check PHP logs/actual output for this call: http://wppc.dev/api/v0.1/posts ? Thanks in advance! |
Sure thing, from my most recent request:
Seems to be the 500 error on the last line that you're after :) |
@mkjonesuk yeah, that is where the problem is. This is access log you are showing me, but I need error log to see what actually goes wrong there. |
Ah, sorry - error log showed no errors but when I visit '/api/v0.1/posts' I get this:
This is a log from my Mac setup. The previous one was from my PC, both are using a XAMPP server config. |
@mkjonesuk ok, now I feel silly. I was using some options in json_encode(), that were introduced in PHP 5.4. Facepalm does not even cover it. :) I'll add a fix in next release. You can edit Thanks for all the help debuging this. |
Great, glad I could help. I have it working now :) |
Hi, i am already have |
@eedithz could you please provide browser console log and/or server error log? Are you using 0.3.2 version of the plugin? |
I see you are using some sort of Disqus plugin? Could you specify what plugin and version it is? And also check if disabling that plugin helps with your situation? |
I am using disqus comment system version 2.74, and yes if the plugin is disabled the post and page list are work. Any idea how to make both plugin work? disqus comment system is an official disqus plugin for WordPress. |
@eedithz i moved this to a separate issue ( #27 ). I'll replicate this on my server and look for solution ASAP. |
Installed the Gust plug-in on my WordPress 3.8 blog. After logging into the admin interface I get the post list and preview page but ... the list is empty.
UPDATE 1: Isolated the error to API calls returning 500 error.
UPDATE 2: JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES in
views/json.php
are only supported in PHP 5.4. Removed them as they are only used for better readability.The text was updated successfully, but these errors were encountered: