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 08-15-2013, 06:59 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default URGENT: Can not login and want to change/edit style

How can I edit style or change the used one to other using ftp?
I can not login to my forum because I added some wrong code and want to fix it !
Reply With Quote
  #2  
Old 08-15-2013, 07:06 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot do it as suggested, you'd need to upload the tools.php that came with your downloaded copy of vbulletin in the "do not upload folder", you can then gain access to your admincp (in fact even if you have changed a templates code so you cannot login you should still be able to login to www.mysite.com/forum/admincp/index.php and then create a default style with no parent.
Reply With Quote
  #3  
Old 08-15-2013, 07:45 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when try to open admincp/tools.php it gives server error
the problem is the files global.js and yUI files are not loading
Reply With Quote
  #4  
Old 08-15-2013, 07:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try just going directly to your /admincp as Simon suggested?
Reply With Quote
  #5  
Old 08-15-2013, 09:26 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, after log in it gives that I used all trying options and must wait 15 minutes
this is due to global.js and YUI are not loading properly, I want to log in to make them load

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

using tools.php it gives :
Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/class_core.php on line 2516

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/admin/public_html/vb/includes/class_core.php on line 1636

Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/admin/public_html/vb/includes/class_core.php on line 2519

Strict Standards: Non-static method vB_Bitfield_Builder::build_datastore() should not be called statically in /home/admin/public_html/vb/install/init.php on line 189

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/admin/public_html/vb/includes/class_bitfield_builder.php on line 227

Strict Standards: Non-static method vB_Bitfield_Builder::build() should not be called statically in /home/admin/public_html/vb/includes/class_bitfield_builder.php on line 233

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/admin/public_html/vb/includes/class_bitfield_builder.php on line 89

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/admin/public_html/vb/install/init.php on line 191

Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/functions.php on line 903

Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/functions.php on line 907

Strict Standards: Non-static method vBulletinHook::init() should not be called statically in /home/admin/public_html/vb/install/init.php on line 212

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/admin/public_html/vb/includes/class_core.php on line 721

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

or is there any way using ftp to add a file to source code? I will add YUI files just once and login using that page !
Reply With Quote
  #6  
Old 08-15-2013, 11:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It makes no sense that some files won't load in your admincp because of something you did to your site style. Are you sure that is what is causing the issue?

I would suggest reuploading all default files. You should NOT be getting errors like that when trying to get to your tools.php file.

Do you keep a default style on your site (you should)?If so, you can add &styleid=xx to the end of the URL to use the default style.
Reply With Quote
  #7  
Old 08-15-2013, 11:17 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I disabled sessions from style long time ago
when I remove the YUI or globals this problem happen
I did not change anything recently except that !
the other style installed is as the default but under name mobile api
what to write in url &styleid= number or name? I can not exactly remember name it was like vbulletin mobile API

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

if i use tools.php same problem with customer number !!
I enter custom number then I choose [Reset Cookie Domain] and then asked to enter customer number again ! and so on !
Reply With Quote
  #8  
Old 08-15-2013, 11:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tools.php is not affected AT ALL by your site style or any modifications at all. It could be affected by any modified files it calls.

You can find your styleids in your database - table: style and look at the styleids listed there.
Reply With Quote
  #9  
Old 08-16-2013, 02:20 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think your hosting service upgraded to a newer version of PHP and your old code needs an earlier version.
Reply With Quote
2 благодарности(ей) от:
Max Taxable, Simon Lloyd
  #10  
Old 08-16-2013, 05:52 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
I think your hosting service upgraded to a newer version of PHP and your old code needs an earlier version.
Certainly sounds like it. What version of vbulletin are you using and what version of php?
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 01:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08427 seconds
  • Memory Usage 2,265KB
  • 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
  • (1)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
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete