Linked Questions
125 questions linked to/from Showing all errors and warnings
2050
votes
27
answers
3.9m
views
How do I get PHP errors to display?
I have checked my PHP ini file (php.ini) and display_errors is set and also error reporting is E_ALL. I have restarted my Apache webserver.
I have even put these lines at the top of my script, and it ...
12
votes
12
answers
2k
views
Counting li items from a html file using php
I have an HTML file that contains many many JUST "li" tags no head and body tag and any thing else. I want to count them using PHP. how can I do this?
However, I tried this:
$dom = new DOMDocument();...
10
votes
2
answers
20k
views
phpMyAdmin Error in processing request Error code: 500 Error text: Internal Server Error [duplicate]
When i'm running phpMyAdmin and click to Export/Import I always get an error:
Error in processing request Error code: 500 Error text: Internal Server Error.
OS - Ubuntu 18.04
3
votes
2
answers
8k
views
How to let nginx show the error log?
As I am developing my project using docker, with an image that has nginx installed, if any error happens, I will only see this:
502 Bad Gateway
nginx/1.4.6 (Ubuntu)
Currently, the only way to see ...
2
votes
2
answers
5k
views
PHP Scripts not showing any error on Localhost? [duplicate]
I am wondering why my http://localhost/ server is not displaying any error?
I am throwing errors like "require(abc.php);" which doesn't exists,
Tried throwing every error, but either screen goes ...
3
votes
3
answers
7k
views
Laravel .blade view won't load
So I've been trying to learn laravel, but I've run into trouble pretty quickly and can't seem to find an answer to my problem. My routes.php file looks like
<?php
Route::get('/', '...
2
votes
2
answers
4k
views
centos wordpress the requested URL was not found on this server,
I am trying to host my wordpress project in centos remotely, i have hosted it on /var/www/html and gave permission 777 for all sub folders and files, and changes
and in .httpd file i have changed to ...
1
vote
1
answer
2k
views
Internal Server Error in PDO Statment?
I have written a function that is in the file insert.php and looks like this:
<?php
function makeInsert($query, $paramArray){
include 'db.php';
try {
$pdo = new PDO("mysql:host=...
0
votes
1
answer
3k
views
PHP not rendering in HTML
I am using Windows 7 with IIS 7.
I am trying to get started with PHP. I have performed the following:
Installed PHP using the web platform installer
Verified that PHP is installed by using 'Check ...
0
votes
1
answer
2k
views
jQuery AJAX request to PHP returns error 500
I already know that this is a server error and I am unable to figure out why this is happening.
File structure:
project_manager
>ajax
>register.php
>classes
>...
0
votes
1
answer
3k
views
PHP Fatal error: Call to undefined function even though function is defined in included file
main.php requires 2 files:
require './functions/fileA.php';
require './functions/fileB.php';
fileA.pgp as a function
function doecho($url){echo $url}
In fileB.php, I have a function that calls the ...
0
votes
1
answer
638
views
php null values on bind_result
I have this PHP file stored i a server. It creates a new user for the DB. The registration is success but the response message is always NULL.
Here is my register.php file where i post the values
&...
0
votes
2
answers
1k
views
How to use span tags in php error statements
The echo statement is not printing when the answer does not equal to 8.So if the answer is other than 8 it should print in red "Please try again " underneath the textbox.All it shows is nothing when I ...
0
votes
3
answers
2k
views
yii2: how to generate reports with previos filter
I'm new to Yii2 and Web-Application-Programming at all. But I have to face the challange so I hope for little help here...
At the moment I'm working on an report-module where the user can base-...
1
vote
3
answers
851
views
Internal Server Error readfile
I have a view-script which opens a pdf-file, it looks like follows:
<?php
$this->title = 'arbeitskalender';
//ini_set('display_errors',1);
header('Content-Type:application/pdf');
header('...