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')
{

kh99 06-26-2014 10:55 AM

What I was saying is that the url should have included modcp in there somewhere, but apparently it didn't, so I think that's the problem. To be honest I don't think the extra slash matters.

I was also saying that another possiblilty is that the file name should have been moderate.php or moderator.php since those are files that aren't in modcp, but I guess that's not likely, especially since neither of hose has a do=message section.

Simon Lloyd 06-26-2014 02:03 PM

So, that means he either doesn't have a modcp and the files are in the general forum root, the url has been edited for display here and not been reconstructed properly or a template has been trashed somewhere.

(I did get you Kevin, i was really pointing out for the OP's sake how it should have looked and where he can check to see if the ?do exists, just didnt explain myself well :()

Terrablade 06-26-2014 07:13 PM

modcp exsists not with such name tho. I have not changed anything in any template regarding that. Moderate.php IS inside the modcp folder. clicking here http://prntscr.com/3wssk8 triggers that error page. Im using fractalizer mod but i never had this problem before.

--------------- Added [DATE]1403813670[/DATE] at [TIME]1403813670[/TIME] ---------------

Adding the mod folcer before the /moderate.php reslts in the same error of page not found

Lynne 06-26-2014 07:23 PM

If you are clicking a link in that drop down, it should go to moderation.php (which is in your root directory, not the modcp directory), not moderate.php.

Terrablade 06-26-2014 07:26 PM

fractalizer is the one acting there I believe. and in fractalizer code is moderate.php not moderation.php.. all other links work fine but the visitors message one

--------------- Added [DATE]1403814479[/DATE] at [TIME]1403814479[/TIME] ---------------

You are right lynne all the others point to moderation.php, why is this one pointing to moderate.php?

Lynne 06-26-2014 08:04 PM

I don't know. That very odd. Is it a modification doing that? Have you tried disabling modifications to see if it still does that? Or tried a default style?

Terrablade 06-26-2014 10:04 PM

Fractalizer is the only mod im using that deals with that. It enables those options in the notification area. It happens in default skin too

Terrablade 07-04-2014 03:37 AM

so noone else? this just happens when trying to go here http://prntscr.com/3z8cba
please need guidance/

Simon Lloyd 07-04-2014 04:55 AM

Have you tried what Lynne suggested? that mod will be available in all skins, you need to disable the mod or hooks system in order to prove it isn't native vb that has the issue, if you find it goes away when the hook system is turned off you need to seek support in the thread of whichever mod is causing the issue.

Terrablade 07-04-2014 08:28 AM

this is what the mod calls for

Code:

'visitormessage' => array(
                'link'  => $vbulletin->options['bburl'] . '/' . $config['Misc']['modcpdir'] . '/moderate.php?do=messages',
                'count' => 0

When i click on it it takes me to http://www.sitename.com/moderate.php/?do=messages and page not found.. Is that / after moderate.php causing the issue? If so why is it adding that extra / ?

Dave 07-04-2014 08:38 AM

It might be an accident by the mod author? Well you can always remove the last slash and see if it works fine afterwards.

Terrablade 07-04-2014 09:04 AM

by doing so the page adds the / again.. I dont understand

ozzy47 07-04-2014 09:29 AM

Since it seems to be from the mod:

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.


All times are GMT. The time now is 06:11 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.01879 seconds
  • Memory Usage 1,755KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete