• 0

wordpress: forbidden: no permission to access site: ways, methods to get the access back


Question

hello dear experts

 

forbidden: no permission to access site: ways, methods to get the access back

 

i am looked out - and cannot access the page any more: 

 

the questioin is: how to disable theme using ftp or how to do some configurations that help me to get back again. 

 

 

to begin with the beginning: 

 

- running wP 5.3 - with the theme 2020
- note; the site is not active in a true sense: it was just installed several days ago. So there is not much content on it. i can do fresh install. No problem here. 

the conditions: and the preliminaries: server and setup 
- i am on a root-server which is maintained by a friend of me. 
- i have webmin and access to the logfiles and the apache and mysqlserver.
- i have access to the backend via ftp

what happened: several days ago i have been doing some minor changes in the backend - while this job i have fallen asleep (believe it or not) and the next day i get the following:

 

Forbidden: You don't have permission to access this resource.
 


the logfiles look like so: 

 

[Fri Apr 10 19:07:39.79231 2020] [core:error] [pid 15263] (13)Permission denied: [client 73.43.47.323:56979] AH00035: access to /favicon.ico denied (filesystem path '/sites/www.site_one.org/favicon.ico') because search permissions are missing on a component of the path, referer: http://www.site_two.org`

 

interesting: both sites are vhosts on my server: the site one is not active - and the site two is the site i cannot access at the moment. 

regarding the settings
i have set the site to theme 2020 - twentytwenty.

at the moment i do not have a idea what to do: 

can i restore the site via backend...

 

 

sensu: how to disable theme using ftp  https://wordpress.org/support/topic/how-to-disable-theme-using-ftp/

One of my themes, Avada, is currently causing a white screen with the message, “The site is experiencing technical difficulties” on both front and backend. If I rename the Avada folder using FTP, the message changes to “The theme directory “Avada” does not exist”.
So I know it is calling the theme. How do I go about disabling the Avada theme using FTP (since backend is not accessible) and how do I activate another theme, e.g. Twentynineteen? Any help is much appreciated! Thanks, Rutger 

end of quote... 

 

the  questions are

- can i do something via backend - that is: via ftp-backend? 
- renameing themes - that is  switching off themes 
- renaming plugins - that is  switching off  plugins

 or do something else alike 
 
- or should i  do a update & to the newest version 5.4 

note: the site does not (!) have a bunch of content - it was just in a freshly install-mode. 


look forward to hear from you 

regards

8 answers to this question

Recommended Posts

  • 0

hello dear DevoBitch hello dear +Human.online

 

first of all many thanks for the quick reply - happy to hear from you. Well i guess youre right DevoBitch - this might be helpful

 

@+Human.online: well sure thing WP migth be straight forward: but imagine: 

 

you have

-  55 000 ( in words 55 thousands)  of plugins

- approx. 100 different server-ideas to customize a server

 

and now: with all that you get into approx 55 000 0000 0000 different conditions that can restrict the work or at least have an impact of "how it works" 

 

to compare with another topic. - if you ever have set up a python development - but if so - then you might have noticed that there you also can run into dependency-issues.

that can stop your work 100 % ... 

 

 

that said - i compare this with the simple WP installation - with 

- zero plugin

- 10 plugin 

- 20 plugins

 

... guess you imagine what i want to say - even the simplest system can get a nightmare if you do not have all the dependencies under controll

 

 

regarding python - ( - here some readings to explain what the example should say:) 

 

https://packaging.python.org/tutorials/managing-dependencies/

https://realpython.com/products/managing-python-dependencies/
 

Quote

 


Python’s syntax seemed quite clear and intuitive by comparison, and I saw a (relatively) obvious path to learning it.
But when it came to Python’s 100k+ librariesand frameworks—
That was simply an OVERWHELMING amount of information to digest.
Even when I knew there had to be a library out there that already solved a problem I was facing—I drew a blank when it came to researching it.
 


 

 

note: i am currently workin on a good development environment for Python - on a. Windows10 and Linux - and i am coming along  these days - but i have been faced lots of issues - so many that i thought sometimes:  i take Anaconda or Miniconda to avoid all that dependencies and nightmare-situations i am facing ... 

 

 

havin said that - i agree with you - WP is overall pretty straightforward - but i now have to find out what causes the issue -and where the issues are  rootet. 

 

again - many thanks for your replies

 

have a great day. 

 

tarifa.

 

  • 0

hi there 

 

just wiped the whole installation  - and set the new files of WP 5.4 

 

but the page ist not visible --- not yet

 

[email protected]:~> ping www.mydomain.com  
PING www.mydomain.com (133.34.65.114) 56(84) bytes of data. 
 --- www.mydomain.com ping statistics --- 
16 packets transmitted, 0 received, 100% packet loss, time 7620ms 
 

 

 but the info.php file with the data is visible


http://www.mydomain.com/info.php
 

  • 0

hi there 

 

just wiped the whole installation  - and set the new files of WP 5.4 

now i try to fiind out why the Vhosts on Webmin look so ugly. 

there are some issues here. 

 

will report later the weekend.

 


 

  • 0

 

 currently reading some chapters in the webmin-manual - very interesting: 

 

 

since i have some interesting findings on the webmin . 
 

 15260    root    2 days ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 8076    wwwrun    13 hours ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 20982    wwwrun    2 hours ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 21820    wwwrun    an hour ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 21823    wwwrun    an hour ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 21830    wwwrun    an hour ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start
 22955    wwwrun    an hour ago    /usr/local/apache/bin/httpd -D SYSTEMD -k start

 

 

i am going to read some documents:  cf http://www.webmin.com/apache.html

 

Quote

 

WARNING : Running Webmin under Apache is almost never necessary unless you are on a very low-memory system that is already running Apache. Doing so will make Webmin slower, break some features and force use of the old ugly UI.

Webmin comes with a very simple webserver called miniserv.pl that is capable of doing all that is necessary for Webmin to run. However, it is not as fast or memory efficient as a well-developed server such as Apache. To use Apache instead of miniserv.pl, follow these steps :

Create a new Apache virtual server with the document set to the directory where you installed Webmin, using a directive like DocumentRoot /usr/local/webmin.

Configure Apache to treat all files with the .cgi extension as CGI programs, with the AddHandler cgi-script .cgi directive.

Add index.cgi to the DirectoryIndex directive.

Webmin CGI programs have their config directory passed to them in the WEBMIN_CONFIG, WEBMIN_VAR and MINISERV_CONFIG environment variables. For Apache to do this, you need to add the directives

 

 

and then this code follows 

SetEnv WEBMIN_CONFIG /etc/webmin
SetEnv WEBMIN_VAR /var/webmin
SetEnv SERVER_ROOT /usr/local/webmin
SetEnv MINISERV_CONFIG /etc/webmin/miniserv.conf

 

 

and then they continue: 

 

Create a new <Directory> section for the root directory, like
<Directory /usr/local/webmin>
</Directory>

 

Add the directive Options ExecCGI to the new <Directory> section.

 

Password-protect the virtual server by putting directives like
AuthName Webmin
AuthType basic
AuthUserFile /etc/webmin/htusers
require valid-user

 

Inside the <Directory> section. The file /etc/webmin/htusers must contains users who match up with those in /etc/webmin/webmin.acl.

Make all the Webmin programs owned by root and setuid with the commands

 

chown -R root:root /usr/local/webmin
chmod -R 6755 /usr/local/webmin

 

Add the -U flag to the perl line in all the Webmin scripts. This can be easily done with the following command run from the webmin directory
find . -name "*.cgi" -o -name "*.pl" | perl perlpath.pl "/usr/bin/perl -U" -
This assumes that Perl is installed as /usr/bin/perl on your system.

 

well i guess that i should not use this old and ugly UI 

 

 

 

cf http://www.webmin.com/apache.html 

  • 0
22 hours ago, tarifa said:

even the simplest system can get a nightmare if you do not have all the dependencies under controll

No,  sorry - wordpress plugin management is actually really simple.  Sorry, all I see here is you creating your own problems.

  • 0
On 4/12/2020 at 2:40 PM, Human.Online said:

 

No,  sorry - wordpress plugin management is actually really simple.  Sorry, all I see here is you creating your own problems.

 

Hello deaer +Human.Online - many thanks for the reply and the continued support here - fixed this thing. Have had some issues with the Vhost-sepup.

Now all is fixed. Currently i am sorting out what caused the things - but after a fresh sepup all goes well now. 

 

AND YES: i fully agree that - wordpress plugin management is actually really simple

i also have made good experiences _ and i love Wordpress very much. 

 

 

Have a great day

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Thank you for the post. Just a FYI that links to an outside site or promoting specific software is considered spamming here. Asking general questions is fine.
    • I have been thinking about AI detector tools as a software workflow rather than a single "AI score" widget. When someone pastes text or uploads a document, the UI can return a report with a probability-style score, sentence highlights, reliability notes, and limitations. The useful part is that it can point a reviewer toward passages worth reading again. The risky part is that a polished score can look more certain than it really is. For people who build or review web apps, what should happen before the user copies or exports that kind of report? The minimum I would expect is: A clear input boundary for pasted text versus document files. Limits shown near the workflow, including minimum text length and maximum file size. A report label that says the result is a signal, not proof of who wrote the text. Sentence highlights and evidence notes alongside the global score. Reliability notes when the sample is too short or lacks enough sentence variety. False-positive and false-negative caveats that remain visible in copied/exported summaries. I am trying to avoid the pattern where a clean report card becomes the whole product story. For AI detection, "review this evidence in context" seems more honest than "trust this score." Would you keep the warning text visible on every report, or make it collapsible so the main result stays easier to scan? Disclosure: I work on a small AI detector/reporting workflow, but I am intentionally not linking it here. I am asking about software and report design, not promoting a site.
    • Build your own business with a Sellful lifetime plan now at 76% off by Steven Parker Today's deal from our Apps + Software section of the Neowin Deals store, lets you save 76% off Sellful: ERP Agency Plan lifetime deal. AI-Powered Software and Website Builder for Agencies Ever feel like a client’s needs simply can’t be met on a single platform? With Sellful, it’s all here, and all white labeled. Build anything from simple websites to complex workflows to automate your business in a few clicks. Manage everything from email & social media marketing, to payroll & invoicing. It’s got a white label website builder, online shop, CRM, ERP, marketing, memberships, invoicing, appointments, online courses, project manager, and point of sale functions. Sellful is the only white label platform in the world that is truly all in one, combining all aspects of your business in one place no matter the industry. What can you do with Sellful? Automatically generate amazing websites, funnels, & landing pages in seconds using AI Sell physical & digital products online Keep track of customers with native CRM Automate communication & outreach using AI Manage all aspects of your business in one place Collect emails & phone numbers via forms on your website, then send newsletters to customers with important updates, sales, and discounts Build membership programs with various levels of access for your customers Receive payments from your clients using any number of payment gateways including Paypal, Stripe, Authorize.net, Square & more Have your clients book appointments for services & meetings quickly Build powerful & robust online courses to sell to or instruct people Build communities on Sellful social networking sites with activity feeds, private messaging, & groups See & adjust a visual version of everything going on within your client projects Sync your online shop’s inventory with multiple offline store locations & registers Manage inventory, coupons, & sales through Sellful’s native POS app on your computer Manage employee recruitment, time clocks, payroll & leave requests Automate help desk tasks such as support ticket creation Communicate with your team on multiple chat channels Keep an accounting of your income & expenses Automate billing & website creation for your marketing agency What's in the ERP Agency Plan: White Label Unlimited 10 Sites/Sub Accounts Included 100% White Label For Your Brand Or Your Client's Brand Website Builder Sales Funnel Builder Online Shop Automation Builder CRM & Pipeline Management Email Marketing SMS Marketing Reputation Management 2 Way Communication (Email, SMS & Phone) Appointment Scheduler Memberships Subscriptions Forms, Surveys & Polls Client Portal AI Assistant & Chatbot Social Media Automation Legally Binding Contract Signing Project Management System Online Courses (LMS) Invoicing External CRM Connect Class Attendance & Event Booking Restaurant Builder Support Ticket System Team Chat AliExpress Drop Shipping Accounting Advanced Affiliate Program Community Builder Point Of Sale HR Suite (HR, Time Clock, Payroll & ATS) 5000+ App Integrations 20+ Payment Gateways (No Fees From Us) Custom Mobile App Agency Billing System Setup Wizard Builder Content Cloner Tool Digital Marketing Courses Actionable Marketing PDF Guides Unlimited Contacts Per Site/Sub Account Unlimited Pages Per Site/Sub Account Unlimited Blog Posts Per Site/Sub Account Unlimited Users Per Site/Sub Account Unlimited Products Per Site/Sub Account Unlimited Visitors Per Site/Sub Account 100 Gigs Of File Storage 50,000 Free Email Sends* Unlimited Domain Names Per Site/Sub Account *Email sending can be purchased in packs of 10,000 for $10/Month. You can also add your own external sending service to send without limits. Email sends are shared in a pool throughout all websites and email addresses on the account. System emails are always free. Good to know Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Updates included Sellful: ERP Agency Plan (Lifetime) normally costs $1,497 but it can be yours for only $349.97, that's a saving of $1,147.03 (76%) off! For terms, and more details click the link below. Get a lifetime plan to Sellful at 76% off (was $1,497) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!