LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2021, 12:25 AM   #1
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Rep: Reputation: Disabled
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?
 
Old 09-05-2021, 12:39 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,783
Blog Entries: 11

Rep: Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383
Quote:
Originally Posted by tendouser View Post
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
 
Old 09-05-2021, 02:54 AM   #3
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
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?
 
Old 09-05-2021, 07:49 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,656
Blog Entries: 28

Rep: Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499
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?
 
Old 09-05-2021, 08:59 PM   #5
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-05-2021, 09:49 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,656
Blog Entries: 28

Rep: Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499
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?

Last edited by frankbell; 09-05-2021 at 09:50 PM.
 
Old 09-05-2021, 10:49 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,715
Blog Entries: 11

Rep: Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747Reputation: 3747
Quote:
Originally Posted by tendouser View Post
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?
 
1 members found this post helpful.
Old 09-05-2021, 11:28 PM   #8
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
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 cant 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!

Last edited by tendouser; 09-05-2021 at 11:39 PM.
 
Old 09-06-2021, 12:22 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,783
Blog Entries: 11

Rep: Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383Reputation: 5383
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?
 
Old 09-06-2021, 01:14 AM   #10
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-06-2021, 11:18 AM   #11
tendouser
LQ Newbie
 
Registered: Dec 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
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!
 
Old 09-06-2021, 11:33 AM   #12
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 1,618

Rep: Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315Reputation: 1315
Quote:
Originally Posted by tendouser View Post
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.)

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: WordPress Dashboard & Settings Page | WordPress 101 LXer Syndicated Linux News 0 12-07-2020 04:42 PM
Docker with wordpress/mysql/nginx, no styles in wordpress E-Kami Linux - Server 2 01-23-2018 02:41 PM
LXer: WordPress Plugin Tutorial How To Install WordPress Plugins LXer Syndicated Linux News 0 12-09-2015 09:10 AM
Apache2 Configuration or Wordpress Configuration: Wordpress index.php not loading khun Linux - Newbie 5 05-18-2012 08:26 AM
how to install pre existing wordpress directory on a existing wordpress to run a web ajbardhan Linux - Software 3 04-28-2012 07:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration