Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2014, 03:15 PM
Padyn Padyn is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Global error on install

I've installed a clean 3.8.2 patch 2 on my host. I wanted to be sure I could get it running before looking to upgrade. On initial install, when I try to login to admincp, modcp or go to the forums page, I get the following error.

Quote:
Warning: require_once(/home/thedotcl/public_html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/thedotcl/public_html/forums/global.php on line 33

Fatal error: require_once() [function.require]: Failed opening required '/home/thedotcl/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thedotcl/public_html/forums/global.php on line 33
I've changed the directory path in the config.php trying to give the path but leaving it blank or adding the forum path doesn't seem to help.

Thoughts?
Reply With Quote
  #2  
Old 06-29-2014, 03:20 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plz download vb files from members area and upload them again you have some files missing
Reply With Quote
  #3  
Old 06-29-2014, 03:28 PM
Padyn Padyn is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that as well as I searched on this error and that seemed to be a common problem but still no luck.

I've uploaded all files to /public_html/forums on the server.

Hedging my bets, I just did it again using Filezilla FTP and still no change.
Reply With Quote
  #4  
Old 06-29-2014, 03:33 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure you also uploaded the includes folder? You might also check the permissions on the files and folders, maybe the web server user doesn't have read permission.
Reply With Quote
  #5  
Old 06-29-2014, 03:34 PM
Padyn Padyn is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I could screen shot the directory if that helped but yes. I also did a file compare in the FTP client to ensure the same files existed within that directory and the home directory to make sure.

Edit: the files also appear to have 644 permissions and the directories at 755. I only spot checked but looked at includes file/folder specifically.
Reply With Quote
  #6  
Old 06-29-2014, 04:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Padyn View Post
Warning: require_once(/home/thedotcl/public_html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/thedotcl/public_html/forums/global.php on line 33
Quote:
Originally Posted by Padyn View Post
I've uploaded all files to /public_html/forums on the server.

Oh, I missed this before. You say you uploaded to /public_html/forums but the error message doesn't include "forums" for some reason. I don't know why that would be. What url are you going to when you get that error?
Reply With Quote
  #7  
Old 06-29-2014, 04:11 PM
Padyn Padyn is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After the install, it prompts me to login to the admincp. So I login and it sends me to http://thedotclan.com/login.php?do=login which is where I see the error.

I notice I do not see the directory of /forums in the URL. I'm assuming there's a missing settings value to direct to /forums?

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

I reran the db install and made sure the path was set to include /forums on step 10 in both boxes.

After logging into admincp I still get the same error on URL: http://thedotclan.com/forums/login.php?do=login

Quote:
Warning: require_once(/home/thedotcl/public_html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/thedotcl/public_html/forums/global.php on line 33

Fatal error: require_once() [function.require]: Failed opening required '/home/thedotcl/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thedotcl/public_html/forums/global.php on line 33
Reply With Quote
  #8  
Old 06-29-2014, 04:41 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the "forum" is in the path for global.php in the second part of the error message. And it should be including includes/init.php from the current directory, so I don't understand. Hopefully someone else will have an idea.
Reply With Quote
  #9  
Old 06-29-2014, 05:07 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you would like to pm me ur skype info can have a look for you
Reply With Quote
  #10  
Old 06-29-2014, 09:05 PM
Padyn Padyn is offline
 
Join Date: Oct 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tinkered with this most of the day. Still no luck. I tried using older versions and still the same problem. Anyone else with ideas?
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 04:33 PM.


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.04823 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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
  • (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