View Full Version : Just moved hosts, getting a php error...
Raw Sugar
10-27-2014, 01:42 AM
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:
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
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
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
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:
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.
Zachery
11-04-2014, 01:43 AM
Its nothing you install, its something they set in their php.ini.
They should fix it properly, if they wont or they're unwilling, you should find a new host.
You can use something like this: date_default_timezone_set('America/Los_Angeles'); In your config file, as a work around, but its still best for your webhost to resolve it.
Raw Sugar
11-04-2014, 01:59 AM
I just moved to the new host and I bought a year of hosting. It's not a huge deal, just annoying. The original error I opened this thread for was something that happened, I noticed, when viewing Who's Online and someone in the actives list is viewing a PM.
The board still works fine, so I guess I'll just have to deal with it.
I appreciate you replying so quickly.
ForceHSS
11-04-2014, 02:29 AM
I just moved to the new host and I bought a year of hosting. It's not a huge deal, just annoying. The original error I opened this thread for was something that happened, I noticed, when viewing Who's Online and someone in the actives list is viewing a PM.
The board still works fine, so I guess I'll just have to deal with it.
I appreciate you replying so quickly.
Do you have access via FTP to where the php.ini is stored and cpanel if so I can fix it for you no charge if you are not sure post a ss of what you have in FTP from your cpanel
Zachery
11-04-2014, 02:06 PM
Don't ever buy more hosting than you're willing to lose out on, if something goes wrong.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.