HTTP error 0 testing not serving php pages please help

Hello everyone,
I am using DWCS3, the free version of MAMP on my MacBook Pro Leopard 10.5.6.
I have built a customer registration form with a Transitional <!DOCTYPE>. I have been following the instructions from The Essential Guide to Dreamweaver CS3, using a wizard to build a registration form, in chapter 15.
When I try to preview the form in the web browser, I get a white screen.
When I click the live data button I get an; HTTP error 0 message occured while attempting to request the file http://localhost:8888/mywebsite/page_S9INUKZB.php from the testing server.
possible reasons:
1. Files in MacHD/Applications/MAMP/htdocs/mywebsite with .php extension are not being executed by the testing server.
2. The MacHD/Applications/MAMP/htdocs/mywebsite does not map to http://localhost:8888/mywebsite URL on the testing server.
I've gone over the site definitions several times and have configured MAMP differently twice, using ports 80 and 3306 and also 8888 and 8889. The same problem has happened in both instances here is my site definition info:
Local info:
Site name: mywebsite
Local root folder: MacHD:Users:myname:Desktop:mywebsite
links relative to document: http://localhost/
Remote info:
Access: Local/Network
Remote folder: MacHD:Applications:MAMP:htdocs:mywebsite
Testing server:
Server model: PHP/MySQL
Access: Local/Network
Testing server folder: MacHD:Applications:MAMP:htdocs
URL prefix: http://localhost:8888/mywebsite/
Web sharing is turned off.
Dreamweaver/Preferences/Preview in browser/preview using temporary files is turned off, yet in my HTTP error 0 message there is a string of characters after the page name, suggesting that dreamweaver is using temporary files.
I have attached a compressed copy of the customer registration form maybe the problem is the page. I have gone round and round in circles with this and I can't seem to sort it out can somebody please help me.
Thankyou.

Hello David,
Thanks for getting back to me, sorry for the late reply, I've been away for a few days.
I have done what you suggested, and altered the links relative to document: http://localhost:8888/mywebsite/
I have also restarted dreamweaver and mamp.
Nothing has changed when I try to view the page through the browser I get a white screen and the HTTP error 0 is still displaying, With the same message as before.
I have since created a new form, connected it to my user table, and populated the table with info, and that worked.
I then added the php validating code as suggested in chapter 15, pages 481 through to 485. I've also checked the code against your example page register_user_03.php.
However when I put the page on the testing server and try to view it, all I get is a white screen, and an HTTP error 0 the testing server is not executing pages with a .php extension. Or the URL prefix isn't mapped properly.
I have also checked all my settings in MAMP and left a question on the forum but they haven't answered.
Is there a setting or connection that I need to enable in Apache? I'm stumped.
I'm hoping you might have some tricks up your sleeve.
Thanks

Similar Messages

  • TS3682 i plug in my iphone 4 and i loss all contact... i try to backup restore but its error say not enough space.  please help me. i want only my contact backup restore not everything. so i dont know how can i do ?

    i plug in my iphone 4 and i loss all contact... i try to backup restore but its error say not enough space.  please help me. i want only my contact backup restore not everything. so i dont know how can i do ?

    Try to connect in recovery mode to restore, without using the latest backup, explained here:
    iOS: Unable to update or restore

  • Incorrect syntax errors in sql server function. Please help.

    This is my sql server function:
    create function dbo.CleanTheStringAdv (@theString nvar
    char(500), @CleanMode as int) 
    returns nvarchar(500)  
    begin  
    --define variables
    declare @strAlphaNumeric nvarchar(500)  
    declare @i int
    declare @strChar nvarchar(500)
    declare @CleanedString nvarchar(500)
    --initiate values
    set @CleanedString =''  
    set @theString = @theString + ''
    SET @i = 1
    --Determine if we are looking for numeric values only or numbers and letters
    return case @CleanMode
       WHEN 1
       THEN @strAlphaNumeric = '0123456789'
       WHEN 2
       THEN @strAlphaNumeric = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
       WHEN 3
       THEN @strAlphaNumeric = '|0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
       else 0
     end 
    --Search through chars in the string passed to the function
        while (@i <= Len(@theString))
    begin
    @strChar = substring(@theString, @i, 1)
    If (charindex(@strAlphaNumeric, @strChar) <>0)
    --if the current char being reviewed is valid then add it to the new string
    begin
    @CleanedString = @CleanedString + @strChar
    end
    end
    return @CleanedString
    and below are the syntax errors I see when I press F5:
    Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 24
    Incorrect syntax near '='.
    Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 39
    Incorrect syntax near '@strChar'.
    Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 43
    Incorrect syntax near '@CleanedString'.
    Any help is highly appreciated.....

    Here is the full code for the function:
    create function dbo.CleanTheStringAdv (@theString nvarchar(500), @CleanMode as int)
    returns nvarchar(500)
    as
    begin
    --define variables
    declare @strAlphaNumeric nvarchar(500)
    declare @i int
    declare @strChar nvarchar(500)
    declare @CleanedString nvarchar(500)
    --initiate values
    set @CleanedString =''
    set @theString = @theString + ''
    SET @i = 1
    --Determine if we are looking for numeric values only or numbers and letters
    SET @strAlphaNumeric = case @CleanMode
    WHEN 1
    THEN '0123456789'
    WHEN 2
    THEN '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
    WHEN 3
    THEN '|0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
    else 0
    end
    --Search through chars in the string passed to the function
    while (@i <= Len(@theString))
    begin
    set @strChar = substring(@theString, @i, 1);
    If (charindex(@strAlphaNumeric, @strChar) <>0) --if the current char being reviewed is valid then add it to the new string
    begin
    SET @CleanedString = @CleanedString + @strChar;
    end
    END
    return @CleanedString;
    END

  • Content Server error on LINUX (HTTP error: 404 Not Found)

    Hi All,
    While checking the status of content sever by using the T-code CSADMIN I am getting the following error message.
    <b>***********************************************************
    Error : - HTTP error: 404 Not Found
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    404 Not Found
    *************************************************************</b>
    I have done the installation of Content server 640 on Red Hat Linux / MaxDB.
    Moreover I am using the following connection data in CSADMIN.
    HTTP server :- 80.0.0.205
    Port Number:- 1090
    HTTP Script :- ContentServer/ContentServer.dll
    Version no. :- 0046
    Please help me.
    Thanks ,
    Harshal

    Hi Dagmar,
    The HTTP services are working fine. But i m not able to reach the content server url can u help on this?
    Please find the http trace file
    ERROR => PlugInHandleServData: HttpParseRequestHeader failed (rc=701) [http_plg.c   3258]
    ERROR => IcmHandleNetWrite(id=3/4782): HandleServData failed (rc=701) [icxxthrio.c  1833]
    The error i am getting in Content server url is
    Server Error
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  • I am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page

    i am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page. so i have already tried recovery mode as well.

    Contact Apple support for warranty service.

  • Crystal Report Viewer Error: Could not render the page

    Hi,
    I was facing the same issues whereby i creating my crystal report in VS2005 profesional built in crystal report designer. When preview in VS2005 the graph displayed correctly. However, when export to IIS it shows the error could not render the page.
    I am using Windows 2008 server, IIS7.
    I tried to install the CRREDIST x86.msi into my server, however it still could not show out the graph (pie chart) in the localhost.
    Appreciated anyone know this could kindly advice.
    thanks.
    ck

    Hello,
    Crystal Reports 10 is not supported on Windows 2008 Server.
    Please view the information [here|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Upgrade the Crystal Reports.
    Thanks,
    Bhushan.

  • HTTP error: could not POST file in XMl spy

    Hello Experts,
      Scenario is : Soap -> XI -> R3 (Proxy).
    I have created a WSDL using the url as :
    http://pfodx100.xyz.dk:52000/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC
    (I have replaced here actual domain with xyz, also renamed CC, etc. But format for URL used is same as that shown above)
    when checked in XMLSPY, WSDL is valid.
    On sending a soap request to Server from XML spy i get error as :
    HTTP error: could not POST
    '/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC&amp;version=3.0&amp;Sender.Service=BS_MobileAp&amp;Interface=+http%3A%2F%2Fxyz.dk%2Fmobiletimereg%2Fxyz%5EOutboundInterface_Async" on server 'pfodx100.xyz.dk'
    On testing this URL via Internet Explorer, first I get a warning :
    "There is a problem with this website's security certificate"
    If I select "Continue to this website (not recommended). "
    IE prompts for : User name and PWD. On Entering uname and passward, i get the message as :
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_15_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    Please sugest.
    Regards,
    XI Queries.

    Hi,
    Just try this:
    Replace
    <m:ZPSA_CAT2_DATA_MT xmlns:m="http://kmd.dk/mobiletimereg/kmd">
                                     <PERSONAL_ID>12345</PERSONAL_ID>
                                     <DEVICE_TYPE>adff</DEVICE_TYPE>
                                     <PROFILE>UDF</PROFILE>
                                     <RELEASE_DATE>190909</RELEASE_DATE>
                                     <AGENT_OTYPE>String</AGENT_OTYPE>
                                     <AGENT_OBJID>String</AGENT_OBJID>
                                     <TEXT_FORMAT_IMP>String</TEXT_FORMAT_IMP>
                                     <I_CATSRECORDS>
                                                <WORKDATE>String</WORKDATE>
                                                <EMPLOYEENUMBER>String</EMPLOYEENUMBER>
                                                <SEND_CCTR>String</SEND_CCTR>
                                                <SENBUSPROC>String</SENBUSPROC>
                                                <ACTTYPE>String</ACTTYPE>
                                                <PO_NUMBER>String</PO_NUMBER>
                                                <PO_ITEM>String</PO_ITEM>
                                                <SERVICE>String</SERVICE>
                                                <REC_CCTR>String</REC_CCTR>
                                                <REC_ORDER>String</REC_ORDER>
                                                <NETWORK>String</NETWORK>
                                                <ACTIVITY>String</ACTIVITY>
                                                <SUB_ACTIVITY>String</SUB_ACTIVITY>
                                                <CAPA_CATEGORY>String</CAPA_CATEGORY>
                                                <SPLIT>String</SPLIT>
                                                <WORK_CNTR>String</WORK_CNTR>
                                                <WBS_ELEMENT>String</WBS_ELEMENT>
                                                <RECSALEORD>String</RECSALEORD>
                                                <RECITEM>String</RECITEM>
                                                <RECCOSTOBJ>String</RECCOSTOBJ>
                                                <RECBUSPROC>String</RECBUSPROC>
                                                <ABS_ATT_TYPE>String</ABS_ATT_TYPE>
                                                <WAGETYPE>String</WAGETYPE>
                                                <TRIPNO>String</TRIPNO>
                                                <OT_COMP_TYPE>String</OT_COMP_TYPE>
                                                <WORKTAXAREA>String</WORKTAXAREA>
                                                <VALUATION_BASIS>String</VALUATION_BASIS>
                                                <CURRENCY>String</CURRENCY>
                                                <CURRENCY_ISO>String</CURRENCY_ISO>
                                                <EXTRA_PAY_INDIC>String</EXTRA_PAY_INDIC>
                                                <PAYSCALEGROUP>String</PAYSCALEGROUP>
                                                <PAYSCALELEVEL>String</PAYSCALELEVEL>
                                                <BONUSTYPA>String</BONUSTYPA>
                                                <BONUSVALUE>String</BONUSVALUE>
                                                <POSITION>String</POSITION>
                                                <CO_AREA>String</CO_AREA>
                                                <TRANS_CURR>String</TRANS_CURR>
                                                <TRANS_CURR_ISO>String</TRANS_CURR_ISO>
                                                <PRICE>String</PRICE>
                                                <PLANT>String</PLANT>
                                                <CALC_MOTIVE>String</CALC_MOTIVE>
                                                <CATSHOURS>String</CATSHOURS>
                                                <UNIT>String</UNIT>
                                                <ISOCODE_UNIT>String</ISOCODE_UNIT>
                                                <STARTTIME>String</STARTTIME>
                                                <ENDTIME>String</ENDTIME>
                                                <PREVIOUS_DAY>String</PREVIOUS_DAY>
                                                <ALL_DAY_FLAG>String</ALL_DAY_FLAG>
                                                <REM_WORK>String</REM_WORK>
                                                <FCST_FIN_DATE>String</FCST_FIN_DATE>
                                                <FIN_CONF>String</FIN_CONF>
                                                <SHORTTEXT>String</SHORTTEXT>
                                                <PART_CONF>String</PART_CONF>
                                                <EXTSYSTEM>String</EXTSYSTEM>
                                                <EXTAPPLICATION>0</EXTAPPLICATION>
                                                <EXTDOCUMENTNO>String</EXTDOCUMENTNO>
                                                <STATKEYFIG>String</STATKEYFIG>
                                                <QUANTITY>String</QUANTITY>
                                                <UNITQ>String</UNITQ>
                                                <ISO_UNITQ>String</ISO_UNITQ>
                                                <AMOUNT>String</AMOUNT>
                                                <LONGTEXT>String</LONGTEXT>
                                                <FUND>String</FUND>
                                                <FUNC_AREA>String</FUNC_AREA>
                                                <GRANT_NBR>String</GRANT_NBR>
                                                <SEND_FUND>String</SEND_FUND>
                                                <SEND_FUNCTION>String</SEND_FUNCTION>
                                                <SEND_GRANT>String</SEND_GRANT>
                                                <CPR_GUID>String</CPR_GUID>
                                                <CPR_EXTID>String</CPR_EXTID>
                                                <CPR_OBJGUID>String</CPR_OBJGUID>
                                                <CPR_OBJGEXTID>String</CPR_OBJGEXTID>
                                                <CPR_OBJTYPE>String</CPR_OBJTYPE>
                                     </I_CATSRECORDS>
                                     <I_EXTENSION>
                                                <ROW>String</ROW>
                                                <ZZLOEBENUMMER>String</ZZLOEBENUMMER>
                                                <ZZLTXA1>String</ZZLTXA1>
                                                <ZZFRAVAERSTYPE>String</ZZFRAVAERSTYPE>
                                                <ZZKTEXT>String</ZZKTEXT>
                                                <ZZFRAVAERSTYPE2>String</ZZFRAVAERSTYPE2>
                                                <ZZTIMETYPE>String</ZZTIMETYPE>
                                                <ZZKZTXT>String</ZZKZTXT>
                                                <ZZ_EXT_GUID>String</ZZ_EXT_GUID>
                                     </I_EXTENSION>
                                     <I_WORKFLOW_TEXT>
                                                <LINE>String</LINE>
                                     </I_WORKFLOW_TEXT>
                                     <I_LONGTEXT>
                                                <ROW>String</ROW>
                                                <FORMAT_COL>String</FORMAT_COL>
                                                <TEXT_LINE>String</TEXT_LINE>
                                     </I_LONGTEXT>
                                     <KOMMUNEKODE>String</KOMMUNEKODE>
                          </m:ZPSA_CAT2_DATA_MT>
    with the structure taken from the Source of test tab. Also try putting some values in the nodes.
    But i think this is some basis problem. Please do consult with the basis too.
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 18, 2009 7:52 AM

  • HTTP error: 500 (Internal Server Error) while creating content server repst

    Hi All,
    I am getting the HTTP error as mentioned below,
    HTTP error: 500 (Internal Server Error)"CreateTab ContentStorage, connect error SQLConnect failed, [Microsoft][ODBC Driver
    Manager] Data s
    My content server is running on a Microsoft Cluster Environment.
    I tried to follow the steps in the SAP note 301352.
    Please help me in registering the LiveCache ODBC driver.
    When i excute the the odbcreg.exe file i get the foll,
    E:\sapdb\programs\pgm>odbcreg.exe
    DriverName=MaxDB
    Driver=e:\sapdb\programs\pgm\sqlod32.dll
    Setup=e:\sapdb\programs\pgm\sqlsp32.dll
    Version=7.6.0.0
    Please help me in registering the Livecache ODBC driver.
    Expecting your kind reply.
    Vineeth

    hi Vineeth Damodar 
    do it in command prompt.
    change the drive letter ...where u install the sapdb.
    D:\odbcreg LiveCache -i -p d:\sapdb\programs\pgm
    it will prompt that LIvecache is registred. Restart the server.
    then check in control panel...
    The LiveCache ODBC driver should then be registered in the Control Panel -> ODBC Drivers -> Driver tab
    -- Lee
    rewared points .. if it helpful for u....

  • HTTP error 500: Internal server error: In OAC0 tcode - CS Admin button.

    Hi,
    In our ecc system, when I go to OAC0 TCode and click the button CS Admin, it does open the page "Content Server administration" but on the bottom bar I always see error "HTTP error 500: Internal server error".
    I want to know if this is normal. We have setup archiving a few years back.
    The Archive database is Filenet system and using websphere web server.
    Thanks.

    Thanks you But ys, the backend archive server (in this case Filenet along with Websphere) is up and running all the time.
    How do I check content repository connection?? is it in OAC0? If yes then we did it and it works fine.
    We have also resent the certificate from OAC0 and it got imported at their end too. Yes our SAP system got refreshed but after that we created new entry in strustsso2 and exchanged the certificate. But till date I have always seen HTTP 500 on the "Content Server administration", enen on production server. Not sure if this is normal.
    Apart from this, on non production systems we are unable to perform any kind of archiving too. We get HTTP500 whenever we run a Store Job.
    Regards,

  • HTTP error: could not POST file

    Hi experts,
    I am working with scenario: WS <-soap-> XI <-rfc-> R3.
    I have created all the stuff in IR, ID, define my WSDL and tested it with Altova, and everything works ok!.
    However, if i use https and 50001 instead of http and 50000 (from the URL), i get following error:
    <i>HTTP error: could not POST file
    Error sending SOAP request</i>
    I have checked that 50001 service is active and i can reach:
    https://<hostname>:<50001>/XISOAPAdapter/MessageServlet?
    Can you guys tell me if i have missed any step in my configuration or in the java visual admin to let this work?
    Please, help me out.
    Best regards,
    david

    Hi David,
    Check if these threads can help you,
    SOAP-Web Service Error
    /community [original link is broken]://Payload of SOAP-Message cannot be read
    Error while calling webservice created in XI
    **Reward points if helpfull**

  • HTTP Error 500: Internal Server Error

    When going to webmail.nc.rr.com I get HTTP Error 500: Internal Server Error. 

    Hello,
    This error is usually caused when people are on a BES (as opposed to BIS).
    The BES needs to be reconfigured to allow the Proxy to allow you access.
    The MDS needs to have configuration changes.
    Sometimes this is caused by your Blackberry server being an earlier version than 3.6. Upgrading to BES 3.6 or later will fix this issue (http://www.blackberry.com/btsc/KB02025).
    Alos, get your BES ADMin to refer to the following link and see the note at the bottomof the webpage:
    (Note: Incorrect or invalid encryption types within the krb5.conf file can result in HTTP 500 errors when attempting to browse to websites that require Kerberos authentication.)
    http://www.blackberry.com/btsc/KB15642
    Hope that helps!
    Checked out my Blackberry FAQ's and Links to Needed Articles here
    http://darkeen.homelinux.com/index.php/Blackberryfaq

  • HTTP error: 500 Internal Server Error  0

    Hi,
    I've upgraded a third party server.
    Everything was working fine before the upgrade.
    But now when I go to OAC0,
    if I do "test Connection" it is sucessful
    but when I send a certificate it says
    "HTTP error: 500 Internal Server Error  0"
    I've tried
    1. adding the server name in host file.
    2. tried configuring the R/3 systems
    3. configuring the R/3 gatways
    4. testing the connection from the archive server.
    everything is working fine.
    But still i get the error
    Pleae advice
    Edited by: Gautam Samant on Sep 18, 2008 12:29 PM

    Hi anirudh
    The details are :
    I'm trying to connec SAP R/3 to IXOS 9.6.1.
    The database used is MS SQL 2000 SP4.
    I've sucessfully configured the archive databse, archive server, everything.
    I've even updated the database to match with IXOS.
    The connection testing from both ends are working fine.
    But when i try to send a certificate from SAP to IXOS,
    its showing 500: internal server error.
    What might be the reason?
    Regards,
    Gautam
    Edited by: Gautam Samant on Sep 25, 2008 2:33 PM

  • I am having trouble dating to version 3.6.14. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    I am having trouble dating to version 3.6.14 or updating to the Beta testing. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    Solved for me.
    I set the owner/permissions of my profile's mozilla folder's (and all the files in it) to read/write access, and the problem disappeared.
    in linux:''
    * cd /home/myusername/.mozilla
    * chown -cR myusername:mygroup ./
    * chmod -cR +rw ./
    '''Never do that with root privs (nor with sudo)'''

  • HT3743 my iphone 4 i bought was jailbroken to ios 6.0.1 redsn0w but i tried to restore the iphone and now it keeps saying connect to itunes but when i connect and try to restore an "unknown error" occurs and it will not boot up whatsoever. please help!

    my iphone 4 i bought was jailbroken to ios 6.0.1 redsn0w but i tried to restore the iphone and now it keeps saying connect to itunes but when i connect and try to restore an "unknown error" occurs and it will not boot up whatsoever. please help!

    If you want to solve your problems, unjailbreak. And don't do it again, because jailbreaking causes problems as you read about in that article. You can try Recovery Mode: http://support.apple.com/kb/HT1808

  • HT201210 My iPhone has crashed and i went to iTunes to restore it and after waiting for it to be restored it said "The iPhone could not be restored. An unknown error occurred (2006). Can anybody please help suggest what i should do now?

    My iPhone has crashed and i went to iTunes to restore it and after waiting for it to be restored it said "The iPhone could not be restored. An unknown error occurred (2006). Can anybody please help suggest what i should do now?

    This error normally appears if you attempted to downgrade or modify your iOS. See here http://support.apple.com/kb/TS3694#error1015

Maybe you are looking for