Help in Vps blank page

Started on the old forum in January 2015 · view the original in the archive · old links redirect here

9 replies · 176 views · started 11 years ago · 1 min read

4 participants
zong11 Developer · 98 posts #1

I m using Vps with kloxo but when i enter path of my some php it shows blank page ...without any error so please tell me how to solve that

Always Help Needy Peoples !!!!!

something else Fellow · 2,296 posts #4

if that fails use this script:

error.php

<?php
$page = isset($_GET['page']) ? $_GET['page'] : 'index.php';
error_reporting  (E_ALL);
ini_set ('display_errors', true);
include($page);
?>
something else Fellow · 2,296 posts #5

oops you added the script to the top of the script which appears to be causing an infinitive loop... can you delete these 2 lines:

$page = isset($_GET['page']) ? $_GET['page'] : 'input.php'; include($page);

and see what error it gives then

something else Fellow · 2,296 posts #6

create a new page with error.php and then goto error.php?page=input.php and it will show the errors 🙂 change input.php to which ever page is causing problems

make sure you have those 2 lines that your removed included on error.php

something else Fellow · 2,296 posts #8

Try Changing error.php to

<?php
$page = isset($_GET['page']) ? $_GET['page'] : 'index.php';
error_reporting  (E_ALL);
ini_set ('display_errors', true);
include_once($page); // this line has changed
?>

That will avoid the infinitive loop

zong11 Developer · 98 posts #10

installed script again and solved

Always Help Needy Peoples !!!!!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close