vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   4.2.2 error after upgrade. (https://vborg.vbsupport.ru/showthread.php?t=303415)

ForceHSS 10-20-2013 07:03 PM

Quote:

Originally Posted by autoescala (Post 2454948)
That means is better to wait for another release without problems ??

Yes this version has some but not hard to fix them

Krusty1231 10-29-2013 02:43 AM

Oh man.

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 4912

So the correct thing to do is contact my host right?

ForceHSS 10-29-2013 03:02 AM

Quote:

Originally Posted by Krusty1231 (Post 2456963)
Oh man.

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 4912

So the correct thing to do is contact my host right?

you need to add the fix to your php.ini file

Krusty1231 10-29-2013 03:14 AM

1 Attachment(s)
Quote:

Originally Posted by ForceHSS (Post 2456966)
you need to add the fix to your php.ini file

Hmmm. OK thanks for the tip, I went to make the change in my php.ini through my cpanel

I followed what Hostgator has set for instructions.

Code:

Making Changes via cPanel's php.ini QuickConfig

You can also make changes to php.ini via the "php.ini QuickConfig" utility in the "Software/Services" section of your cPanel.

    Login to cPanel.
    Click on php.ini QuickConfig in the "Software/Services" section.
    Enable QuickConfig if not already enabled.
    Change the settings that you want to change.
    Click the Save Changes button to save your changes.

I do not see where to make the change.

I'm sort of stumped.

I do have a ticket in asking them what the issue is, but am trying to learn/figure things out for myself.

I tried all the things in this thread, and none of them have made any diff. I went with what Paul said about my timezone not being changed.

Still waiting to hear back from hostgator.

Thanks tho.

Krusty1231 10-29-2013 04:45 AM

Well, I have not heard back from Hostgator yet.

I took the code:

Code:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/Los_Angeles"

; http://php.net/date.default-latitude
date.default_latitude = 34.3981

; http://php.net/date.default-longitude
date.default_longitude = 118.1358

; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333

; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333

I added it to my php.ini file and reuploaded it.

The issue is gone.

I added that code to the very bottom of my php.ini file - is that an OK place to put it, or should it go somewhere specific in the ini file?

So now I can't access my admincp

Quote:

Warning: Assigning the return value of new by reference is deprecated in ..../global.php(29) : eval()'d code on line 141
Unable to add cookies, header already sent.
File: /home2/jerry/public_html/includes/functions_log_error.php
And am getting this error at the top of my forum.

Quote:

Warning: Assigning the return value of new by reference is deprecated in ..../global.php(29) : eval()'d code on line 141
*sigh.

I added back:

define('DISABLE_HOOKS', true);

Now I can access everything as normal.

But now what? As soon as I turn my mods on - blamo I get the above errors.

ozzy47 10-29-2013 10:08 AM

Disable your mods, remove the
Code:

define('DISABLE_HOOKS', true);
Then re enable them one by one till you find the culprit.

Krusty1231 10-29-2013 10:22 AM

Quote:

Originally Posted by ozzy47 (Post 2457006)
Disable your mods, remove the
Code:

define('DISABLE_HOOKS', true);
Then re enable them one by one till you find the culprit.

Ha Ha. I did just that Sir. One by one....took me awhile to find it.

I had an old outdated mod installed that functioned fine before, but not now.

vB Comment 1.0

The upgrade did not agree with it. It's a mod I can do without. I got rid of it.

Now if I can only figure out my Style Variable errors I will be good to go.

Thanks for the help.

ozzy47 10-29-2013 10:29 AM

Glad at least that is sorted. :)

ForceHSS 10-29-2013 08:38 PM

Quote:

Originally Posted by Krusty1231 (Post 2456980)
Well, I have not heard back from Hostgator yet.

I took the code:

Code:

[date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/Los_Angeles"

; http://php.net/date.default-latitude
date.default_latitude = 34.3981

; http://php.net/date.default-longitude
date.default_longitude = 118.1358

; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333

; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333

I added it to my php.ini file and reuploaded it.

The issue is gone.

I added that code to the very bottom of my php.ini file - is that an OK place to put it, or should it go somewhere specific in the ini file?

Adding it to the bottom of the php.ini is correct

autoescala 01-27-2014 11:29 AM

I upgrade to 4.22 I disable all mods by hooks = true and when I try to login in my admin panel appears white screen.

My php was 4.4, what can i do ?

I upgrade from 4.21 to 4.22 because I had some problems with php 4.4 on my hosting.

Any advice please?

Best Regards

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

EDIT: SOLVED

I don't do well the disable hooks :)

Best Regards


All times are GMT. The time now is 04:18 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.01142 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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