Solved any wordpress people here? need help on something.

macgig

New member
Member
VIP
Local time
10:46 AM
Messages
246
I have a wordpress site. Im unable to access a certain page from the admin area once Im logged in as admin.

get a blank page and this error. you do not have sufficient permissions to access this page. (wp is installed in the root directory here).

so, I created a duplicate site under /test, (different database) same theme, same settings and 0 plugins, same host.... and no problem here... that page in admin area loads fine. no errors.

trying to figure out what is causing this. any ideas?

I've removed the theme and installed from scratch, disabled plugins. same problem. ive checked file and folder permissions using ftp... all seem fine. :huh: im stumped. Im thinking a plugin issue, but I turned off plugins and the problem was still there.
 

Attachments

  • error.png
    error.png
    10.6 KB · Views: 3
Last edited:

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Check permalinks
 

My Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Professional 64bit
CPU
Intel Celeron 2.4 GH
Memory
4 GB
Graphics Card(s)
NVidia GeForce 9800GT
Sound Card
ATI HDMI Audio
Monitor(s) Displays
Acer S231HL Dual Monitors
Hard Drives
Hitachi 300GB ATA
Maxtor 300GB USB
Cooling
Standard
Keyboard
Logitech wireless
Mouse
Logitech wireless
Internet Speed
Cable
permalinks seem ok.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Permissions are set at 755?
Repair SQL database.
 

My Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Professional 64bit
CPU
Intel Celeron 2.4 GH
Memory
4 GB
Graphics Card(s)
NVidia GeForce 9800GT
Sound Card
ATI HDMI Audio
Monitor(s) Displays
Acer S231HL Dual Monitors
Hard Drives
Hitachi 300GB ATA
Maxtor 300GB USB
Cooling
Standard
Keyboard
Logitech wireless
Mouse
Logitech wireless
Internet Speed
Cable
admin folder is 755, themes.php is set to 644.

how do I repair the sql db? is that done with phpMyadmin?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Yes, exactly through phpMyadmin
 

My Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Professional 64bit
CPU
Intel Celeron 2.4 GH
Memory
4 GB
Graphics Card(s)
NVidia GeForce 9800GT
Sound Card
ATI HDMI Audio
Monitor(s) Displays
Acer S231HL Dual Monitors
Hard Drives
Hitachi 300GB ATA
Maxtor 300GB USB
Cooling
Standard
Keyboard
Logitech wireless
Mouse
Logitech wireless
Internet Speed
Cable
I have had similar issues to this in the past and it was due to the Web Application Firewall within the hosting control panel blocking certain actions, i had to create a rule to allow those actions.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
I have had similar issues to this in the past and it was due to the Web Application Firewall within the hosting control panel blocking certain actions, i had to create a rule to allow those actions.

repaired the tables/db. problem still exists... in the control panel i'm not seeing any firewall related stuff that I can check or change.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
It depends what hosting provider you are with and which control panel you have (cPanel, Plesk etc).

It maybe that you don't have a Web Application Firewall or if you do then maybe you can see it and you may need to contact your hosting provider.

I can't be certain that is the issue but it looks similar to my issue.

See if you can see an error log on your hosting control panel, are there any errors around the time you get that error?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
ixwebhosting. they don't have cpanel. I dont even think it's plesk. it's horrible whatever it is. I dont see any options for viewing logs.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
It looks like they have their own control panel.

It may be best raising a ticket with them to see if there are any firewalls or other security mods that may be causing this issue.

With regards to logs they do have a support article on how to turn logs on
Turning on Error Logs, Enable Error Logging | Knowledge Base

-Jamie
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
thanks for trying to help I may try a support ticket to see what they say.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
here are some errors from the logs last few days. logs are on I just didnt know where to find them until I read your link.

mod_machinegun2 (something hackers are trying to use?) and some IP addresses that point to ukraine. looks like some clients are trying to run scripts or something?

so far, I see nothing in the logs mentioning the pages In the admin area that use to load but don't anymore.
 

Attachments

  • 111.png
    111.png
    12.4 KB · Views: 1
  • 222.png
    222.png
    18.1 KB · Views: 2

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
The errors i was getting were Mod_Security, not sure if that is an industry standard or unique to hosting companies but those errors don't show much about the error your seeing.

See what your hosting says about it and if no one else here has any ideas it may be worth asking on the wordpress forum as i can a lot of these questions being asked but many have a different solution.

-Jamie
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
I posted on wordpress forums days ago. no replies as of yet. I have some security plugins that I'm using, which often adds things to the htaccess files. wonder if that's causing the issue?

thanks for your help :)
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Could well be, i see a lot of mention about the htaccess file with this error however i wouldn't know what to change in there myself.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
Here's a typical .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Also disable your plugins. If things work, enable them one by one to see which is causing your problems.
 

My Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Professional 64bit
CPU
Intel Celeron 2.4 GH
Memory
4 GB
Graphics Card(s)
NVidia GeForce 9800GT
Sound Card
ATI HDMI Audio
Monitor(s) Displays
Acer S231HL Dual Monitors
Hard Drives
Hitachi 300GB ATA
Maxtor 300GB USB
Cooling
Standard
Keyboard
Logitech wireless
Mouse
Logitech wireless
Internet Speed
Cable
found the problem hosting company fixed it for me. ithemes security plugin seems to be the culprit. I disabled all plugins and that made no difference for some reason.

wanted to post this for others. :) thanks for the help I got here.


1) Login to your Wordpress dashboard -> Security -> Settings -> 'Security' tab -> File Editor -> uncheck 'Disable File Editor' checkbox. That will remove "define( 'DISALLOW_FILE_EDIT', true );" line from yoursite.com/wp-config.php file and fix the issue;

2) Correcting the code directly in yoursite.com/wp-config.php file:
Change "define( 'DISALLOW_FILE_EDIT', true );" line to "define( 'DISALLOW_FILE_EDIT', false );" and save the changes. That will fix the issue as well.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Glad to see you have fixed it :thumbsup:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
they fixed the issue. yes. while deleting pages and content. so the site works but nothing is on it. :( then they have the nerve to tell me they deleted nothing. I guess the content removed itself. lol

ixwebhosting is horrible. their support stinks. all the techs have russian sounding names which gives me a weird feeling.

more problems. not what I wanted. lol
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 7 Pro, Mac OS Sierra
Internet Speed
fast. ;)
Antivirus
panda free
Browser
firefox mostly, safari, anything but IE. IE sucks!
Other Info
Mac user 27+, but I like windows 7. Very Mac like. My A+ cert is from 2008 and I don't work on computers every day, so i'm getting rusty. This forum is a BIG help.
Back
Top