LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   wordpress installation is locked (https://www.linuxquestions.org/questions/programming-9/wordpress-installation-is-locked-4175700219/)

tendouser 09-05-2021 12:25 AM

wordpress installation is locked
 
my wordpress installation in namecheap server is not allowing me to modify content!

do you have a clue what is going on?

ondoho 09-05-2021 12:39 AM

Quote:

Originally Posted by tendouser (Post 6281718)
my wordpress installation in namecheap server is not allowing me to modify content!

do you have a clue what is going on?

We need much more information.
Please read: https://linuxquestions.org/linux/ans...Ask_a_Question

Wild guess: permission/ownership discrepancey.
  • How did you "install" WP
  • what OS is your server using (also version)
  • how are you accessing it
  • what are current permissions and ownership on the WP folder tree with all files
  • what user is the web server running as

tendouser 09-05-2021 02:54 AM

Quote:

How did you "install" WP
I just extracted the full file structure to the namecheap shared hosting via ssh... other guys were in charge of the development
Quote:

what OS is your server using (also version)
Code:

~]$ uname -a
Linux serverxxx.xxxx.com 2.6.32-954.3.5.lve1.4.72.el6.x86_64 #1 SMP Thu Sep 19 05:30:26 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux

Quote:

how are you accessing it
credentials used to access WP dashboard/ssh/cpanel
Quote:

what are current permissions and ownership on the WP folder tree with all files
Code:

www]$ find . -maxdepth 1 -type d -name '*' -printf perm="%m/"name="%p/"\\n
perm=750/name=./
perm=755/name=./_old_files/
perm=755/name=./nc_assets/
perm=755/name=./css/
perm=755/name=./wp-includes/
perm=755/name=./wp-admin/
perm=755/name=./images/
perm=755/name=./wp-content/
perm=755/name=./assets/
perm=755/name=./.well-known/
perm=755/name=./cgi-bin/
perm=750/name=./berbeyallen.com/
perm=755/name=./js/

www]$ find . -maxdepth 1 -type f -name '*.php' -printf perm="%m/"name="%p/"\\n
perm=644/name=./wp-comments-post.php/
perm=644/name=./wp-login.php/
perm=644/name=./wp-config.php/
perm=644/name=./wp-trackback.php/
perm=644/name=./wp-load.php/
perm=644/name=./wp-links-opml.php/
perm=644/name=./wp-activate.php/
perm=644/name=./xmlrpc.php/
perm=644/name=./wp-config-sample.php/
perm=644/name=./wp-signup.php/
perm=644/name=./wp-cron.php/
perm=644/name=./index.php/
perm=644/name=./wp-blog-header.php/
perm=644/name=./wp-settings.php/
perm=644/name=./wp-mail.php/

Quote:

what user is the web server running as
how to get this one with a non-sudo user?

frankbell 09-05-2021 07:49 PM

What precisely do you mean by "locked"? A more detailed description on what's not happening that should (or what is happening that shouldn't) would be helpful.

Wordpress has an extensive documentation and help site. Have you consulted it?

tendouser 09-05-2021 08:59 PM

is not allowing to modify content... I'm trying to update a link to a video... when i do it... it seems to work but when i and see the link it persist with the current content

could it be the user perhaps?

I have credentials that were shared by developers... but for some reason I'm not able to modify the content

frankbell 09-05-2021 09:49 PM

Quote:

is not allowing to modify content
Just to make sure I understand, you cannot add or edit a post or a page, add a new link, or do other admin functions?

A few diagnostic questions come to mind:

Can you access the Dashboard?

Can you go to Dashboard-->Users and open the Users page. If so, what is the "Role" of your user?

Can you open "New" or "Edit" post/page dialogs, but not save the changes, or can you not open the dialogs at all?

astrogeek 09-05-2021 10:49 PM

Quote:

Originally Posted by tendouser (Post 6281963)
I'm trying to update a link to a video... when i do it... it seems to work but when i and see the link it persist with the current content

Could it be that your browser is showing a cached page?

tendouser 09-05-2021 11:28 PM

ondoho
Quote:

Just to make sure I understand, you cannot add or edit a post or a page, add a new link, or do other admin functions?
exactly, i canīt edit or post to pages and i am an admin user

Quote:

A few diagnostic questions come to mind:
Quote:

Can you access the Dashboard?
yes i can

Quote:

Can you go to Dashboard-->Users and open the Users page. If so, what is the "Role" of your user?
admin

Quote:

Can you open "New" or "Edit" post/page dialogs, but not save the changes, or can you not open the dialogs at all?
i can open the forms to edit HTML text or links but when tried to save... changes do not persist

...and I have found that I can modify some images in the the slider script ...but don't know the reason when trying to modify using the visual editor in the pages tab/section


astrogeek
Quote:

Could it be that your browser is showing a cached page?
in the dashboard/wp panel changes do not persist and as answered to ONDOHO i did some edit to some images in banners and changes are successfully applied

probably some content is locked for some reason!

ondoho 09-06-2021 12:22 AM

Re post #3:
I specifically requested to also look at ownership.
Funny how many people mistake "ownership" for "permissions". Both are important (the WP files being owned by the wrong user could well be the culprit here), but so many only look at permissions. SMH

I guess what frankbell is trying to ascertain through the Web UI essentially amounts to the same, i.e. ownership?

tendouser 09-06-2021 01:14 AM

Quote:

Re post #3:
I specifically requested to also look at ownership.
Funny how many people mistake "ownership" for "permissions". Both are important (the WP files being owned by the wrong user could well be the culprit here), but so many only look at permissions. SMH

I guess what frankbell is trying to ascertain through the Web UI essentially amounts to the same, i.e. ownership?
Code:

www]$ stat -c "%U %G %n" ./*.*
webmyqmj webmyqmj ./400.shtml
webmyqmj webmyqmj ./401.shtml
webmyqmj webmyqmj ./403.shtml
webmyqmj webmyqmj ./404.shtml
webmyqmj webmyqmj ./413.shtml
webmyqmj webmyqmj ./500.shtml
webmyqmj webmyqmj ./502.shtml
webmyqmj webmyqmj ./504.shtml
webmyqmj webmyqmj ./508.shtml
webmyqmj nobody ./berbeyallen.com
webmyqmj webmyqmj ./cp_errordocument.shtml
webmyqmj webmyqmj ./index.php
webmyqmj webmyqmj ./license.txt
webmyqmj webmyqmj ./parking-page.html
webmyqmj webmyqmj ./parking-page.shtml
webmyqmj webmyqmj ./readme.html
webmyqmj webmyqmj ./wp-activate.php
webmyqmj webmyqmj ./wp-blog-header.php
webmyqmj webmyqmj ./wp-comments-post.php
webmyqmj webmyqmj ./wp-config-sample.php
webmyqmj webmyqmj ./wp-config.php
webmyqmj webmyqmj ./wp-cron.php
webmyqmj webmyqmj ./wp-links-opml.php
webmyqmj webmyqmj ./wp-load.php
webmyqmj webmyqmj ./wp-login.php
webmyqmj webmyqmj ./wp-mail.php
webmyqmj webmyqmj ./wp-settings.php
webmyqmj webmyqmj ./wp-signup.php
webmyqmj webmyqmj ./wp-trackback.php
webmyqmj webmyqmj ./xmlrpc.php


tendouser 09-06-2021 11:18 AM

It was a plugin guys!

I disabled and removed it....

everything is working great... I'm able to edit the blocks+content+html etc

thanxs and cheers!

boughtonp 09-06-2021 11:33 AM

Quote:

Originally Posted by tendouser (Post 6282131)
It was a plugin guys!

I disabled and removed it....

It would be polite to at the very least mention here what plugin it was.

(Even better, go raise it as a bug in that plugin's issue tracker so it can be fixed for anyone who doesn't have the option of removing it.)



All times are GMT -5. The time now is 04:35 PM.