vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [Pending-i] Blank Admin Settings? (https://vborg.vbsupport.ru/showthread.php?t=76760)

Ian Cunningham 02-21-2005 01:31 PM

[Pending-i] Blank Admin Settings?
 
I've installed the 2.0 hack as per the instructions (with all file changes) and articles.php works fine... however, I can't access any of the admincp options as I get a blank page?

Is there any way to trace why I get this?

Wierd... removing this line fixes it?:

include_once (''.$vbart_options['wysiwygpath'].'fckeditor.php');

Must break something though!

cinq 02-21-2005 02:10 PM

Hmm odd.

To fix your problem, try this.
Comment out that line
Go to your vbArticles settings and set everything up the way you want it. Remember to set the FCKeditor path properly.

Save the settings.
Then go back to the file, uncomment this line.

See if you still face problems. Let me know, ya ? :)

Ian Cunningham 02-21-2005 02:12 PM

Cheers! That worked :)

cinq 02-21-2005 02:15 PM

Hmm...I think it is some php setup issue, I know for me it returns errors initially but at least it shows the page. Some face the white screen of death instead.

I will see if I can find a workaround fix for this so these blank screens will be a thing of the past. Will try to post a fix soon. Meanwhile those who face this problem, please do what I mentioned above :)

Thanks for reporting back Ian :D

Dadoo 02-21-2005 04:35 PM

So, i have a explain for that...

your hack have some problems with GZIP html compression.

I have actually this white screen, but if i put the Gzip compression on OFF in Vb 3.0.7, so i can access to configuration of Vb Articles !

it possible to remedy to this problem..?

cinq 02-22-2005 12:24 AM

Quote:

Originally Posted by finereader
your hack have some problems with GZIP html compression.
it possible to remedy to this problem..?

Huh ??
I didn't code this hack to have GZIP optimization at all

Dionysis 02-23-2005 02:58 AM

A bit of fiddling... I would guess this is an issue with php's handling of errors. I know some installations will return a blank page instead of just printing out errors... if you include something that can't be found (such as the fckeditor without the proper path), you get an error, which PHP then supresses and gives you a lovely white page for.

A reasonable workaround I've found is simply changing (in ./admincp/vbarticles.php):
PHP Code:

include_once (''.$vbart_options['wysiwygpath'].'fckeditor.php'); 

to:
PHP Code:

if (file_exists(''.$vbart_options['wysiwygpath'].'fckeditor.php'))
    include_once (
''.$vbart_options['wysiwygpath'].'fckeditor.php'); 


cinq 02-25-2005 02:55 AM

Quote:

Originally Posted by Dionysis
A bit of fiddling...

Yep makes sense, I will include that in the next revision.
Thanks Dionysis. :D

akanevsky 07-03-2005 12:43 PM

Although it does not really matter,

include_once (''.$vbart_options['wysiwygpath'].'fckeditor.php');

Should be changed to:

include_once ($vbart_options['wysiwygpath'].'fckeditor.php');


All times are GMT. The time now is 04:58 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.01520 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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