Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2011, 03:10 PM
NeXuM NeXuM is offline
 
Join Date: Mar 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default cant access ACP, need to change default style

I installed a new style but i messed up my forum... I put the new style as default style for all users and now i cant access forum and i cant access ACP

How can i set back my old style as default, without access to ACP ?
Reply With Quote
  #2  
Old 04-03-2011, 03:37 AM
NeXuM NeXuM is offline
 
Join Date: Mar 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help?
Reply With Quote
  #3  
Old 04-03-2011, 04:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding "&styleid=1" to your url? (I see both the forums in your sig just fine.)

Why don't you just go directly to your admincp? The style shouldn't affect it.
Reply With Quote
  #4  
Old 04-03-2011, 06:41 PM
NeXuM NeXuM is offline
 
Join Date: Mar 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The forum that have this problem isnt in my sig, its this one:

http://forums.resistance.tk/index2.php

3 days ago my webhost upgraded to php5.3 and since 3 days my forum is displaying errors and wont show up...

2 days ago my admincp still worked even if the main forum wouldnt show up. i thought that maybe the problem was my style, so i uploaded a new style and set it as default (i used chestnut style). Then after that i couldnt access my admincp anymore, thats why i wanted to try resetting the default style

As you can see here:
http://forums.resistance.tk/padmincp/index.php
my admincp will not work, even with the styleid parameter in the url
Reply With Quote
  #5  
Old 04-03-2011, 07:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot get rid of those errors by using a different style. Those are php errors.

You cannot use PHP 5.3 on any version of vBulletin that is less than 3.8.5 or you will get those errors. vB3.8.4 and below are not supported to work with PHP5.3. You will need to ask your host to move you to a server that is using PHP5.2
Reply With Quote
  #6  
Old 04-03-2011, 09:14 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should use a supported version of php like Lynne says, but there's another way to stop seeing those errors: find every file that contains

Code:
error_reporting(E_ALL & ~E_NOTICE);

and change it to

Code:
error_reporting(E_ALL & ~E_NOTICE & ~8192);

If I remember correctly there was also a few other errors that involved removing a '&' from some function calls.
Reply With Quote
  #7  
Old 04-03-2011, 09:17 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be quicker to just upgrade then edit every file.
Reply With Quote
  #8  
Old 04-03-2011, 09:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
It would be quicker to just upgrade then edit every file.
I agree that the best thing to do would be to have the latest PHP and vB (or rather a supported PHP version for your vB version), but sometimes that's easier said than done. Changing the files took a very short time when I did it, using global search and replace, but I understand that not everyone is set up to be able to do that.
Reply With Quote
  #9  
Old 04-03-2011, 09:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Changing the files took a very short time when I did it, using global search and replace, but I understand that not everyone is set up to be able to do that.
You'd be amazed at how many people do not use a text editor that can do search and/or replace in several files in a directory. I couldn't live without an editor that did that.
Reply With Quote
  #10  
Old 04-03-2011, 10:10 PM
NeXuM NeXuM is offline
 
Join Date: Mar 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
You cannot get rid of those errors by using a different style. Those are php errors.
I know, but before i changed the style i could access my AdminCP.

Quote:
You cannot use PHP 5.3 on any version of vBulletin that is less than 3.8.5 or you will get those errors. vB3.8.4 and below are not supported to work with PHP5.3. You will need to ask your host to move you to a server that is using PHP5.2
Quote:
You cannot use PHP 5.3 on any version of vBulletin that is less than 3.8.5 or you will get those errors. vB3.8.4 and below are not supported to work with PHP5.3. You will need to ask your host to move you to a server that is using PHP5.2
My other website http://www.pirate-punk.net use the same vBulletin version (v3.6.4) under PHP 5.3 and works perfectly.

I have the same errors, but i just turned off error display in a .htaccess file and everything seems to be working alright. That's why i don't understand why my other forum (under same 3.6.4 version) won't work under PHP 5.3

Quote:
It would be quicker to just upgrade then edit every file.
No, and that's why i would prefer NOT to upgrade at any cost.... Half of my forum is based on mods that wasn't updated for versions superior to 3.6.4
Also, i have custom themes, custom mods, and a lot of things that i will loose after upgrading.

To me, upgrading represents hours and hours and hours of work to get everything compatible with the new version

Quote:
You'd be amazed at how many people do not use a text editor that can do search and/or replace in several files in a directory. I couldn't live without an editor that did that.
Just wondering, what editor do you use ?
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 04:18 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.05936 seconds
  • Memory Usage 2,256KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete