orangeworx
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can we run an update script on all past posts ?getting the data from the db using a loop and running the function
or SQL instructions on the db directly
I’m not savvy enough to code this for you but shouldn’t be too complex to code in a loop on top of your functionForum: Fixing WordPress
In reply to: wp-admin “Sorry, you are not allowed to access this page.”Thanks for the response though it’s still returning the same error
It was exactly how I had recreated my user. I tested your method just in case I’d slipped in something different when I had tried it myself.
On the frontend, it shows the newly created user as signed in.
On the backend, “Sorry, you are not allowed to access this page.”
Since my issue occured when a plugin gave me unlimited access to the user table and let me delete them all, what I’m trying to figure out is how WP processes user deletion to know what tables are accessed and modified when such action is undertaken.
No files or their permissions were changed, just user deletion… at the db level, wp_users was empty.
But since we’re recreating super admins then there should be no reason for access restrictions unless there are other places than wp_users and wp_usermeta that were modified.- This reply was modified 6 years, 11 months ago by orangeworx.
My recreated super admin was given this wp_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
on other WP instances it’s this a:1:{s:13:”administrator”;b:1;}
Not sure what that last :”1″; doeschanging the first one to have b instead of s still gives me the you’re not allowed to view this page, on front end i’m logged in.
@helldog2018
I don’t want to hog this thread, can you take a peak at mine here? ThanksForum: Fixing WordPress
In reply to: I can’t write anything on my WordPress pagesCan you start by telling us what’s changed since last week? added a plugin? removed one?
your understanding of the “visual” might not be entirely clear.
visual or text are basically the same thing wherein you write your content with one difference. visual is for the WYSIWYG editor, meaning you can add formatting to your content…Now if you can’t add anything, whether in visual or text, is another story
Are you the admin and have access to modify pages? are you the sole user (to rule out someone changing user roles)help us help you
PS: you weren’t talked down to, it didn’t look like so. But these forums have, more often than not, the answers to most questions. A search is your starting point and if that doesn’t help, a clear concise explanation of what’s going on, with as many details as possible, is required.
HTHForum: Fixing WordPress
In reply to: Hide gravity form prices on woocommerce cartShould probably be posted at the gravity forms page. They are the devs and this is the “Fix WordPress forum”
Forum: Fixing WordPress
In reply to: modify luxury hotel slider (size and color)wrong place to post this…
I’m faced with the same issue, I’ve posted a similar thread about this yesterday.
Something regarding permissions seems to be missing for me but I’d suggest checking wp_users and wp_usermeta in the phpmysql (or wtv db management you use) and validate that the ID for your admin is the same in both tables.- This reply was modified 6 years, 11 months ago by orangeworx.
Forum: Fixing WordPress
In reply to: WordPress Media library doesn’t workare you using any gallery/media plugins?
try developer tools (or the likes depending on browser) to see if any errors appear.
Can’t help you much since it’s on the backendForum: Fixing WordPress
In reply to: wp-admin “Sorry, you are not allowed to access this page.”Does anyone know how to rebuild the user info in the db, which tables need which inserts kind of thing.
I’ve been looking through different WP instances that I have access to in order to compare what fields are required so the super admin user has access but I believe I’m missing something else, maybe in another table.Forum: Fixing WordPress
In reply to: Images being lost after entering News function@doodledave: if this issue is resolved, you should mark it as such for everyone.
Forum: Fixing WordPress
In reply to: My site wont load@mcantwell75 what plugins/theme are you using? visiting the page shows a loader and a lot of white space to scroll through.
Forum: Fixing WordPress
In reply to: Update to 4.9.5 broke somethingOk that is totally bizarre. I just went in to the page list and all my pages were deleted… Not permanently just in trash… When I restored them and went back to reading, the missing section reappeared… This solved it I guess but haven’t checked in depth to see if anything else was affected… What could’ve caused this?
Forum: Fixing WordPress
In reply to: Website is gone.I would suggest you check your files on your host first… Something is definitely off and I doubt it’s because of a plugin update. I too get a download file download when I hit your link.
Unfortunately, I can’t do more as I don’t have access.Forum: Fixing WordPress
In reply to: Weird issue@kjodle: nevermind man,
thanks for your help, I realized it was my stupidity! I misplaced an htaccess file in the wp-admin directory of the problematic install… removed it and things went back to normal..Doh!