f



Error 500 - Internal Server Error

Hi,

I am trying to pass the following and it keeps giving the same error...

http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20*%20from%20sysuser%20where%20companies%20LIKE'%0002%'%20AND%20usrflag%20='U'&tblname=curSysuser

....the problem is the LIKE '%0002%'.  If I remove the %'s from each side 
of the value, no error.

Anyone got any ideas

Regards
Doug Johnston
0
doug832 (3)
8/24/2005 11:24:17 AM
comp.lang.php 32646 articles. 0 followers. Post Follow

4 Replies
1019 Views

Similar Articles

[PageSpeed] 48

"Doug Johnston" wrote:

> Hi,
> 
> I am trying to pass the following and it keeps giving the same error...
> 
> http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20*%2
> 0from%20sysuser%20where%20companies%20LIKE'%0002%'%20AND%20usrflag%20='U'&tbln
> ame=curSysuser
> 
> ...the problem is the LIKE '%0002%'.  If I remove the %'s from each side
> of the value, no error.
> 
> Anyone got any ideas
> 
> Regards
> Doug Johnston

You should have URLencoded the percent characters:

<http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20
*%20from%20sysuser%20where%20companies%20LIKE'%350002%35'%20AND%20usrflag%20
='U'&tblname=curSysuser>

But I have to say that running SQL requests directly from unvalidated HTTP
requests is really stupid and irresponsible. Publishing the URL of this
insecure database is really asking for trouble. Fix it now before someone
f**ks up your database.


-- 
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/


0
invalid171 (7008)
8/24/2005 11:48:06 AM
*** Doug Johnston wrote/escribi� (Wed, 24 Aug 2005 11:24:17 GMT):
> http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20*%20from%20sysuser%20where%20companies%20LIKE'%0002%'%20AND%20usrflag%20='U'&tblname=curSysuser
> 
> ...the problem is the LIKE '%0002%'.  If I remove the %'s from each side 
> of the value, no error.

Don't even solve it. If anyone can send custom queries to your database,
anyone can break your site. And they will.

Apart from that, there's only a small subset of chars that are valid in an
URL. You can get the appropriate conversion with rawurlencode(); decoding
is automatic.



-- 
-- �lvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programaci�n web
-- Don't e-mail me your questions, post them to the group
--
0
8/24/2005 11:57:12 AM
Doug Johnston wrote:

> ...the problem is the LIKE '%0002%'.

The only position a percent sign can occur in is the first 
character of a percent-encoding:

 pct-encoded = "%" HEXDIG HEXDIG

To be taken as data it must itself be percent-encoded (%25).

-- 
Jock
0
2004 (518)
8/24/2005 12:43:11 PM
Doug Johnston wrote:
> Hi,
> 
> I am trying to pass the following and it keeps giving the same error...
> 
> http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20*%20from%20sysuser%20where%20companies%20LIKE'%0002%'%20AND%20usrflag%20='U'&tblname=curSysuser 
> 
> 
> ...the problem is the LIKE '%0002%'.  If I remove the %'s from each side 
> of the value, no error.
> 
> Anyone got any ideas
> 
> Regards
> Doug Johnston

Maybe pass it through urlencode() first?

Or, better yet - DON'T PASS THE SQL IN THE REQUEST!, i.e.

http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=delect%20from%20sysuser.curSysuser

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
8/24/2005 1:13:15 PM
Reply:

Similar Artilces:

When is an error not an error?
The Java language specification claims in: 8.8.7.1 Explicit Constructor Invocations .... "If an anonymous class instance creation expression appears within an explicit constructor invocation statement, then the anonymous class may not refer to any of the enclosing instances of the class whose constructor is being invoked." Helpfully it gives an example: "For example: class Top { int x; class Dummy { Dummy(Object o) {} } class Inside extends Dummy { Inside() { super(new Object() { int r = x; }); // error } Inside(final int y) { super(new Object() { int r = y; }); // correct } } } " Notice the word 'error' in the comment. This example compiles without error and produces the correct code. In what sense is it an 'error'? It is not a compiler error, it is not a runtime error. To quote Douglas Adams "this must be some new meaning of the word 'error' with which I am unfamiliar". Any idea what's gone wrong? In article <gepkhr$rop$1$8302bc10@news.demon.co.uk>, Anon <blackhole@nowhere.com> wrote: > The Java language specification claims in: > 8.8.7.1 Explicit Constructor Invocations [<http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.8. 7.1>] > Notice the word 'error' in the comment. This example compiles without > error and ...

When is an error not an error?
When it's OSS slopware, of course. http://www.angelfire.com/planet/dfs0/Knode_send_error.png On 2006-09-12 02:42, * DFS wrote: > When it's OSS slopware, of course. > > http://www.angelfire.com/planet/dfs0/Knode_send_error.png > Well, some time ago I had a problem with OE - too long reference line to other posts, and OE of course refused to send... then crashed. Should I name it a feature? -- Andrea On Tue, 12 Sep 2006 03:25:29 +0200, Andrea wrote: > On 2006-09-12 02:42, * DFS wrote: >> When it's OSS slopware, of course. >> >> http:/...

Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error
hi i m unable to fugure out y I m getting this error it's a suggestion page and on submitting this page I have to reload the page but with status of the page (requires approval) in form of url earlier say few days back , it was working fine , i had absolutely no issues in this since 2-3 days everytime i submit the page , i m getting the error Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error 500 my code is listed below pls help <%@ include file="../includes/sessionChecker.jsp"%> <%@ page isThreadSafe="false" errorPage="....

Quartus 5.0sp1 -- Error: Unexpected error in JTAG server -- error code 33
I figure I should finally ask about this problem that I've had with every Quartus version I've used (since pre-4.2): The built-in programmer in Quartus stops working after a few sessions -- always. Typically I get one or two successful programming done (using a Nios Dev kit, Cyclone ed) before it fails with: Info: Started Programmer operation at Mon Jul 11 20:54:11 2005 Error: Unexpected error in JTAG server -- error code 33 Error: Operation failed Info: Ended Programmer operation at Mon Jul 11 20:54:11 2005 At this point any attempt at programming is futile and will just repeat the error above. However, closing the programmer window/tab and relaunching Tools/Programmer makes it work again for a bit. It's really kind of annoying, but googling for a solution to the problem didn't turn up anything. While we're at it, why isn't the programmer integrated into the build instead of forcing a manual invokation? Thanks, Tommy (fpga at numba-tu.com) "Tommy Thorn" <foobar@nowhere.void> schrieb im Newsbeitrag news:QAHAe.3899$p%3.23990@typhoon.sonic.net... > I figure I should finally ask about this problem that I've had with > every Quartus version I've used (since pre-4.2): The built-in programmer > in Quartus stops working after a few sessions -- always. Typically I > get one or two successful programming done (using a Nios Dev kit, > Cyclone ed) before it fails with: > > Info: Started Prog...

Error directing BCP In errors to error file
Greetings, I am trying to bcp in data to a table which is in different server . Though the bcp in works fine but the error file is not being created and rejected records are not being directyd to the error file. Query looks like: bcp <db>..test_b_plan_cp in /home/file_out.txt -c -t '|' -S *****-U ****** -P ******-I /home/bcp2db_sql.ini -e /home/bcp2db.error. Can someone please help? TIA. Regards, Rajpreet ...

(assert-error) tests errors and error messages
I wrote (assert-error) to make sure that a function generates an error, and verify the error message. What do you think? Below is the definition and a few test cases, for Emacs 22.1.50. (require 'cl) (defmacro assert-error (form &optional regexp) "FORM must signal an error. Signal an error otherwise. Additionally, the error message must match REGEXP. Case is ignored while matching REGEXP." (let ((msg (make-symbol "msg")) (ok (make-symbol "ok")) (res (make-symbol "res"))) `(let ((,ok nil)) (condition-case err ;; Evaluate FORM and save the result. (set ',res ,form) (error ;; This runs when FORM signals an error of any kind. (set ',ok t) (set ',msg (error-message-string err)))) (unless ,ok (error "Did not signal an error: %s (returned %s)" ',form ,res)) (when ,regexp ;; Here we know that FORM signaled an error, and that the ;; caller wants to check the error message. (unless (let ((case-fold-search t)) (string-match ,regexp ,msg)) (error "Error message does not match \"%s\": \"%s\"" ,regexp ,msg)))))) ;; Test assert-error, mostly by running it against itself. (assert-error (assert-error nil) "did not signal.*nil") (assert-error (assert-error t) "\\bt\\b") (as...

Apache2Triad PHP Errors without Error Messages
How do I get Apache2Triad to print the reason it stops while executing my PHP programs? ...

Error 8 Compilation Error. File permission error or DMA hardware error detected
I just upgraded my Labview code to Labview 8.5 from LV8.2.1 Then I tried to compile&nbsp;my code to get an .exe file I keep getting the following error, &nbsp; Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference: Error 8 occurred at Write to Text File in AB_Engine_Update_INI_Header.vi-&gt;AB_Application.lvclass:Create_INI_File.vi-&gt;AB_Application.lvclass:Copy_Files.vi-&gt;AB_Build.lvclass:Build.vi-&gt;AB_EXE.lvclass:Build.vi-&gt;AB_Build.lvclass:Build_from_Wizard.vi-&gt;AB_UI_FRAMEWORK.vi-&gt;AB_Item_OnDoProperties.vi-&gt;AB_Item_OnDoProperties.vi.ProxyCaller Possible reason(s): LabVIEW:&nbsp; File permission error. You do not have the correct permissions for the file.=========================NI-488:&nbsp; DMA hardware error detected. C:\UserData\LabView\IFX Interop Test exe\GMXiTest.ini &nbsp; I never have this problem if I compile using LV8.2.1. Please help! Thanks. &nbsp; hi there just to be sure: has 8.5 been installed under an other account than yours? make sure you have the windows access rigths to the LabVIEW - folder. Hi, Yes I have administrator rights on the PC. It was installed with full R/W permission. I saw in the forum that others are having the same problem and tried this work-around mentioned but it did not work. <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=172537&amp;query...

FATAL ERROR IN TWO-TASK SERVER: error = 12571
Hi, Yesterday I faced a problem when I inserting data through VB6 interface. But It was hanging at the time of inserting data in database.But the same insert query when I run through SQL* it is working perfectly.After that I shutdown and restart my database instance.After that from application end it is working fine.Today I check the udump.There the .TRC file is telling..I am giving the details below.What can be the problem.It is not a deadlock.Then what type of error.Please explain me. Regards Arijit Chatterjee ================================================================== Dump file E:\Oracle\admin\heildb\udump\ORA02952.TRC Tue Jun 29 16:25:41 2004 ORACLE V8.1.7.0.0 - Production vsnsta=0 vsnsql=e vsnxtr=3 Windows 2000 Version 5.2 , CPU type 586 Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option JServer Release 8.1.7.0.0 - Production Windows 2000 Version 5.2 , CPU type 586 Instance name: heildb Redo thread mounted by this instance: 1 Oracle process number: 27 Windows thread id: 2952, image: ORACLE.EXE *** 2004-06-29 16:25:41.968 *** SESSION ID:(24.155) 2004-06-29 16:25:41.968 FATAL ERROR IN TWO-TASK SERVER: error = 12571 *** 2004-06-29 16:25:41.968 ksedmp: internal or fatal error Current SQL statement for this session: Insert into transaction2(Voucherkey,VoucherNo,DateField,Narration ) values(2,'',to_date('06/29/2004','MM-DD-YYYY'),'Cash Transferred ') ----- Call Stack Trace ----- calling ...

@@Error not catching error.
Hi all, I want to catch error in stored procedure and return error message. I want to catch error 'Syntax error converting the varchar value 'a' to a column of data type int.' Means error occuring if i enter wrong value. Say suppose i have statment like select * from emp where rowid = 'a' PRINT @@ERROR print 'reach' here rowid is integer value so i am getting above mention error. So what i am expecting is it should print error and then print 'reach' which is not happening. can anyone tell me reason behind this and how to overcome this problem. thanks in advance. (trialproduct2004@yahoo.com) writes: > I want to catch error in stored procedure and return error message. > I want to catch error 'Syntax error converting the varchar value 'a' > to a column of data type int.' Means error occuring if i enter wrong > value. > > Say suppose i have statment like > > select * from emp where rowid = 'a' > PRINT @@ERROR > print 'reach' > > here rowid is integer value so i am getting above mention error. > > So what i am expecting is it should print error and then print 'reach' > which is not happening. > can anyone tell me reason behind this and how to overcome this > problem. If you are on SQL 2005, you need to use TRY-CATCH. If you are using SQL 2000, you first need to upgrade to SQL 2005. In SQL 2000 you cannot detect this error, because the e...

error C2197 error
Hello I am getting this error: error C2197: 'long (__stdcall *)(void)' : too many actual parameters Error executing cl.exe. The offending line is: if ((lResult = (*pfnGetProviderList)(0x00020000, pProviderList)) != 0) // this one { goto ProviderInstall_freeProviderList; } I am converting this C code into C++. Is the problem that compiler does not understand the parameters required for pfnGetProviderList? How can I fix? Angus wrote: > Hello > > I am getting this error: > > error C2197: 'long (__stdcall *)(void)' : too many actual parameters > Error executing cl.exe. > > The offending line is: > > if ((lResult = (*pfnGetProviderList)(0x00020000, > pProviderList)) != 0) // this one > { > goto ProviderInstall_freeProviderList; > } > > I am converting this C code into C++. Is the problem that compiler > does not understand the parameters required for pfnGetProviderList? > How can I fix? Specific implementations and their diagnostics are off-topic for this group, but see the following link: <http://support.microsoft.com/kb/117428> Angus wrote, On 14/02/07 17:41: > Hello > > I am getting this error: > > error C2197: 'long (__stdcall *)(void)' : too many actual parameters > Error executing cl.exe. This error message says the function does not take any parameters. > The offending line is: >...

For the lif of me I CANNOT find the error cause!....[php parsing error]
Thankyou for any time you provide! Ill send you $ for a beer via paypal. Parse error: syntax error, unexpected ';' in /home/close/public_html/ external/index.php on line 18 is the error I get and this is the code: <?php session_start(); if(!empty($url)) { session_start(); session_unregister("exitLink"); session_register("exitLink"); $exitLink =3D $url; header("Location: /external/"); exit; } if(empty($url) &&!empty($exitLink)) { session_start(); echo?> <html> <head> <title>Find4Close.com External Viewer</title> <script type=3D"text/javascript"> top.window.moveTo(0,0); if (document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight); } else if (document.layers=A6=A6document.getElementById) { if (top.window.outerHeight<screen.availHeight=A6=A6top.window.outerWidth<scree= n=2EavailWidth) { top.window.outerHeight =3D screen.availHeight; top.window.outerWidth =3D screen.availWidth; } } </script> </head> <body style=3D"background-color: #FFFFFF; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" oncontextmenu=3D"return false;"> <table width=3D"100%" style=3D"height: 100%" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" align=3D"center"> <tr onClick=3D"javascript:window.close();" onMouseOver=3D"this.style.backgroundColor=3D...

error with ERROR function
Hi all, I'm getting an error when I use the "error" function. Here is the error message: ---------------------------------------- ??? Index exceeds matrix dimensions. Error in ==> C:\MATLAB6p5p1\mese\user_functions\ssave.m On line 765 ==> error('ERROR e43: Initial Operating Point file cannot be found'); ---------------------------------------- What matrix is it refering to? thanks, SK "Saif K" <buckeyeforever2001@yahoo.com> wrote in message news:eee53de.-1@webx.raydaftYaTP... > Hi all, > > I'm getting an error when I use the "error" function. > > Here is the error message: > > ---------------------------------------- > ??? Index exceeds matrix dimensions. > > Error in ==> C:\MATLAB6p5p1\mese\user_functions\ssave.m > On line 765 ==> error('ERROR e43: Initial Operating > Point file cannot be found'); > ---------------------------------------- > > What matrix is it refering to? Set a breakpoint on line 765 of ssave (click on the line next to the line number in the MATLAB Editor.) When MATLAB pauses execution on that line and shows the debug prompt (K>>) check your workspace. You likely have a matrix named error that is being used instead of the error function and that matrix has fewer than 117 elements (the ASCII code for 'u', the last character in your string in ASCII code order). -- Steve Lord slord@mathworks.com ...

error: error sending
Hi, I hope somebody can help me. For sending mail I configured alpine with the following line: smtp.web.de/tls/user=xxxxxxx@web.de . But every time I tried the message "error sending" occured. To figure out more details I added the parameter debug, but there was no file .pine-debug. After reading the manual I tried: alpine -d 5 and got the message: Argument Error: unknown flag "d", debugging not compiled in Before downloading the source and compile it by my self, I thought I should ask you guys for help. My pine version: alpine-2.00-5.fc11.i586 Best regards Chris...

SQL Errors: Where is the error?
I have just finished -- I hope I have finished -- some changes to one program of mine that has some hairy SQL. One of the SQL statments is 40 lines long. Granted it could be shorter vertically, but it is still 852 characters long. Occasionally -- read "All too often" -- while wrestling with this program, there would be an error in my SQL syntax. VFP is not terribly helpful with such error messages as Syntax error. Command is missing required clause. These are not terribly useful. Sometimes, I have hunted for minutes before realising that...

[CGI] Basic newbie error or server configuration error?
Hello Apache fails running this basic CGI script that I found on the Net: www.acme.com/cgi-bin/test.py?name=myname =========== #!/usr/bin/env python # Import modules for CGI handling import cgi, cgitb cgitb.enable() # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from field 'name' #name = form['name'].value name = form.getvalue('name') =========== This is what I get: =========== "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Addi...

error in, error out clusters.
Dear all, &nbsp; I am new user for Labview software. I try to create a Visa Configuration Serial Port but, the error occurred, message&nbsp;as: &nbsp; "You have two or more cluster data types wired together, but the clusters have different kinds or numbers of elements.Cluster Cluster 2, a cluster of 1 element, conflicts with cluster error in (no error), a cluster of 3 elements." &nbsp; My cluster include the function of: 1) boolean Properties 2) Numeric Properties 3) String Properties &nbsp; Q:&nbsp;how to create these 3 function in&nbsp;cluster? ...

Error upon Error...
anyone seen this error before: > Can't load '/usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl' for module DB_File: No such file or directory at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/XSLoader.pm line 83. > at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DB_File.pm line 236 I'm just trying to run this script: #!/usr/bin/perl -w use strict; use DB_File; print "Hello World!\n" all three of the files exist on the system....why is it saying this. (there are a few scripts that I have that want to use DB_File and they all say this.... that's why I j...

Error 500: ERROR: Cannot forward. Writer or Stream already obtained.
hi i m unable to fugure out y I m getting this error it's a suggestion page and on submitting this page I have to reload the page but with status of the page (requires approval) in form of url earlier say few days back , it was working fine , i had absolutely no issues in this since 2-3 days everytime i submit the page , i m getting the error Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error 500 my code is listed below pls help <%@ include file=3D"../includes/sessionChecker.jsp"%> <%@ page isThreadSafe=3D"false" errorPage=...

keep gettting errors using Sequel ODBC::Error: 37000 (170) [Microsoft][ODBC SQL Server Driv er][SQL Server]Line 1: Incorrect syntax near '1'.
i am trying to connect to MSSQL server from xP i have the following problem for any sql. pl help ODBC::Error: 37000 (170) [Microsoft][ODBC SQL Server Driv er][SQL Server]Line 1: Incorrect syntax near '1'. D:\Documents and Settings\>irb irb(main):001:0> require 'odbc' => true irb(main):002:0> require 'Sequel' => true <c('LPM', :user=>'resum', :password=>'ms_0416') => #<Sequel::ODBC::Database: "odbc:resum:ms_04166@/LPM"> irb(main):004:0> require 'rubygems' => false irb(main):005:0> a...

Error: An error occurred while shelling out to mbuild (error code = 1).
Hi! I'm trying to create an exe file from my GUI, so that the GUI can be run on computers not having MATLAB. I'm using MATLAB 7.9.0(R2009b) and the Compiler version is 4.11(R2009b). I receive the following error message when using deploytool: mkdir 'C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy\distrib' Warning: Directory already exists. mkdir 'C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy\src' Warning: Directory already exists. mcc -F C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy.prj mcc -o 'test_deploy' -W 'WinMain:test_deploy' -d 'C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy\src' -T 'link:exe' -v 'C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy.m' Compiler version: 4.11 (R2009b) Processing include files... 2 item(s) added. Processing directories installed with MCR... The file C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy\src\mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 2 item(s) added. Generating MATLAB path for the compiled application... Created 40 path items. Begin validation of MEX files: Wed Sep 08 17:59:41 2010 End validation of MEX files: Wed Sep 08 17:59:41 2010 Parsing file "C:\Documents and Settings\Paulo\Meus documentos\MATLAB\test_deploy.m" (Referenced from: "Compiler Command Line"). Pars...

Error Number 3000: Reserved Error (-3002); there is no message for this error
Help... I've been moving code about to tidy it up and this error is occuring. I have tracked it down to a set querydef command, i have properly specified a database and am using correct syntax for the set command but this error is popping up. Any ideas why? Please help....... Rob. Try to decompile the database (command-line switch /decompile) dkintheuk wrote: > Help... > > I've been moving code about to tidy it up and this error is occuring. > > I have tracked it down to a set querydef command, i have properly > specified a database and am using correct syntax for the set command > but this error is popping up. > > Any ideas why? > > Please help....... > > Rob. > -- Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html Er... gonna sound dumb now but how do I do that? Thanks. Ok... found out how... easy really. Unfortunately, there is no change in the behaviour of the code. Argh! Still could use some help here... I've now decomplied... Then i exported all code... Then i compacted and repaired the db Then i reimported all the code Then i compacted and repaired again It still doesn't want to work! Ok... here it is - i was being thick (no surprise there). I had a problem in my SQL in that the SQL was designed to do a TRANSFORM to create a nice crosstab query. I later added an INTO command to the SQL to get the output into a temp table. This is not allowed for TRANSFORM queri...

php and PDO Error HTTP 500
I get this http error 500 within a page when i want to connect to a postgresql database. This database is working well in command line ($ psql ...) Although i got an error message using the php script : yt@D620 /home/yt/Sites/yt_tests $ php index.php PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[08006] [7] server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.' in /home/yt/Sites/yt_tests/index.php:75 Stack trace: #0 /home/yt/Sites/yt_tests/index.php(75): PDO->__construct('pgsql:dbname=yt...', 'yt', 'yvon5533') #1 {main} thrown in /home/yt/Sites/yt_tests/index.php on line 75 zsh: exit 255 php index.php line 75 being : $db = new PDO("pgsql:dbname=$dbname;host=$host;", $username, $password ); i do not got any php error when connecting thru a browser. everything is installed for PDO / PostgreSQL following my info.php page : Additional .ini files parsed /etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_pgsql.ini, /etc/php5/apache2/conf.d/pgsql.ini, /etc/php5/apache2/conf.d/xsl.ini PDO PDO support enabled PDO drivers pgsql pdo_pgsql PDO Driver for PostgreSQL enabled PostgreSQL(libpq) Version 9.1.5 Module version 1.0.2 Revision $Id: pdo_pgsql.c 321634 2012-01-01 13:15:04Z felipe $ pgsql ...

error 500 and download php file
Hello for somereason when i execute php files in folder other than the document root, i get error 500 and the php file is downloaded to my browser with the 500 error code. I think it could be related to my modules. or my folder options LoadModule perl_module modules/mod_perl.so LoadModule cgi_module modules/mod_cgi.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule alias_module modules/mod_alias.so #LoadModule python_module modules/mod_python.so LoadModule php5_module modules/libphp5.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule userdir_module modules/mod_userdir.so LoadModule dir_module modules/mod_dir.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule log_config_module modules/mod_log_config.so LoadModule ssl_module modules/mod_ssl.so LoadModule setenvif_module modules/mod_setenvif.so ScriptAlias /testscript "/usr/local/test/public/testscript" <Directory "/usr/local/test/public/testscript"> Options Indexes FollowSymLinks MultiViews Includes +ExecCGI AllowOverride ALL Order allow,deny Allow from all Options +ExecCGI </Directory> got it i had scriptalias instead of alias jcharth@hotmail.com wrote: > Hello for somereason when i execute php files in folder other than the > document root, i get error 5...

500 server error as a lot of others...
Hello, I'm not able to run CGI, perl scripts on my machine and it drives me crazy! I've Redhat 9 with Apache 2 I tried to install the hamweather script, it failed with the 500 error. So I ask the dev guy to write a test.cgi and test it. The script just print "hello" It run fine on his machine but fails here with the too famous 500 error and a nice 'Premature end of script' in the apache log file. I talked to a lot of people who always the same things but don't have a clue: - ASCII upload: done - saved as unix file: done - CHMOD 755: done - Path...

Web resources about - Error 500 - Internal Server Error - comp.lang.php

Empire of Japan (internal politics 1914–1944) - Wikipedia, the free encyclopedia
Since the Meiji period, Japan had been a nominal constitutional monarchy , but the name did not obscure the fact that Japan’s form of government ...

Damaging internal ructions persist in Turnbull government following leadership coup, new book reveals ...
Tony Abbott has ignored repeated peace offerings by senior colleagues since his downfall as leader, a new book reveals.

Damaging internal ructions persist in Turnbull government following leadership coup, new book reveals ...
Tony Abbott has ignored repeated peace offerings by senior colleagues since his downfall as leader, a new book reveals.

WPP Internal Memo: We 'Found Nothing 'To Substantiate Charges Against Gustavo Martinez
WPP has not wasted much time reassuring employees about the charges levied in a lawsuit against JWT chief executive Gustavo Martinez. The holding ...

Oracle rolls out new sales program: internal email - Business Insider Deutschland
A new sales program that could ease some of Oracle's customers frustration with Oracle.

Internal Data Offers Glimpse At Uber Sex Assault Complaints
BuzzFeed News obtains internal data on rapes and sexual assaults lodged via Uber's customer service system, as the company attempts to find the ...

Review: Samsung's business card-sized, 2TB SSD nears internal drive speeds
As much as I work with SSDs, it still surprises me when I open a box and see an external drive that fits neatly into the palm of my hand and ...

Internal Watchdog Report Unveils ‘Missteps’ Behind Disastrous Obamacare Website
'We found that HHS and CMS made many missteps throughout development and implementation that led to the poor launch'

Should Managers Get To Approve Internal Transfers?
Rhoda the HR Manager is new in her job. She wants to open up the internal transfer process so that employees can apply for internal jobs without ...

Trial raises questions about Baltimore cops, internal probes
Trial raises questions about Baltimore cops, internal probes

Resources last updated: 3/24/2016 12:59:49 AM