vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Global error on install (https://vborg.vbsupport.ru/showthread.php?t=312545)

Padyn 06-29-2014 03:15 PM

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?

ForceHSS 06-29-2014 03:20 PM

Plz download vb files from members area and upload them again you have some files missing

Padyn 06-29-2014 03:28 PM

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.

kh99 06-29-2014 03:33 PM

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.

Padyn 06-29-2014 03:34 PM

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.

kh99 06-29-2014 04:04 PM

Quote:

Originally Posted by Padyn (Post 2504443)
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 (Post 2504446)
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?

Padyn 06-29-2014 04:11 PM

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

kh99 06-29-2014 04:41 PM

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.

ForceHSS 06-29-2014 05:07 PM

If you would like to pm me ur skype info can have a look for you

Padyn 06-29-2014 09:05 PM

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?


All times are GMT. The time now is 09: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.01124 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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