Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #31  
Old 10-20-2013, 07:03 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by autoescala View Post
That means is better to wait for another release without problems ??
Yes this version has some but not hard to fix them
Reply With Quote
  #32  
Old 10-29-2013, 02:43 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #33  
Old 10-29-2013, 03:02 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Krusty1231 View Post
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
Reply With Quote
  #34  
Old 10-29-2013, 03:14 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
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.
Attached Images
File Type: jpg Untitled.jpg (93.2 KB, 0 views)
Reply With Quote
  #35  
Old 10-29-2013, 04:45 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 10-29-2013, 10:08 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disable your mods, remove the
Code:
define('DISABLE_HOOKS', true);
Then re enable them one by one till you find the culprit.
Reply With Quote
  #37  
Old 10-29-2013, 10:22 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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.
Reply With Quote
  #38  
Old 10-29-2013, 10:29 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad at least that is sorted.
Reply With Quote
  #39  
Old 10-29-2013, 08:38 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Krusty1231 View Post
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
Reply With Quote
Благодарность от:
Krusty1231
  #40  
Old 01-27-2014, 11:29 AM
autoescala autoescala is offline
 
Join Date: Oct 2011
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03982 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete