This new subsite got ID#3 and /03/ in the uploads folder, it’s not a major issue in any way. But I was curious if it’s possible to delete the new subsite, reset the counter and create a new one with ID#2? I read around and it seems like you can. Does anyone here have experience with this?
Thanks!
]]>I’m using the plugin in a managed WordPress hence do not have FTP access. I need to include the auto-increment option in tables as the primary key. I have figured out how to convert a column into a primary key but have not been able to find out how to use the auto-increment option. Kindly help.
Also, it would be great if I can use characters followed by incrementing numbers as the primary key. That looks cool.
For example:
Simple auto-increment keys are like- 1, 2, 3…
And I want- uid1, uid2, uid3…
Your assistance would really work.
Thanks a lot!
Thank you,
Judah
]]>Any help on how this affects the site and how to fix it would be greatly appreciated.
Thank you,
Judah
]]>Before i installed this plugin, the invoice-numbers got created randomly, thats why I downloaded the plugin. Now I have defined the start number for the invoice, and checked the boxes Display invoice number, next invoicenumer (defined by me). I also checked Legacy mode and calculate document numbers since it the database auto increments with more than 1.
The issue now Is that the invoice numbers jumps over every second digit.
now my invoices er like this: 1002, 1004, 1006, 1008. When i turned off Legacy mode, it jumped 2 up to 1011.
Anyone got an idea of what I am doing wrong? It ignores the “next number” setting for invoices that I wrote and continues to skip one or two numbers.I even removed the invoice start number, and still it generates a random number as if it doesnt change WPs own configure.
Martin
]]>I would like to make sort of like ticketing mail, where the email title contains a text “#1” and each time users submit the form, the text gonna increase in number.
Meaning the email title gonna be #1 at first, and then #2, #3 and so on.
Is it possible?
]]>2018/09/17{increment_capture:increment_value}W
Why does this not show the actual value?
]]>I’ve been working on two sites that need to be updated and to have some parts consolidated. Both sites are public and I want to minimize disruption, so I’ve done a lot of the preliminary work to relaunch on my LAN, including successfully uploading images. It looks like it will be best to finish the work on the external servers, so I set up sandbox.sitea.com and sandbox.siteb.com. I made some mistakes with copying files for sitea (and lost then recovered the plugin directory). I also used two approaches to copying databases: 1) export using phpMyAdmin and import also using phpMyAdmin either from external server to LAN or just on the external server, and 2) copying databases with phpMyAdmin, just on the external server.
Yesterday I tried to upload new images into sandbox.sitea.com, and ran into the “Could not insert post into the database” error. I searched for answers, checked permissions etc. Nothing made any difference – but I did find the image files in the upload directory. Then I found a suggestion that the issue was that AUTO-INCREMENT was missing in the posts and postmeta tables. The article didn’t explain why this might have occurred or whether other tables needed AUTO-INCREMENT and for which variables. I made changes, and was able to upload a couple of images without error.
Today I discovered, after making new copies from the production sitea database that didn’t solve the issue, that the production sitea.com was also generating the error when I tried to upload images. I also found that sitea.com fails and siteb.com works. Then I created a new WordPress installation with a new database, and found that I could upload images.
I installed HealthCheck and ran it, but it didn’t tell me anything that I think is relevant.
I tried some analysis with phpMyAdmin, but that didn’t tell me anything either.
Enabling WP_ALLOW_REPAIR and running the repair didn’t find any errors.
I don’t know which variables in which tables in a working installation have AUTO-INCREMENT set in the Extra column. Perhaps there is a way to find them with phpMyAdmin, but I haven’t been able to accomplish it. AUTO-INCREMENT doesn’t appear to be set in all the basic tables, and there are different plugins between sitea and siteb.
Is there a better way to fix this than replicating database content and plugins to a new WordPress installation? I don’t have shell access to the public server and I’m not sure if I could get mysql access remotely.
Thanks for any help and suggestions.
Mike
Thinking I clicked the wrong button, I clicked the Add Post again and still got the same error.
I then tested it by clicking on Add New Page and got the same thing.
I am not even going to try and click on and Edit post as the last thing I want to do is screw up my site.
Looking around I found a poast that said to fix this problem is by adding Auto Increment to my primary keys in tables wp_posts and wp_postmeta and checking my tables those are not set to autoincrement, but there are now entries in there that have the ids set to 0
Can someone confirm this for me?
Thank you.
]]>Now its a lot better, but since its a already functioning publication i would like that the newsletter number would match the one we already in.
Short version, since the publication is already in number 20 i would like to that the [newsletters_historyid] shortcode would match that number, without creating 20 false newsletter till it matches.
Where can i set the number?
Thank you
]]>