Jump to content

Blank page


Recommended Posts

In that case there is an error with the script. To see what the error is turn display_errors on and make sure error_reporting is set to E_ALL within the php.ini

 

If you don't have access to the php.ini add the following two lines to the top of index.php:

<?php
ini_set('display_errors', 'On');
error_reporting(E_ALL);

// rest of code here for index.php

?>

Re run index.php. If there is any errors PHP should display them to the screen.

Link to comment
https://forums.phpfreaks.com/topic/58609-blank-page/#findComment-291927
Share on other sites

Can you access your sites error logs? If you can have look in there If there is anything wrong it should be logged in there. Before looking in the error log run your script again then look in the error log. The latest error logged should be posted either at the end of the error log or at the top.

 

Also can you post a link to 123news I cannot seem to find it. I just get French sites

Link to comment
https://forums.phpfreaks.com/topic/58609-blank-page/#findComment-292418
Share on other sites

i need a news script that allows me to display news on a different page eg

 

News Script: http://www.somesite.com/news/index.php

 

page to show news: http://www.somesite.com/news.php

 

ps: to show news with news123 you need to add

 

<?php

    include_once '/path/to/news/folder/display.php';

    execute();

?>

 

to the page you want it to display on

Link to comment
https://forums.phpfreaks.com/topic/58609-blank-page/#findComment-292462
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.