vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vBulletin Cron Based Database Backup (https://vborg.vbsupport.ru/showthread.php?t=231481)

Superorb 10-17-2013 10:59 PM

Quote:

Originally Posted by ozzy47 (Post 2454296)
That may be due to your php version.

Current version is 5.3.27. Should I change the version to a newer one? I can select a few versions in cPanel.

ozzy47 10-17-2013 11:01 PM

Up to you, PHP 5.4 is what vB v4.2.2 was built for. You mag get some errors on your site when you do change your php version though.

Superorb 10-17-2013 11:11 PM

It's weird because I have been on the same version of PHP for quite some time now and I never got those errors before. I'm going to do a DB restore of the new backup to make sure all is well.

Are there any pros/cons of sticking with 5.3 or upgrading to 5.4?

ozzy47 10-17-2013 11:14 PM

TBH I don't know of any pro's or cons. The errors may show up if you upgrade to 5.4, doubtful they would show on 5.3.27

Superorb 10-17-2013 11:24 PM

I'll just keep things on 5.3 unless I find a compelling reason to switch.

the restore seemed to have gone well, though I don't really know what to look for. Posts look the same, users are all there, etc.

jluerken 10-18-2013 11:17 AM

Quote:

Originally Posted by ozzy47 (Post 2454105)
Open includes/cron/cronbackup.php and replace.
Code:

@set_magic_quotes_runtime(0);
Wit this
Code:

ini_set("magic_quotes_runtime", 0);
This is untested, but it should work.

Works fine for me on 4.2.2

Thanks!

ozzy47 10-18-2013 11:18 AM

Quote:

Originally Posted by jluerken (Post 2454385)
Works fine for me on 4.2.2

Thanks!

Good deal, thanks for reporting back. :)

Superorb 10-18-2013 03:44 PM

Any harm in me changing my code to match post #918?

ozzy47 10-18-2013 03:50 PM

Nope, it is reported to work, so there should be no issues.

Superorb 10-18-2013 03:51 PM

Quote:

Originally Posted by ozzy47 (Post 2454422)
Nope, it is reported to work, so there should be no issues.

Gotcha, thanks. I'll report back if I notice anything funny.


All times are GMT. The time now is 04:48 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.02396 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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