Jump to content

fatal_banana

New Members
  • Posts

    8
  • Joined

  • Last visited

fatal_banana's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Alrighty so this file is on an internal network so i couldnt copy it over, but when I went back over it again I was missing a semicolon. I did not realize that one missing semi colon would have such a terrible effect. Thanks for the assist!
  2. Nope. No html markups in the file. It's file name is test2.php and all of the code that is in that file is exactly as aforementioned. It's saved in the normal spot /var/www/html. I'm using centos 7 if that makes a difference. exact source in browser is <html> <header> </header> <body> </body> </html>
  3. This is from my phpinfo() page. I dont see anything disabled that seems suspect, but I'm very inexperienced. Debug Build no Thread Safety disabled Zend Signal Handling disabled Zend Memory Manager enabled Zend Multibyte Support disabled IPv6 Support enabled DTrace Support disabled
  4. Nope. Blank page and source is a blank html document with minimal tags: html, header, body.
  5. Hmmm its not displaying errors; even in the page source.
  6. Alrighty, thats done. I can't seem to find the logs this might be creating. Or are there no logs?
  7. changed php.ini options to error_reporting = E_ALL; and display_errors = ON; is that the correct syntax for the file?
  8. I'm having a client side issue that's probably a server side issue. A test php file of phpinfo will properly display in browser when I navigate to that page. However, when I try to access any other php file, the page is completely blank. Here is one of the php files that won't display anything: <?php $mysqli = new mysqli("localhost", "user", "password", "database"); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } echo $mysqli->host_info . "\n"; $mysqli = new mysqli("127.0.0.1", "user", "password", "database", 3306); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } echo $mysqli->host_info . "\n"; ?> its labeled test2.php and is in the application's root directory. I get a blank page in Firefox and Internal Server Error 500 from Internet Explorer (which is almost never used). I'm not entirely sure where to start with this and any other posts I've found about this were no help. Also, I'm pretty new to php and what not, so be gentle
×
×
  • 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.