Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered
Feb 1, 2011
I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...
I use web server apache use php fastcgi (Centos 5.2, apache 2.2.9 , php 5.2.5 and fcgi-2.2.4 ). I receive error : "The server encountered an internal error or misconfiguration and was unable to complete your request. contact the server administrator, no-reply@zz.vn and inform them of the time the error occurred, and anything you might have done that may have caused the error. I view log :
I'm running Ubuntu 10.04 with a complete LAMP installation (for local developement purpose).
Everything is OK (I installed phpMyAdmin without problems) except for one big problem: php shows 500 server internal error instead of a complete error report.
I tried editing php.ini and in-script runtime configuration but nothing changed.
I have found that APACHE or 'httpd' is installed in my machine. But the problem is I can start or stop the httpd but whenever I load the url http://localhost in Mozilla it shows a page load error.I have done this ,
$ /etc/init.d/httpd start then this $ /etc/init.d/httpd graceful
I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64
Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:
Code: [root@compaq 2.6.30.9-102.fc11.x86_64]# make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 make[1]: *** No rule to make target `missing-syscalls'. Stop. make: *** [prepare0] Error 2
how to resolve this error? It seems to be fedora-centric.
But after it updated and I restarted the service, it's reporting 2.2.0 on any error page. Yet through yum it's reporting 2.2.13-1. Is that normal? I've only ever used 2.2.x, starting with 2.2.6ish.
I got the error: "An unrecoverable processor error has been encountered. The virtual machine will reset now." I have edited the options in installation screen with adding noreplace-paravirt at the end of boot parameters. but still have this error and FC installation does not continue.
I am trying to run Fedora 14 from Virtual PC 2007 on Windows XP. Every time I try to boot it, it flashes some code and shows a blue screen with the Fedora logo for a fraction of a second. It goes to an ms-dos type screen with a white background and a single "[" in black. Then I receive an error saying "An unrecoverable processor error has been encountered. The virtual machine will reset now." I have googled many times and have scavenged the Fedora site for a solution, yet I have not found one for Fedora 14.
I reinstalled fedora the other day, and it's been working just fine, apart from the internet. It shows that I have a full connection with the wireless network, but it's really difficult to actually load a page. 80% of the time it just fails and shows "Page Load Error". It's really frustrating because it is connected to the internet. In fact, the icon in the address bar even loads from the site I try to access, but websites just will not load.
I've tested my wireless internet with another laptop which is running vista, and it works perfectly on that. Also, I'm running Fedora 10 on an Acer Extensa laptop.
I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.
I want that squid error pages have the company logo. I edited the page called ERR_ACCESS_DENIED but the image doesn't show (image its in the same directory as ERR_ACCESS_DENIED).
I tried png and gif formats to no avail.
Also I found this but I don't get what the writer is saying so I cant do it.
I have installed it++ on suse11.2 I have downloaded an example project and everytime i try to "make"..error "/bin/sh: line 1: .dependencies: Permission denied" comes up.I have tried to run as root but this hangs on "checking dependencies" and gives no action.
I installed Fedora 12 at school on my external hard drive, using Windows Virtual PC 2007 to run Fedora at school on a dell PC with XP 2000, which works at school!However at home, i am using Windows 2007 os, I install Windows Virtual PC 2007, wasn't successful in running Fedora 12.As soon as Fedora begin to boot, an error message appeared which said,"An unrecoverable processor error has been encountered.The virtual machine will reset now".below the message it gives you only option to reset the virtual machine, however this is a vicious cycle
I'm completely new to Fedora. I've tried using both Rhythmbox and Exaile to no avail. I keep getting a message that says "Playback error encountered! Your GStreamer installation is missing a plug-in." I have searched all over countless forums and blogs trying to figure out this issue. I went into add/remove software and searched GStreamer and basically checked everything that appeared to be what I needed, but that still hasn't worked. Insanely annoying not being able to play my music and even more annoying because I never had this issue with Ubuntu.
When i open the Browser FireFox and enter the URL http://localhost/TemplateSystemCore/bin/index.php no PHP Errors will be displayed. If i do Right Click View Source Code it is total empty.
I am using Netbeans to edit a PHP Project. The Project is located in /home/martin/NetBeansProjects/TemplateSystemCore btw. /home/martin/NetBeansProjects/TemplateSystemCore/bin
The Project is usein a .htaccess file with Rewrite Rules.
I edited the php.ini and set all display errors to On. I also edided the http.conf and set display errors On. But nothing helped. Have anyone a Idea why my Brwoser isnt printing any PHP Errors? At least a <html> Tag should be on the Source Code. But its also empty.
On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?
I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
I tried installing the RPM from tcpflow website. error: Failed dependencies: libpcap.so.0.6.2 is needed by tcpflow-0.21-1.i386 I installed libpcap1-32bit, but doesn't help. I tried added soft-link to libpcap.so.1.0.0 from libpcap.so.0.6.2 to workaround, doesn't help. hen I DLed the tarball, ./configure gives an error, even after including --with-pcap=/usr/lib64/libpcap.so.1.0.0 checking for --with-pcap option... configure: error: /usr/lib64/libpcap.so.1.0.0 does not exist I CAN'T install the rpm, I CAN't compile from source. I can't find this program on any suse repo. I need to use this prog -- what can I do?
I have an existing blog that I migrated to ubuntu server recently. The site was running fine until I transfered it over to ubuntu. I get a 404 error whenever I view pages that is not my index. I believe it has to do with my .htaccess file.
I have enclosed the .htaccess and my default file taken from sites-enabled.
.htaccess Code: ##################### #PREVENT viewing of .htaccess file <Files .htaccess> order allow,deny
I installed lighttpd to be able to view cgi files that display the status of my UPS. For the most part is has worked w/o incident i.e. until recently when the UPS battery failed on my APC backups xs 1500 lcd. I could not view the multimon.cgi file via the localhost or 127.0.0.1 url e.g.: [URL]... I'd get 404 page not found message. After checking links here and on the web, I tried: [URL]... The page is displayed. From this discovery, I'm not sure that this is a web server configuration or a network host configuration issue or what. I'm running Lucid with all updates, no mods to lighttpd except I added the mod_fastcgi line to the lighttpd.conf file
rencently, i move develop env from one linux machine to another, two linux have same gcc and make version, but at new linux machine make warning/error messages dont show color font(in old linux machine, warning messages is yellow, but now, it is white).so, when make, there are all white messages, i cant focus on warning and error.
I'm encountering an unusual problem with GRUB 2. Whenever I start up my system, my BIOS'es load and do their thing, and then hand the show over to GRUB, which is supposed to not appear or do anything because my GRUB countdown is set to 0, but instead I get two errors like this that appear for about 5 or 10 seconds (greatly delaying startup) and then Xubuntu, the first entry on my Grub menu, loads: (I set GRUB to automatically boot my first entry):
Code: error: no suitable mode found error: unknown command 'terminal'
I was trying to convert a flac audio to mp3 using soundconverter & its failing with the error:
Quote:
GStreamer error: Gstreamer encountered a general stream error.
I should note that the flac is a rip of an actual Mono Vinyl disc. Am not exactly sure how that was done but I was interested in converting some those files to ogg & mp3. OGG conversion doesn't give any error.
Below is the result when launching soundconverter from the terminal & trying to convert the flac file(s) to mp3 (i just tried ogg to mp3 & the same error occurs):
Code: $ soundconverter SoundConverter 1.4.4 using Gstreamer version: 0.10.28, Python binding version: 0.10.18 using gio
the codeigniter didn't work in my Fedora,the welcome page,when your codeigniter works,it will shows,but it doesn't appear.the same step,it can work in Windows. What's the problem?