vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   White screen forum - HELP (https://vborg.vbsupport.ru/showthread.php?t=322661)

Jonm 05-17-2016 06:07 PM

White screen forum - HELP
 
Right then,

when viewing the following URL - www.staffs-vw.co.uk all I see is a white screen, but when I view this URL www.staffs-vw.co.uk/forum.php I see the site.

Can anyone tell me why? I'm stuck.....

Dave 05-17-2016 06:43 PM

Review the settings at AdminCP > Settings > Navigation Manager.
Everything correctly set at that page?

Bought a 2010 VW Jetta yesterday, amazing car. :D

Jonm 05-17-2016 07:01 PM

seems ok

https://vborg.vbsupport.ru/external/2016/05/15.png

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

expanded view

https://vborg.vbsupport.ru/external/2016/05/16.png

squidsk 05-17-2016 07:29 PM

Check to see that you have an index.php in the folder.

Jonm 05-17-2016 07:33 PM

Quote:

Originally Posted by squidsk (Post 2570980)
Check to see that you have an index.php in the folder.


it's there and this is what it looks like

<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.0 Patch Level 3 - Licence Number XXXX
|| # ---------------------------------------------------------------- # ||
|| # Copyright �2000-2012 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ################################################## ################## ||
\*================================================ ======================*/

/* Tell forum.php to redirect
to the default url as defined
in the navigation manager */
define('VB_REDIRECT', true);

/**
* If you want to move this file to the root of your website, change the
* line below to your vBulletin directory and uncomment it (delete the //).
*
* For example, if vBulletin is installed in '/forum' the line should
* state: define('VB_RELATIVE_PATH', 'forums');
*
* Note: You may need to change the cookie path of your vBulletin
* installation to enable your users to log in at the root of your website.
* If you move this file to the root of your website then you should ensure
* the cookie path is set to '/'.
*
* See 'Admin Control Panel
* ->Cookies and HTTP Header Options
* ->Path to Save Cookies
*/

//define('VB_RELATIVE_PATH', 'forums');

// Do not edit anything below //
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}

require('forum.php');


/*================================================= =====================*\
|| ################################################## ##################
|| # Downloaded: 10:46, Fri Dec 7th 2012
|| # CVS: $RCSfile$ - $Revision: 60957 $
|| ################################################## ##################

TheLastSuperman 05-17-2016 07:37 PM

If an index.html file exists on the server, temporarily rename it and then check.
  • Any recent changes to .htacess?
  • Any recent changes to mods? (new installs or uninstalls)
  • Has your host recently updated the server? (PHP version etc)
  • I see vBSEO listed at top left in the drop-downs, is it still installed? If yes it could be hacked (it's vulnerable now, the company and product is gone and it's not supported or secure) you need to consider replacing it with DBSEO or uninstalling and going with mod rewrite friendly url structure.

Edit: http://www.staffs-vw.co.uk/forum.php is loading fine, I bet it's a index.html file loading before index.php as the server is defaulted to that load order.

Jonm 05-17-2016 07:41 PM

Quote:

Originally Posted by TheLastSuperman (Post 2570982)
If an index.html file exists on the server, temporarily rename it and then check.
  • Any recent changes to .htacess?
  • Any recent changes to mods? (new installs or uninstalls)
  • Has your host recently updated the server? (PHP version etc)


No changes to htacess, no new mods, I did delete the garage mod a while back and no new php that I know of.

renamed and I still see white

https://vborg.vbsupport.ru/external/2016/05/13.png

by viewing url/forum.php i see this

https://vborg.vbsupport.ru/external/2016/05/14.png

squidsk 05-17-2016 08:33 PM

TheLastSuperman meant rename/copy your index.php to testme.php (or something similar) and point your browser to testme.php and see what happens.

Is there anything in the logs?

Jonm 05-18-2016 09:57 AM

Quote:

Originally Posted by TheLastSuperman (Post 2570982)

Edit: http://www.staffs-vw.co.uk/forum.php is loading fine, I bet it's a index.html file loading before index.php as the server is defaulted to that load order.

I'm new to all this and still learning, any help with what to do would be great thanks :up:

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

Quote:

Originally Posted by squidsk (Post 2570987)
TheLastSuperman meant rename/copy your index.php to testme.php (or something similar) and point your browser to testme.php and see what happens.

Is there anything in the logs?

Where would I find the logs?

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

anyone?

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

Had another look around the web last night for ideas and still nothing to help..

Jonm 05-19-2016 05:25 PM

turns out I had index.html and index.php in the folder so I deleted the html file and it works again.

TheLastSuperman 05-19-2016 05:51 PM

Quote:

Originally Posted by squidsk (Post 2570987)
TheLastSuperman meant rename/copy your index.php to testme.php (or something similar) and point your browser to testme.php and see what happens.

Is there anything in the logs?

Ohh, well I actually meant that I thought he had both an index.html and index.php and the server was simply loading index.html first because of directory index.

Reference: http://stackoverflow.com/questions/7...over-index-php

Quote:

Originally Posted by Jonm (Post 2571066)
turns out I had index.html and index.php in the folder so I deleted the html file and it works again.

Ahh so it was that! Well I'm not so useless after all lol, glad you have it sorted now :cool:. *Also Jonm, quite a bit to take in when running a site, you're doing just fine - take your time and all the pieces will fall into place as you go :D.


All times are GMT. The time now is 05:50 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.01304 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete