vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Notices Manager Doesn't Save - Loads Site in Admin Window (https://vborg.vbsupport.ru/showthread.php?t=315374)

TWood 11-11-2014 10:24 PM

Notices Manager Doesn't Save - Loads Site in Admin Window
 
I tried to edit the default guest welcome notice, but when I hit the 'Save' button the entire right-side of the Admin window displays the front page of the website itself and does not save the edit. Is this a known bug with a fix?

Fresh install of Version 4.2.2 P2

ozzy47 11-11-2014 10:27 PM

Try saving it with the original message:

Code:

If this is your first visit, be sure to
        check out the <a href="faq.php{sessionurl_q}" target="_blank"><b>FAQ</b></a> by clicking the
        link above. You may have to <a href="register.php{sessionurl_q}" target="_blank"><b>Enter validation form</b></a>
        before you can post: click the Enter validation form link above to proceed. To start viewing messages,
        select the forum that you want to visit from the selection below.


TWood 11-12-2014 01:01 AM

Exact same behavior when using your version, it won't save any edits and loads the website into the Admin panel.

ozzy47 11-12-2014 01:08 AM

Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.


PHP Code:

define('DISABLE_HOOKS'true); 

So it looks like this:

PHP Code:

<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.

TWood 11-12-2014 05:03 AM

I disabled plugins and tried it, same behavior. So it's not the plugins.

Another behavior that may be related - It allowed me to change the titleimage (the logo image at the top left) exactly once. After that, I get two error messages about not being compatible with a line in a PHP script. (EDIT - On second thought, this is probably not related. I suspect that it doesn't like replacing the image file with one of the same name and gets confused when the new and old images have the same name. I was trying different versions. I got around this by just uploading the image file via FTP with the same name to the images folder.)

I'm using Dreamweaver (I know, I know) as my PHP editor since it color codes. I'm familiar with the basics of the language in terms of opening and closing code, and how to comment out code.

This seems like a lot of broken stuff in a brand new install, or I'm just lucky enough to be using the few things that are broken! It does let me add a new notice, so if that continues to work, it's okay.


All times are GMT. The time now is 07:19 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.00954 seconds
  • Memory Usage 1,722KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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