Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2012, 09:46 PM
TamiTaylor TamiTaylor is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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/
Reply With Quote
  #2  
Old 09-01-2012, 10:20 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 09-02-2012, 02:28 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like a custom hook
Reply With Quote
  #4  
Old 09-04-2012, 01:39 PM
TamiTaylor TamiTaylor is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #5  
Old 09-04-2012, 01:45 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Support ticket let vb fix it would be ur best bet
Reply With Quote
  #6  
Old 09-04-2012, 02:39 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...or contact your host and ask them about it. It looks like something that's coming from somewhere other than vbulletin.
Reply With Quote
  #7  
Old 09-05-2012, 12:33 PM
TamiTaylor TamiTaylor is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 09-05-2012, 12:53 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd check search.php.
Reply With Quote
  #9  
Old 09-05-2012, 02:07 PM
TamiTaylor TamiTaylor is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 09-05-2012, 02:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04217 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete