vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moderate.php (https://vborg.vbsupport.ru/showthread.php?t=312375)

Terrablade 06-23-2014 08:58 PM

Moderate.php
 
im getting this error https://imgur.com/bwr4jQY
moderate.php is inside modcp folder. What could be triggering this?

kh99 06-23-2014 09:55 PM

Did you maybe specify a different folder for modcp in your includes/config.php? Edit: Oh, well, I guess that wouldn't make any difference if you're going directly to it.

Is that the only script that has a problem?

Terrablade 06-24-2014 02:47 AM

The one and only. file in proper place proper permission and proper folder name both up and in config.

Simon Lloyd 06-25-2014 05:51 AM

You have something changed in the template, if you look at your url it shows/moderate.php/?do=message when it should look like this /moderate.php?do=message..... see the missing forward slash after php in the second one?

I'm guessing you've edited a template or added the url somewhere yourself and added the forward slash :)

Terrablade 06-25-2014 08:00 PM

weird I have not touched anything of what you suggested :/

kh99 06-25-2014 08:59 PM

You erased the url in the picture, did it have /modcp/ in it?

Terrablade 06-25-2014 11:32 PM

no it didnt

ShawneyJ 06-26-2014 04:00 AM

could this possibly have something to do with any seo products installed? its just a thought.

what happens if you go to forum root and click moderator.php and open from there?

kh99 06-26-2014 09:17 AM

Quote:

Originally Posted by Terrablade (Post 2503779)
no it didnt

OK, well, wouldn't that be the problem? There is a moderator.php and moderation.php, but I don't think either of them have a do=message.

Anyway, I guess we should have asked this first: What did you do exactly to get that error?

Simon Lloyd 06-26-2014 10:03 AM

His url should have looked like www.mysite.com/modcp/moderate.php?do=messages i think the problem (if the OP hasn't messed with any templates...etc) might be in his .htaccess if it's adding a slask?? :confused:

Edit: code snippet from moderate.php
Quote:

// ###################### Start message moderation #######################
if ($_REQUEST['do'] == 'messages')
{


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

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.00983 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
  • (2)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