PDA

View Full Version : Problem after upgrading to 4.0.2


KevinGupta
03-12-2010, 10:05 PM
I have just upgraded my forum to 4.0.2 and now I see that nothing is in order?

Check the screenshot to get a better idea:


http://img193.imageshack.us/img193/189/402problem.jpg

It has happened all over the forum...Not just whats in the screenshot :(


How can I fix this? Please help me out...


Thank you

--------------- Added 1268439388 at 1268439388 ---------------

Its giving me this error too:

Fatal error: Call to undefined function vbet_getSupportedTranslations() in /home/public_html/forum/includes/class_bootstrap.php(283) : eval()'d code on line 23

borbole
03-13-2010, 01:49 PM
From what version did you upgrade and how did you exactly do the upgrade?

KevinGupta
03-13-2010, 09:00 PM
I upgraded from 4.0.1 to 4.0.2
I just uploaded all the files and did www.forum.com/install/upgrade.php
and I let it do it's work :)

--------------- Added 1268521299 at 1268521299 ---------------

I really need this sorted :( and help is really slow :(
even vB official help is extremely slow :(

Paul M
03-13-2010, 09:20 PM
The fatal error is a plugin, so start by turning them off in the acp.

TimberFloorAu
03-13-2010, 09:28 PM
It is a weekend Kevin.

edit config.php file.

Add: after <?

define('DISABLE_HOOKS', true);

Re upload then check again

KevinGupta
03-14-2010, 02:25 AM
I have disabled all the plugins and no error anymore, but its still showing everything as it is in the screenshot above :(

TimberFloorAu
03-14-2010, 04:15 AM
Did you set the forum/forum.php setting correctly in index.php I think ?

ahmed-samara
03-14-2010, 04:44 AM
Prefer to resolve the problem login,
Settings >>>Style & Language Settings >>Store CSS Stylesheets as Files? > Yes

:)

KevinGupta
03-14-2010, 06:24 AM
Prefer to resolve the problem login,
Settings >>>Style & Language Settings >>Store CSS Stylesheets as Files? > Yes

:)

I tried but not all forums show properly :( only few...?

--------------- Added 1268551478 at 1268551478 ---------------

Did you set the forum/forum.php setting correctly in index.php I think ?

Sorry, What do you mean?

TimberFloorAu
03-14-2010, 06:31 AM
I tried but not all forums show properly :( only few...?

--------------- Added 1268551478 at 1268551478 ---------------



Sorry, What do you mean?

Index.php


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

require('content.php');


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

// require('forum.php');

KevinGupta
03-14-2010, 06:44 AM
Index.php


/**
* 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


/**
* 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:


/**
* 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:


/**
* 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:


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.

13th_Disciple
03-14-2010, 10:14 AM
make sure content.php is in your forum directory.. the errors above indicate that it cannot find it..

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

KevinGupta
03-14-2010, 10:38 AM
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 1268566734 at 1268566734 ---------------

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

forum/forum folder...

13th_Disciple
03-14-2010, 10:40 AM
it should be.. it's definitely in my forum root directory with index and forum PHP files..

KevinGupta
03-14-2010, 10:43 AM
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 1268567369 at 1268567369 ---------------

This is the version I downloaded
4.0.2 Patch Level 1

13th_Disciple
03-14-2010, 10:49 AM
Have a look at the attachment.. that's a look directly at the 4.0.2 pl1 zip file..

KevinGupta
03-14-2010, 11:01 AM
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 1268568358 at 1268568358 ---------------

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 :(

13th_Disciple
03-14-2010, 11:16 AM
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..

KevinGupta
03-14-2010, 11:38 AM
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?

borbole
03-14-2010, 02:45 PM
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?

KevinGupta
03-15-2010, 01:11 AM
I tried to re-upgrade the forum
www.forum.com/forum/install/upgrade.php

It still is the same :(

Unfortunately, no back up was made <---my fault :(

TimberFloorAu
03-15-2010, 01:19 AM
For a minute I thought you owned forum.com !!!!!

Was gonna buy it off you ;)

Whats the deal now Kev?

Want us to take a look ?
Is it brand new install?

If so I have finished work for the day and if you send me ACP details and FTP details, i will look at it for you.

Ste

KevinGupta
03-15-2010, 07:01 AM
I wish I owned it. :P

I am still having a lot of trouble with my forums :(

I can give you details to have a look at it and give you a temp username and password to forum folder only if this is ok?

It's not a brand new install. It was supposed to be a upgrade from 4.0.1 to 4.0.2

TimberFloorAu
03-15-2010, 08:55 AM
Too late now mate, its 8pm :)

If you need help tomorrow I am online from 5am AEDT

KevinGupta
03-15-2010, 09:18 AM
yea :) I am in Melbourne, Australia...Our timings are the same... :)

TimberFloorAu
03-15-2010, 10:43 AM
yea :) I am in Melbourne, Australia...Our timings are the same... :)

No wukaks mate, shout me tomorrow morning ok :)