PDA

View Full Version : Forum isn't showing after theme upload


asipes
03-29-2011, 07:25 PM
I don't know if I'm posting this in the right section. I uploaded a new XML - and theme today and apparently DUH the paths changed or something - because now when I go to view my forum it's just a white page, the forum doesn't even come up.

The version I had was 4.0.7

www.mjworldcry.com/board

Can someone tell me what I can do to get it up and viewable? I'm lost.

Oh and it doesn't matter what theme I upload now, it won't make it show.

kether1
03-29-2011, 07:50 PM
Start by disabling the plugin/hook system:

****
If you are able to access your AdminCP go to

AdminCP -> Settings -> Options -> Plugin/Hook System

And set it to No to disable.
*****

If you cannot access your admincp, then do the following:

First, open your config.php which can be found in your forum root/includes directory

Just below this code:
<?php

Past in this code:

define('DISABLE_HOOKS', true);

and save the file.

If you would like to enable the plugin/hook system again, either remove the line again or simply comment that line out. To do so, add two forward slashes " / " so it will look like this:

// define('DISABLE_HOOKS', true);

If you ever need to disable the plugin/hook system again
you simply have to remove those two " / ".

If you still get a white page and you can access your admincp, make sure your style is set to the default Vbulletin style and then test to see if you can access your site.

Did you change anything in your htaccess file? If so, this could also cause you to not be able to access your site.

Good luck.

Kether

asipes
03-29-2011, 08:44 PM
Thank you so much, yes I do have access to the admin panel. I did set it to no and it was still white.

What I noticed is that when I click "view" it takes me to http://www.mjworldcry.com/board/forum.php and the forum.php is not suppose to be there. So it added that on somehow. So yes it's still not showing but I did disable that. Not sure why it isn't going to www.mjworldcry.com/board and added on the last part.

kether1
03-29-2011, 09:38 PM
Hmmmm.. seems to me that forum.php would be inside the "board" folder.

Are you using VBSEO or some other re-right plugin? It could be an htaccess issue. Do you have an htaccess file. I see your landing page at www.mjworldcry.com.

How do you get the non-dynamic URL www.mjworldcry.com/board instead of the standard url www.mjworldcry.com/board/index.php ?

Be sure to go to your config.php file and disable hooks there as well using the code I posted before.

You will probably need to create a new, unaltered style with the plugins disabled to see if you can get your forum to work if it is not a htaccess or some other re-right issue.

asipes
03-29-2011, 09:52 PM
where would the htaccess file be per se? I can't seem to find it in any of the folders...is that the issue? I did find the forum.php file in the board folder.

kether1
03-29-2011, 09:54 PM
most likely the htaccess file (if you have one) will be in the root folder of your site, though you could have one in the forum 'Board" folder of your site.

asipes
03-29-2011, 10:11 PM
The htaccess file isn't in either location. I did go in and disable hooks in the config.php file, still white screen.

kether1
03-29-2011, 10:28 PM
Okay, one more thing to try:

I am assuming your forum is in the root of your site inside the folder 'board'.

If this is the case, then go to your admincp and do two things:

1. make sure the path is correct in the settings area:
Go to:
AdminCP -> Settings -> Options ->Site Name / URL / Contact Details
and make sure your Forum URL is correct. It should be: http://www.mjworldcry.com/board (no ending slash!)

"Always use Forum URL as Base Path" should be set to YES

SAVE.

If it was correct, then go to step 2. If it wasn't correct, then re-check to see if it works now.

2. Now we will create a completely unmodified style to test your default install of your forum.

1. AdminCP ->Styles & Templates - >style manager - >add new style - >
A. choose NO PARENT STYLE
B. Call it whatever you want
C. 99 (this will display it at the bottom of your list of styles)
D. Save

Now, go to:

AdminCP -> Settings -> Options ->Style & Language Settings

Under the setting: Default Style choose the new style you just created.

SAVE

Now visit your home page by clicking the link in your admincp at the top right of your screen "Forum Home Page".

Did that work?

asipes
03-29-2011, 10:37 PM
Step 1 was already correct, so I went to step 2. Created the new template, saved it, changed the style settings, saved. Tried the forum again, nothing. Also, the forum homepage link is still messed up. If I can't seem to resolve the problem, I'm willing to let someone take a look at it, and could probably give them a few bucks.

kether1
03-29-2011, 10:42 PM
The forum home page is just a few lines below:
AdminCP -> Settings -> Options ->Site Name / URL / Contact Details

This link should be the full url http://www.mjworldcry.com/board/forum.php

I hope that helps.


EDIT:
Question: Did you upload files beyond the style xml that caused the problem originally? Maybe it is a permissions/ ownership issue?

asipes
03-29-2011, 11:10 PM
I uploaded the theme in FTP, then went to the admincp to make that theme work, the forum asked me if I wanted to overwrite something, I said OK, and that is when the forum went down. The only other place I uploaded anything, was in my FTP to the cpstyles folder when I uploaded the theme. I don't remember exactly what it asked me if I wanted to overwrite, but apparently I should have said no.

kether1
03-29-2011, 11:17 PM
Ok, check the permission on the file you uploaded via FTP. If the permission and owner is correct, then you may need to re-upload the default style, but before doing that, I would submit a support ticket at Vbulletin.com. They will probably tell you to re-upload all non image files and see it that fixes the problem, but I would rather them tell you to do that. I hope it is a permissions issue and now feel pretty sure it is. I can visit your site and call up an image like this:
http://www.mjworldcry.com/board/images/misc/tag.png

So, things seem to be in place. I am hoping it is a permission or owner issue on the new file. My folder is set to 0755.

Maybe that is the issue.

Also, when you check the owner of the folder, make sure it is the same as the web user. In many cases it is the 'nobody' account. So, if it was being owned by the 'root' account, then the the folder information could not be seen by anyone. it must be owned by the web user account. (I hope that is clear.)

Internetcafe
03-30-2011, 12:03 AM
Can you login to your admincp listed here (http://www.mjworldcry.com/board/admincp/index.php)

asipes
03-30-2011, 02:51 AM
Yes. I can log in no problems.

--------------- Added 1301463017 at 1301463017 ---------------

Ok I don't qualify for ticket support any longer. pffft - I have to upgrade to suite or whatever. Anyway they did however help me and my forum is back up and running. I wanted to share the solution in case anyone else ever has this problem. THIS is what I had to do.

You should reupload your MATER STYLE using tools.php.

Follow these steps.

1) Upload tools.php from your "do_not_upload" folder. This should go into your admincp directory.

2) Load this in your browser by going to: yourforums/admincp/tools.php

3) Enter your customer ID.

4) Click on Style.

5) Delete tools.php from your server.

6) See if you can see your default style now.


Yes it worked. Also thank you for doing your best help me today, it was appreciated. I am grateful for your help. TY ♥

kether1
03-30-2011, 01:17 PM
Glad it is all sorted. I know the scary feeling of the blank white page. haha...

Regards,
Kether