vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   URGENT: Can not login and want to change/edit style (https://vborg.vbsupport.ru/showthread.php?t=301231)

abdobasha2004 08-15-2013 06:59 PM

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 !

Simon Lloyd 08-15-2013 07:06 PM

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.

abdobasha2004 08-15-2013 07:45 PM

when try to open admincp/tools.php it gives server error
the problem is the files global.js and yUI files are not loading

Lynne 08-15-2013 07:46 PM

Did you try just going directly to your /admincp as Simon suggested?

abdobasha2004 08-15-2013 09:26 PM

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 !

Lynne 08-15-2013 11:09 PM

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.

abdobasha2004 08-15-2013 11:17 PM

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 !

Lynne 08-15-2013 11:43 PM

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.

nerbert 08-16-2013 02:20 AM

I think your hosting service upgraded to a newer version of PHP and your old code needs an earlier version.

Simon Lloyd 08-16-2013 05:52 AM

Quote:

Originally Posted by nerbert (Post 2439110)
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?


All times are GMT. The time now is 05:11 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.01226 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete