Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2004, 03:45 AM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Errors with vB

I'm getting this set of errors now whenever I try to acces my forum :

Code:
Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

Warning: Constants may only evaluate to scalar values in /home/crosshai/public_html/forum/includes/init.php on line 752

     

    There seems to have been a slight problem with the Epic.Designz database.
    Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.
My only thought is my host upgrade the PHP due to the recent security discoveries. On the vB.com site though it says that Zend has to be upgraded as well - Could that be the culprit to this ? My site worked fine like 3 hours ago and now it's all messed up - My IPB site is also acting up as well but that's irrelelvant.
Reply With Quote
  #2  
Old 12-20-2004, 04:44 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made any modifcations to init.php, like adding new bitfields for permissions?

Also what php version are you on now? And what version where you on before the upgrade?
Reply With Quote
  #3  
Old 12-20-2004, 04:56 AM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad.loo
Have you made any modifcations to init.php, like adding new bitfields for permissions?

Also what php version are you on now? And what version where you on before the upgrade?
My init.php is completely unmodified on this installation - The only hack I have installed is teh vBa CMPS.

As for the PHP version - My server is currently running 4.3.10 which it wasn't earlier today.
Reply With Quote
  #4  
Old 12-20-2004, 07:56 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the same error:

Warning: Constants may only evaluate to scalar values in /home/friendsite/public_html/forum/includes/init.php on line 752

Everything was working fine, and then all of a sudden it started happening a few minutes ago. It is a fresh install of VBulletin, and was working fine for 2 days or so. I have installed it and other forum software elsewhere with no problems. I do not know if the server changed php versions on me.
Reply With Quote
  #5  
Old 12-20-2004, 08:31 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was the php version. I called my server and they had just "upgraded" to that version when the problem started, so now they are back to the older version and all is well.
Reply With Quote
  #6  
Old 12-20-2004, 11:06 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange. We upgraded to php 4.3.10 last night and all is running ok.
Reply With Quote
  #7  
Old 12-20-2004, 03:15 PM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Strange. We upgraded to php 4.3.10 last night and all is running ok.
Alright - Got an e-mail from my host this morning. Seem like they hadn't upgraded to the latest version of Zend yet which is what was giving me all the errors. Just checked and everything is running fine now with the new PHP version.
Reply With Quote
  #8  
Old 12-20-2004, 03:20 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check vB.com once in a while

http://www.vbulletin.com/forum/showthread.php?t=123531
Reply With Quote
  #9  
Old 12-20-2004, 07:39 PM
Andrew's Avatar
Andrew Andrew is offline
 
Join Date: Nov 2004
Location: Pennsylvania
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
That post wasn't there last night when I was having my issues - Doesn't matter though cause I told my host to upgrade Zend and it fixed it.
Reply With Quote
  #10  
Old 12-21-2004, 04:15 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo
It was the php version. I called my server and they had just "upgraded" to that version when the problem started, so now they are back to the older version and all is well.
My problem was in fact due to an incompatibility between an out of date version of Zend Optimizer and PHP 4.3.10, and after my server upgraded to the latest version of Zend the problem was fixed.
Reply With Quote
Reply


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 03:27 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.04763 seconds
  • Memory Usage 2,256KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (4)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete