PDA

View Full Version : Can't get the Code :c


MajorKokosnuss
05-03-2014, 05:32 PM
Can someone give me the code for the Turn on and off Forum code ? sadly i deleted it i just know that there was something with <div class="forum-off restore">

somehow i deleted it but i don't want to set up my vbulletin completly new

https://vborg.vbsupport.ru/external/2014/05/66.png

Lynne
05-03-2014, 08:00 PM
Here it is (but you can do your own, you don't need to use the default vbulletin one):

<div class="forum-off warning restore">Sorry, the board is unavailable at the moment while we are testing some functionality. We will be back soon...</div>

MajorKokosnuss
05-03-2014, 08:45 PM
i tryed it but somehow it is nothing showing, it just shows that and with your code that too :

https://vborg.vbsupport.ru/external/2014/05/65.png

Lynne
05-04-2014, 03:26 AM
I suggest you ask you host if they have suhosin or mod_security installed that is blocking you being able to add that code. vBulletin is not blocking you from adding that code, your server is.

MajorKokosnuss
05-04-2014, 06:00 AM
"Okay I have found the issue its not a mod_security issue, its a redirect issue. The script you are running is calling for more then 10 redirects at a time and that is what is preventing the change from happening. "

This is what the hoster said :/ but he can't fix it. He said i have to contact someone from vBulletin

Lynne
05-04-2014, 04:30 PM
If you are getting redirects, then that usually means you have some .htaccess doing that. So, remove your .htaccess and see if you still have the same issue.

MajorKokosnuss
05-04-2014, 06:07 PM
my forum isn't working anymore then

Lynne
05-05-2014, 03:56 AM
Well, something in that file is causing the issue. Default vbulletin doesn't require an .htaccess file.

edit: Default vB3 and vB4 don't require an .htaccess file. vB5 does have one in the forum root directory only.

MajorKokosnuss
05-05-2014, 03:59 PM
i have no mods installed but if i delete them i get this error
Fatal error: Call to a member function fetch_userinfo_value() on a non-object in /home1/accountname/public_html/core/vb/api/state.php on line 316

Lynne
05-05-2014, 10:56 PM
Huh? You said you have no mods installed but then say that if you delete them you get an error? That doesn't make sense - how can you delete non-existant mods? What exactly did you do to get that error?

MajorKokosnuss
05-06-2014, 03:49 AM
I have deleted the htacces files from my server and refreshed my page and then the errors coming and if i delete these files my page is blank

Lynne
05-06-2014, 05:48 PM
You can't delete the .htaccess file on a vB5 site. The site will not run without it. There should only be one in the forum root and it must be from the correct version of the software (it changed a few times between 5.0.0 and 5.0.4, I think).

MajorKokosnuss
05-06-2014, 05:50 PM
well, these files are from the current version but it is not working

is it maby possible that you could support me via TeamViewer ?