I host my own website on my computer (Mac mini Mac OS X 10.5.7) I am running Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2 PHP/5.2.9 - MySQL 5.1.35 - phpMyAdmin 3.2.0 I recently made MySQL and phpMyAdmin upgrades. Before the upgrades, when performing a name search in the main table of my DB, if the query returned no result, the right frame displayed the warning "Your SQL query returned no result" and the usual content of the Search Tab ready for performing a new search. Now, the right frame displays a blank page with only the mention: ServerName - DatabaseName - TableName Is this a bug or a new (bad) feature in phpMyAdmin 3.2.0?If it's a bug, how do I fix it?
Ok I installed php 4.3.1 with Apache 2.054 and I followed instructions by the book.
from the prompt I can run php files, like >>php index.php
I've added Addtype in httpd.conf. And from reading on this forum, I ready for the first go, I'll have to open up a php file like http://localhost/test.php. That's the only thing I've not done. Problem is, being a newbie at Linux I got no clue on how to do that. Any pointers?
I recently installed php5, mysql and phpmyadmin. Soon after installation, I realized that I had the "PHPIniDir" directive pointing to the wrong file causing php to not change no matter how much I changed php.ini. I fixed the directive and now php wont work. When I go to http://localhost/test.php, the screen is blank and the php code is shown in the source (i.e. phpinfo(); ) I checked the php manual faq and it says that this means that the server isn't sending the file to the php interpreter, httpd.conf: Code:
On my Apache host, localhost:8080, no error message are being displayed. If I have an error in my PHP code, all I get is a blank screen. Do I need to configure something in Apache or PHP.ini to turn on error messages?
So I have a site written using the CI framework. It worked fine on the original host (Apache). It works fine locally (IIS 7 Express). We have just purchased a new VPS (Windows Server 2008 R2) and php was pre-installed (PHP Version 5.2.10) now when I go to the site I get a blank page.
After debugging by simply printing 'OK' ever so often I determined CodeIgniter.php is failling over on:
$CI = new $class();
Now to try and tackle the problem I have gone into config.php and set:
$config['log_threshold'] = 4;
However I am not even getting any log files. I noticed the permissions were not enabled for write so I went to "c:inetputwwwroot" and set max permissions for user "IIS_IUSRS"
Unfortunatly still, no log file is created. "index.php" is still blank so I am totally confused. This is my first time working with a CI app.
Edit: Ensured MySQL Installed and MySQL enabled for PHP
Our site allows clients to upload files to share with others. We have several clients who are sharing many files with many users. There is one client that inconsistently receives a blank white screen while viewing a file.
She is the only client that has reported this as an issue, so I'm not sure how wide spread it is; I can not duplicate this problem myself but I can watch it happen to her using remote desktop software.
She first reported it last week. I went into the function that serves the file, added two lines of code, removed those same two lines, saved the file, and the problem went away.
She called again this morning reporting the same problem. This time I modified the code to pass along extra header information and that seemed to clear the problem up. She called again about 2 or 3 hours later and the problem had started yet again, without any changes to the code:
I installed an new REDHAT 7.3 server with apache, mysql and php. After some while all worked fine. Exccept the error messages in php didn't print to the screen. After reading through this forum i overlooked the display_errors: off, so set it to on including the error level to E_ALL. no errors an the screen, so tryed to set it to the minimal error level and then in the script add error_reporting (E_ALL ^ E_NOTICE); to make the script change the level. Still no errors on screen.
Do i have to make an change in the apache config to make in work or am i missing something? phpinfo() provided below. Code:
This is a very odd problem I've run into and I currently have no idea what to do about it despite having looked over the code dozens of times.
I run an RPG online that, among other things, has a character creation system. Without going into any details of the system, I'm trying to add a feature that allows a member to change a skill of the character and reset the skill level of the new skill.
The function of the page may or may not be relevant. The code of the file first checks to see if username and password of the member are set. If they have been set, it checks the mysql database table for that combination. If it finds a record matching both, it generates the first page of the feature (giving a form in which to select skill to change and the new skill). If it doesn't find the record, it generates a page to display a typical "Login Incorrect" error page.
For testing purposes, I simply visit the page (passing username & password in through the URL) and it brings up a blank screen without any warnings or error messages. Upon viewing source, I see that it generated the "exact" html code in full that I wanted it to, but none of it is being displayed in the browser.
First of all, apologies in advance if this is a question that gets asked all the time. I tried to search, but wasn't really sure exactly what to search for. Anyway, here's the issue. I've written a simple page in PHP. It displays just fine in Netscape, but for some reason the screen is absolutely blank in Internet Explorer. Does anyone have any ideas as to what might be the issue?
I'm trying to create a basic form. The user fills in the information and submits. If all the required info is submitted, it gives a thank you message. If not, it gives an error stating what info needs to be submitted.
I uploaded the php file to my web server. When trying to view the url via the web, it just give a blank white screen. Here's the Code:
I'm running Apache2 together with the php and mysql modules on an opensuse 10.1 machine. Most scripts run well, I can connect and query databases without any problems.
But some well known scripts like phpMyAdmin or Nucleus fail. When accessing a database or table (I don't really know when PHP crashes) PHP just returns a blank screen (HTML source code is blank as well). Code:
Im making it so its possible to ban users from the website in a mod panel. But when I enter a name and click submit I get a blank screen. Heres the full page for banuser.php if you would like to see banuserf.php just say so:
<?php session_start();?> <head><link rel="stylesheet" type="text/css" href="css.css" /></head> <?php include 'init.php';
I'm running Win2003 Server with IIS, PHP 5.2, and MySql 5. PHP works in some cases, for example, I have phpMyAdmin running fine, WordPress running fine, and a few other basic sites. However, I've tried to install other PHP applications (the case at hand being OS Commerce), where it seems the PHP code doesn't run. I install the files, run the index.php file in the browser and get a blank white screen. I've checked for the opening tag issue <? vs. <?php and everything is set to <?php. I'm wondering if there is a setting in the php.ini file that I am missing? Not sure what to do next.
this allows all errors on both servers, but on my live server i'm not seeing some errors, for example:
require('test.php); //missing single quote
gives me a blank screen, but on my local it gives me a notice and fatal error(because of the the require) if i try to require a file that doesn't exist i get fatal errors on both environments. I have access to change the configs and error reporting and display_errors are beign set correctly.