vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Just moved hosts, getting a php error... (https://vborg.vbsupport.ru/showthread.php?t=315075)

Raw Sugar 10-27-2014 01:42 AM

Just moved hosts, getting a php error...
 
I moved hosts this weekend. Nothing has changed, but now (sometimes) when I click on "Currently Active Users", I'm getting this error:
"Warning: Illegal string offset 'do' in [path]/includes/functions_online.php on line 456"

I've opened the file and the line in question is:
Code:

else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['action']['do'] == 'updatefolders')
I don't think this is a big deal because everything seems to be working correctly, but I just thought I'd ask. Any help/suggestions/comments are appreciated. Thank you!

I'm using 3.8.7.

ForceHSS 10-27-2014 02:28 AM

check messaging permissions

ShawneyJ 10-27-2014 08:26 AM

wonder if your new host is running PHP 5.4? just a thought.

Raw Sugar 10-27-2014 03:06 PM

Quote:

Originally Posted by ShawneyJ (Post 2520193)
wonder if your new host is running PHP 5.4? just a thought.

I just checked, it is! What should I do?

Thank you!

mokujin 10-27-2014 03:16 PM

So, upgrade your vB to 3.8.8

Raw Sugar 10-27-2014 03:28 PM

Quote:

Originally Posted by mokujin (Post 2520240)
So, upgrade your vB to 3.8.8

I feel like I should have known that...

Okay, I will work on doing that. Thanks!

ShawneyJ 10-28-2014 01:36 AM

Quote:

Originally Posted by Raw Sugar (Post 2520239)
I just checked, it is! What should I do?

Thank you!

vbulletin 3.8.9 supports php 5.4/5.5.
i would recommend 3.8.9.
vbulletin 3.8.9 is basically 3.8.8 with PHP 5.5 fixes. this should fix all your issues.

Raw Sugar 11-04-2014 12:51 AM

ShawneyJ...

I've just downloaded the 3.8.9 Beta 3 files and uploaded them. Updated the config file to have the correct database information in it.

When it go to forumurl.com/install/upgrade.php I get this:

Code:

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/jenashley/public_html/the-afterglow.org/install/upgrade_language_en.php on line 199

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/jenashley/public_html/the-afterglow.org/install/upgrade_language_en.php on line 199

Warning: header(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/jenashley/public_html/the-afterglow.org/includes/functions.php on line 3140

Warning: Cannot modify header information - headers already sent by (output started at /home/jenashley/public_html/the-afterglow.org/install/upgrade_language_en.php:199) in /home/jenashley/public_html/the-afterglow.org/includes/functions.php on line 3140

My host said there must be errors in those files on those lines, but they weren't able to help me.

Luckily my board seems to be working just fine even though it's in a strange limbo. Any ideas?

Thanks!

Zachery 11-04-2014 12:58 AM

Your webhost hasn't properly set the timezone on the php configuration. Its a problem with their configuration

Raw Sugar 11-04-2014 01:34 AM

The host is insisting it is something in the install files that I can fix.


All times are GMT. The time now is 03:25 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.00988 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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