vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Getting "Access Denied" on Today's Posts and What's New? (https://vborg.vbsupport.ru/showthread.php?t=287352)

TamiTaylor 09-01-2012 09:46 PM

Getting "Access Denied" on Today's Posts and What's New?
 
I'm getting "Access Denied" on Today's Posts and What's New?

Other report links or tabs seem ok but those two result in a screen that is entirely white with just the words "Access Denied." on them.

I am trying to search the forums for help but not having luck with this issue. Any help is appreciated.

site: http://creativepassionclasses.com/forums/

kh99 09-01-2012 10:20 PM

It seems to be your search.php script that's causing that error, but to be honest I don't know exactly what causes that. Maybe look at the file permissions on search.php?

ForceHSS 09-02-2012 02:28 AM

looks like a custom hook

TamiTaylor 09-04-2012 01:39 PM

do I have any recourse to fix it? obviously reinstalling would but is there a way to reinstall without losing any posts/user info? Can i just recopy the search.php ?

ForceHSS 09-04-2012 01:45 PM

Support ticket let vb fix it would be ur best bet

kh99 09-04-2012 02:39 PM

...or contact your host and ask them about it. It looks like something that's coming from somewhere other than vbulletin.

TamiTaylor 09-05-2012 12:33 PM

Thanks. vBulletin confirmed it was a server issue, but hostgator is saying it's a software issue. I'm submitting a ticket with hostgator now in chat they said it could be a file permission issue but I have no idea what file would be the bugger. Is there a list of what files should have what permissions or?

kh99 09-05-2012 12:53 PM

I'd check search.php.

TamiTaylor 09-05-2012 02:07 PM

that's a 644 like the rest of the search files. I got this from my server help ticket:


Quote:

When running the search.php from command line, it simply gives an 'Access denied.' message:

root@cre [/home/cp0774/public_html/forums]# php search.php
Access denied.

Using strace to follow the system calls that are made, it seems that the last file opened is forums/vb/search/core.php:

open("/home/cp0774/public_html/forums/vb/search/core.php", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=17802, ...}) = 0
open("/home/cp0774/public_html/forums/vb/search/core.php", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=17802, ...}) = 0

And the first line in this file is:

root@cre [/home/cp0774/public_html/forums]# head -1 vb/search/core.php
<?php if (!defined('VB_ENTRY')) die('Access denied.');

This is where the error is coming from. Unfortunately, we aren't familiar enough with vbulletin to know why VB_ENTRY is not defined, or where it should be defined. That's something that the developers will need to help you with, however, you know where the problem is, just not what the problem is, and that should go a long way towards getting this resolved.
Does this help? I'm so sorry I just do not understand. Thank you for all of the help.

Lynne 09-05-2012 02:55 PM

What version of PHP are you using? And what is showing up in your error_logs (if you don't know where they are, ask your host)?

This may help? https://www.vbulletin.com/forum/show...s-indicated%29


All times are GMT. The time now is 10:49 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete