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

Reply
 
Thread Tools Display Modes
  #11  
Old 03-14-2010, 06:44 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
Index.php

Code:
/**
 * Use the CMS as the default script:
 */

require('content.php');


/**
 * Use the forum as the default script:
 */

// require('forum.php');
I am not sure if thats what you meant but this is what I did:

in Index.php
I went at the bottom (looked at the code that you have provided above)

Originally the code was this in Index.php

Code:
/**
 * Use the CMS as the default script:
 */

//require('content.php');


/**
 * Use the forum as the default script:
 */

 require('forum.php');
[/QUOTE]

but then I changed it to what you did:

Code:
/**
 * Use the CMS as the default script:
 */

require('content.php');


/**
 * Use the forum as the default script:
 */

// require('forum.php');
[/QUOTE]

but then the forum doesnt load, I mean absolutely nothing shows up.

Then I tried this:

Code:
/**
 * Use the CMS as the default script:
 */

// require('content.php');


/**
 * Use the forum as the default script:
 */

 require('forum.php');
[/QUOTE] and then I get the following error:

Quote:
Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56

Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56

Fatal error: require() [function.require]: Failed opening required 'content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/forum/index.php on line 56
I have now changed it back to what it was originally before.
Reply With Quote
  #12  
Old 03-14-2010, 10:14 AM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure content.php is in your forum directory.. the errors above indicate that it cannot find it..

Quote:
Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56

Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56

Fatal error: require() [function.require]: Failed opening required 'content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/forum/index.php on line 56
Reply With Quote
  #13  
Old 03-14-2010, 10:38 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

content.php file is not in the same folder as the forum.php & index.php

I downloaded the .zip file straight from vBulletin.com and uploaded it straight on to my server?

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

I see forum.php and index.php are in the same folder...

forum/forum folder...
Reply With Quote
  #14  
Old 03-14-2010, 10:40 AM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should be.. it's definitely in my forum root directory with index and forum PHP files..
Reply With Quote
  #15  
Old 03-14-2010, 10:43 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really? But I downloaded it straight from the vBulletin.com and I have not changed any files or directories..and I just uploaded everything straight on the serveR?
I tried to download it again and I checked it again... content.php file is not in the forum/forum directory where all other main folders are like, admincp, includes etc...forum.php, index.php etc...?

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

This is the version I downloaded
4.0.2 Patch Level 1
Reply With Quote
  #16  
Old 03-14-2010, 10:49 AM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a look at the attachment.. that's a look directly at the 4.0.2 pl1 zip file..
Attached Images
File Type: jpg 402pl2.jpg (74.8 KB, 0 views)
Reply With Quote
  #17  
Old 03-14-2010, 11:01 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What? really? arghhh..
I don't have all the files it means? Something is wrong in downloading?
Check this screenshot out:

IMAGE REMOVED BY ME

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

I don't understand I am downloading it straight from vbulletin.com and It doesn't have all files in the zip/after unzipping it? Maybe that's the reason why I have got so many problems now
Reply With Quote
  #18  
Old 03-14-2010, 11:16 AM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hell, earlier today when I tried to upgrade my test site, I had it tell me I was trying to upgrade from 3.6.0 when it was actually 3.8.4 pl2

Needless to say, after being with vBulletin for 8 years, I am not sure I will ever spend anymore money. Consistency is not like it needs to be, imo..

But to answer your question, yes, it seems your DL does not contain all of the necessary files..
Reply With Quote
  #19  
Old 03-14-2010, 11:38 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I must agree with you here... The support from official vB is extremely slow..it's been over 4 days since I lodged my question..but I only received one reply, which was exactly the same as the start of this thread...hmm...but no more answers no more emails after that? I have emailed them few times already

I am in a very bad position here..I really need all this fixed ASAP because I am doing something important with the website and I never imagined that it would give me so many problems...

Do you reckon it's better to upload all the files from 4.0.1 back? Will it fix the problem? Although..It would be a pain to re-install all plugins?

What should I do here?
Reply With Quote
  #20  
Old 03-14-2010, 02:45 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinGupta View Post
I think I must agree with you here... The support from official vB is extremely slow..it's been over 4 days since I lodged my question..but I only received one reply, which was exactly the same as the start of this thread...hmm...but no more answers no more emails after that? I have emailed them few times already

I am in a very bad position here..I really need all this fixed ASAP because I am doing something important with the website and I never imagined that it would give me so many problems...

Do you reckon it's better to upload all the files from 4.0.1 back? Will it fix the problem? Although..It would be a pain to re-install all plugins?

What should I do here?
As said above it is week-end now and that is why it might take sometime before they can reply. Anyway, undo the changes you were adivced above about forum.php and index.php as that has nothing to do with that. But try to run the upgrader once again, after you disabled the mods and see what will happen. 99% it will fix the problem. I had it happen at my test site as well when I did my upgrade and after running the upgrader for the second time it fixed it.

P..s Did you make a backup of the db prior to the upgrade?
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 07:44 PM.


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.04885 seconds
  • Memory Usage 2,279KB
  • 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
  • (4)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
  • (2)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
  • (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
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete