PDA

View Full Version : inlinemod.php "Access denied."


postcd
06-10-2013, 08:15 AM
Im loged in as an admin on vbulletin forum, i tick some post and click "Delete Posts as SpamÂ…" or "Spam-O-Matic..." or any other Moderating tool (button is under posts list on thread view) and it shows blank page and text on it: "Access denied."

What is the cause please?

ForceHSS
06-10-2013, 12:59 PM
Check ur admin permissions

postcd
06-10-2013, 03:01 PM
Be more helpfull in your answer, im a noob VB user.

Lynne
06-10-2013, 03:22 PM
He means check your permissions under admincp > forums & moderators > Show All Moderators > Edit Permissions and make sure you have the permissions to do what you are trying to do. (If it's an issue with Spam-O-Matic, a modification, then you will need to ask in the modification thread for help.)

postcd
06-10-2013, 03:38 PM
Thx, i have every permission at "Yes" except:
Email Preferences
- Receive Email When a New Thread is Created
- Receive Email When a New Post is Created
vBSEO Options
Can moderate LinkBacks

Also i noticed that im not allowed to moderate threads pending moderation (from admincp)! Only posts can be moderated from there... any idea please?

Lynne
06-10-2013, 03:55 PM
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, disable vBSEO via it's control panel and then remove the added .htaccess to your site and see if that fixes the issue.

postcd
06-11-2013, 05:26 AM
Thank you,

- DISABLE_HOOKS did not solved issue.
- Then i went into VBseo, General Settings, Activate Plugin? Selected No and saved. Still see "Access denied."
- then i r enamed .htaccess into aaaaa in forum root directory, refreshed post deleting page, access denied still there.
- when im in admincp and go to thread moderating page, i approve some, i now see: Forbidden, You don't have permission to access /modcp/moderate.php on this server.
:confused:

Lynne
06-11-2013, 04:01 PM
Make sure you don't have an .htaccess for your modcp directory that would prevent you from being able to execute the files. Also check the permissions on that directory and the files within it.

postcd
06-12-2013, 07:35 AM
Make sure you don't have an .htaccess for your modcp directory that would prevent you from being able to execute the files. Also check the permissions on that directory and the files within it.

In /public_html is .htaccess (one i renamed to aaaa), but in /public_html/admincp is not .htaccess. All files from this directory has 644 permission and directory itself 755.

Modcp directory is 755, no .htaccess, all files 644

The thread approval (from backed), and posts moderation (from frontend) stopped working few days ago, im alas not aware what i did, i think i did nothing.

Lynne
06-12-2013, 04:00 PM
Then I suggest you ask your host about why those files are forbidden suddenly.

postcd
06-18-2013, 02:59 PM
Then I suggest you ask your host about why those files are forbidden suddenly.

Thank You Lynne, i followed Your advice and this is what i got from my hosting provider:

You receive 'Access Denied' page, but it is not '403 Access denied' error page, it is a proper page with '200 OK' server message.
Access must be denied on a CMS level somewhere.

We took our time to investigate the issue, but did not succeed as well.
Actions we tried:

-Renaming .htaccess files to disable them (both in public_html folder and user folder)
-Adding 'define('DISABLE_HOOKS', true);' to config.php file
-Removing and adding privileges to edit-delete posts for admin user
-Removing and adding with ALL privileges mysql user to the database
-Disabling all active plugins
-Disabling all styles except default one.

Nothing helped, unfortunately. Though, Access Denied is not a 403 error message and this might be worth mentioning to vbulletin community at https://vborg.vbsupport.ru/showthread.php?p=2427569#post2427569 , perhaps they will have further ideas.

Lynne
06-18-2013, 06:09 PM
You said this happened just a couple of days ago - did you ask your host if they changed anything on the server a couple of days ago?

If you have the vB4 suite or ticket support, I'd suggest putting in a ticket.

postcd
06-21-2013, 06:44 AM
Thank You, but i dont have ticket support and my hosting provider did not changed anything on that account. Moreover, other vbulletin forums with same setup works, its just this one forum.

Shows text message on the blank page: "Access denied." when trying to moderate posts.

What to do to track the cause please?

ForceHSS
06-21-2013, 11:41 AM
If you login to members area on vb ie: the same place you download the vb software you will see the option to put in a support ticket

postcd
06-21-2013, 01:28 PM
Thank you, i found this thread, and it seems that members issue was solved:
https://vborg.vbsupport.ru/showthread.php?t=287352

"the problem was me I didn't pay attention to version numbers so I had a file that was for the update and i was still running a previous version"

Please how can i check version numbers and what files? I remember i really might put some files from other version because my site was corupted by facebook manual mod. But i dont remember which files.

// EDIT: install/upgrade.php can show it
When i run above file, it showed files i coppied from other vbulletin script version...

What i did now? Basically i replaced /includes/functions.php with right version file from vBulletin and also whole "modcp" directory by original files (backup first). And it started working. Im sorry for my fault. i hope it helped someone save time(

--SOLVED-- peace