Merlin Silk
Forum Replies Created
-
Hi, I found this thread after running into the same problem. I tried to follow the instructions on getting debug output but despite the two defines added I don’t get any debug file written.
My setup is a bit different – I am running nginx with php-fpm, not apache with phpmod.But I have a few more data points that might shed some light:
I installed the classic editor and when I edit the post in that, I don’t have a problem saving changes to the page – when I use the block editor in the same page, I get the json error.
I am pretty sure that this has worked sometime last week and I did make some changes but I don’t know which of the changes started to cause the problem because I did not edit a post after each of the changes. Here are the changes I made (the ones I remember):
– updating PHP from 7.0 to 7.4
– added the line try_files $uri $uri/ /index.php?$args; for all files in the nginx config file to add the index.php to the uri so that I can use better permalinksI hope we get to the bottom of this 🙂
Hi – thank you for the answer.
Here is what happened – just in case somebody runs into a similar problem:
I have php56 and php74 installed and could (through DirectAdmin) select for each website, which of them to use. I had not updated fully to 7.4 because some sites use plugins that are not compliant with 7.4.
But the default for the system as a whole was still 5.6, so this is what wp-cli picked up.
/usr/local/bin/php was a link to php56. I changed to that link to the location of my installed php74 and like magic, wp-cli picks up the right PHP and no more warnings from your plugin.
Thanks again for you help.Forum: Plugins
In reply to: [10WebSocial] is selective feed possibleThanks for the reply – I missed there was an answer, that’s why I am coming back so late.
About the premium version: If I buy the basic premium version with 6 months of support, will the plugin stop working after those 6 months, or could I just not get new updates anymore? What is the mechanism of verifying that I am authorized to use the premium version – is there calling home, or is there some hidden code built into the plugin? The reason I am asking because I am not allowed by policy to use any software that stops functioning when the company behind it goes away.
Thanks – MerlinPerfect! Thank you.
Hi Peter,
interesting point regarding the reset button – and I do agree with w3schools. I don’t think I have ever used it anywhere and seen any use for it.
Thinking of usability in my case, you could either skip the screen that shows the data that has just been entered or instead of the Reset Form, have a button “Add New” which would clear the data and allow for entry of the next record.
The first actually seems like the cleaner method: you start at the table view, press a button (Add), a new window opens the user interacts with, and as he completes that actions he is back where he started – at the table view – and can press the button Add New again if that is what he wants. In the case of entering just one new record that would actually reduce a refresh and click as he does not have to press Show Table.
Loss of functionality would only be for a case where somebody would enter several records with similar data, where, in the current situation, he would just change the one or two items without being required of entering all data again. [But if this is the case then the database should be designed better 🙂 ]
So, yeah, my vote would be to remove the confirmation of the data just added and go straight back to the table view.
Cheers,
MerlinHi Peter,
thank you so much for all your help – I got it all working perfectly now.
One little gotcha for somebody else reading this and scratching his head:From an earlier message from you I copied
[wpdadiehard project_id=”?” page_id=”?”]into my web page and replaced the question marks for my numbers – refreshed the page and … ERROR: Data Project page not found [need a valid project_id and page_id]
I had to use my “intuitive debugging” to figure out that the quotes were the culprit. The ones on the web page from which I copied were not the straight quotes even though they looked nearly identical in the font WordPress displayed them.
Once I replace the four ” with ” all was dandy.
Cheers,
MerlinHi Peter,
I had the project created already, so I had the project_id, but I rummaged your whole documentation but was not smart enough to figure out how I would get a page_id and the die-hard shortcode complains when I don’t give it that page_id.
I though that it had something to do with first creating a menu in the dashboard but I failed to do that as well.
I did go to the dashboard menu in settings and entered a name of Mail List and a slug of maillist and selected all users except subscribers (I was logged in as admin) but no menu appeared in the dashboard.
What am I doing wrong?
Thank you,
MerlinHi Peter,
Thank you so much!
The styling issues are solved after digging into the css with the debug function in Chrome. That strange behavior of breaking apart the search and navigation lines were caused by a with:100% and display:block settings for input fields in twentyseventeen. I reset them to auto and inline for the two elements – and voila – single lines 🙂
But for the other part with hiding columns I must be missing something, as I followed your instruction and nothing changed.
I have not been using publisher for my purpose but use the following shortcode:
[wpdadiehard table_name=”maillist” show_view_link=”true” allow_insert=”true” allow_update=”true” allow_delete=”true” search_box_enabled=”true” bulk_export_enabled=”true”]
on a private page. (I make my user log into the backend as editor to access it. This way a visitor without login does not even find out that the page is even there.)
Maybe this is the reason that the shortcode does not see the changes I made (uncheck the ID column)?
My other idea I had – css setting display:none for class column-ID – does remove the column, but it also removes the view/edit/delete links on that first columns, so I can’t really use the css method.
Maybe we do need a wpdadiehard parameter to select the displayed columns and then show the view/edit/delete links on whatever the first column ends up to be.
Cheers,
MerlinHi Peter,
thank you so much – great starting point.
There is something on the field level which I found when playing with it a bit. I added
.column-ID {
display: none;
}
(my first column name is ID) and I was able to make the first column disappear. I was just guessing that this would work to suppress a column. Initially, I thought that I could use filter_field_name with a list of column names as parameter to only show those columns, but I guess that’s not what this parameter is for 🙂 [as a suggestion: could we get a parameter ‘select_field_names’ with a value of comma-separated column names to show only those columns??]You do have a class of ‘column-fieldname’ to address specific columns but I guess my css is not good enough to use them to style the width of my columns – any hint for me?
And one more about styling: On my page the block of search and table navigation is split into different rows while in your video they are in one line each. To demonstrate
two lines for the search:
______________ (text box)
SEARCH (button)and three lines for the navitation:
xxxxx items << <
_______________ (text box)
of yyy > >>I looked through the css but could not see how I could pull these lines together as in your video.
Cheers,
MerlinPerfect – works nicely now.
Cheers,
MerlinExcellent!
I finally got to work on that part of the web site again and have to say that the tutorial is just what I was hoping for.
Thank you so much!
Cheers,
MerlinHi Peter,
thanks for the prompt reply. I did get a bit more into the details and tried to figure out how to get my table set up and so far have come up with
CREATE TABLEmastermailing
(IDint NOT NULL AUTO_INCREMENT
,Lastvarchar(60) NOT NULL
,Firstvarchar(60) NOT NULL
,Sourcevarchar(16) NULL DEFAULT NULL
,Emailvarchar(100) NOT NULL
,Statusenum(‘enabled’,’disabled’) NULL DEFAULT NULL
,Addeddate NULL DEFAULT NULL
,PRIMARY KEY (ID,Email)
);CREATE UNIQUE INDEX
emailONmastermailing(Email);… and want to continue from here. The plan is to have a new page – maybe private, so that office personnel has to be logged in to see it – with this table content showing for searching and editing/adding. I know you have a tutorial for that – I will just have to review that.
But in general, a tutorial that takes a complete newbie like me by the hand and shows how to accomplish the whole setup – I think that would help not only me.
Cheers,
Merlin
PS: beside that – any idea how I could get a default for the column ‘Added’ that only inserts the date when the record is created?Forum: Themes and Templates
In reply to: [Twenty Seventeen] both header image and featured image displayLooks like a design flaw to me, not relly a bug, let’s hope that one of the designers is a bit embarrassed about that 🙂
Forum: Plugins
In reply to: [eShop] How is a successful paypal payment reported to eShopAh, ok, so it is polling instead of being event driven. We might want to tell the developer of that piece of code that event driven might be more difficult to implement but uses waaaay less resources. IPN to get messages is THE way to go with Paypal. 🙂
Forum: Plugins
In reply to: [eShop] How is a successful paypal payment reported to eShopI might not quite understand the underlying mechanism used, but I wonder HOW does it wait once the user has closed the browser. IPN I can understand, because with that Paypal actually calls a URL on the web server, no user or browser involved, but how can this work with a synchronous talking to Paypal??