Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-24-2015, 10:56 PM
rota rota is offline
 
Join Date: Jan 2015
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default VB5.1.1 User manager modules missing

Hello,

While trying a variety of solutions to the issue of spam, I made a mistake and it's seriously impacting my admincp.

The symptom is that in user_manager reputation module is not appearing, instead I get a 404 where reputation should be. Page styles (e.g. background) are being overridden by the 404 page styles.

The second symptom is that I cannot confirm changes made on the user manager page, because the save button is missing (confirmed missing on administrator level account).

The fear is that I pasted over directories in admincp/ because the JS folder inside /admincp is empty. When I use developer tools I see errors for adminlog.php?do= modlog.php?do= and user.php?do=

Specifically:
user.php?do=edit&u=13177:1 GET https://myforum.com/admincp/user.php?do=edit&u=13177 500 (Internal Server Error)

core/admincp admin user manager loads the reputation module into the user manager page, but there is no option to save changes.

Do I need to copy files from core to admincp ?

Thanks,
Alex
Reply With Quote
  #2  
Old 06-24-2015, 11:13 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check error logs if it shows missing files upload them
Reply With Quote
  #3  
Old 06-25-2015, 09:37 PM
rota rota is offline
 
Join Date: Jan 2015
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I cat'd and tail'd some error logs in /var/log while loading the user manager but nothing appeared.

What I did realize is that the missing module is for privatemessage.php!

I was trying to update this so that forum users could flag bad posts, but I don't recall making any changes to the file, just doing a cat and copying it to file. I am doing more research on privatemessage.php

Has any one had an issue like this? Where one module borks the ability to save changes?

-Alex

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

Oh,

It does says on core/admincp that core/admincp/ajax.php is missing.

I did a find -name and there are a few:

./root/upload/core/vb/api/vb4/ajax.php
./root/upload/core/vb/xml/builder/ajax.php
./root/upload/includes/vb5/frontend/controller/ajax.php
./var/www/html/core/vb/api/vb4/ajax.php
./var/www/html/core/vb/xml/builder/ajax.php
./var/www/html/includes/vb5/frontend/controller/ajax.php

None of which are in core/admincp

Was something deleted maybe? If so what is the best way to replace that file?

Is it possible that one of the listed ajax.php are the correct file and it just needs to be copied to the correct directory?

Thanks,
-Alex
Reply With Quote
  #4  
Old 06-26-2015, 01:43 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are not sure what one is missing you will need to go to your ftp and see what one is then replace it this goes for any other files as well
Reply With Quote
  #5  
Old 06-26-2015, 05:06 PM
rota rota is offline
 
Join Date: Jan 2015
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ForceHSS

I don't know what you mean by FTP. Do you mean the server on which VB is installed?

If I could get a copy of the install files (e.g. Upload dir) for 5.1.1 I would immediately replace the file for privatemessaging.

The problem is I can't seem to access the 'memebers area' with either vb.org or vb.com credentials....

Thanks again for responding to this thread.

-Alex

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

I think another part of the issue is the missing /admincp/ajax.php and now myforum.com/ajax.php 404 errors.

From what I understand, VB pulls from /core to 'do' things via the /admincp directory. How or why I don't know. If this is the case, than I need to evaluate the ajax.php files in /core directory for issues?

I feel that being able to diff against a default version of the file would help alot.

Maybe that's what's causing my privatemessage.php file to crash.

Thoughts?

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

So, I fixed this.

The private message section was broken, basically loading a 404 page. So I re-enabled private messaging, and it's fixed. The user manager page works now.

Pro-tip: Do not decactivate private messages in the admin CP. Do it in the php file if you really must.

-Alex
Reply With Quote
  #6  
Old 06-26-2015, 11:47 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chances are, this issue has been fixed in one of the later releases. There have been a lot of bug fixes since 5.1.1.
Reply With Quote
Reply


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 12:28 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.03790 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete