404 errors running xampp on windows 7

Problems with the Windows version of XAMPP, questions, comments, and anything related.

404 errors running xampp on windows 7

Postby umbre gachoong » 07. November 2013 17:03

Hello:

I am running xampp on windows 7 using netbeans for a php project. I am attempting to modify an intranet form which uses the savant framework and sencha ext.js and app.js . I am trying to change the parameters of the form in order to test the modified form to send it to myself. It is using the swift framework for the email. I modified processForm.php like this:

case 'email':
require_once 'swift/swift_required.php';
// Create the message
$message = Swift_Message::newInstance()

// Give the message a subject
->setSubject('User Add/Change Form Submission')

// Set the From address with an associative array
->setFrom(array($post['me@myemail.com'] => $post['UserForm_liaisonName'])) //array('blah@blahblahblah.com' => 'Intranet UST Webform')

// Set the To addresses with an associative array
->setTo(array('me@myemail.com')) //test: 'xxxx@blahblahblah.com'

// Give it a body
->setBody($h2o->render($post), "text/html")

// And optionally an alternative body
//->addPart('<q>Here is the message itself</q>', 'text/html')
// Optionally add any attachments
->attach(Swift_Attachment::fromPath('cache/' . $data['id'] . '.html')->setFileName('User_Add_Change_Form.html'))
;


However, when I tested this I received several 404 error messages stating that the files could not be found even though the files were in the same directory as the form.

Here is the server dump:

Array
(
[ZendEnablerConfig] => /www/zendsvr/conf/fastcgi.conf
[PHPRC] => /usr/local/ZendSvr/etc/
[PHP_FCGI_CHILDREN] => 10
[PHP_FCGI_MAX_REQUESTS] => 0
[CCSID] => 819
[LANG] => C
[INSTALLATION_UID] => 20110830113344021416
[LDR_CNTRL] => MAXDATA=0x40000000
[LIBPATH] => /usr/local/ZendSvr/lib
[DB2NOEXITLIST] => TRUE
[FCGI_ROLE] => RESPONDER
[REDIRECT_UNIQUE_ID] => Bro4rQoBAxUAABHHdjMAABQg
[REDIRECT_REQUEST_METHOD] => GET
[REDIRECT_STATUS] => 404
[UNIQUE_ID] => Bro4rQoBAxUAABHHdjMAABQg
[QIBM_USE_DESCRIPTOR_STDIO] => Y
[HTTP_HOST] => intranet.blahblahblah.com
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0 FirePHP/0.7.4
[HTTP_ACCEPT] => text/css,*/*;q=0.1
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[REFERER] => http://localhost/intranet/htdocs/ust_forms/forms/User_Add_Change/index.html
[HTTP_REFERER] => http://localhost/intranet/htdocs/ust_forms/forms/User_Add_Change/index.html
[REFERER_URL] => http://localhost/intranet/htdocs/ust_forms/forms/User_Add_Change/index.html
[HTTP_COOKIE] => ZDEDebuggerPresent=php,phtml,php3
[HTTP_X_INSIGHT] => activate
[HTTP_CONNECTION] => keep-alive
[HTTP_CACHE_CONTROL] => max-age=0
[PATH] => /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[SERVER_NAME] => intranet.blahblahblah.com
[SERVER_ADDR] => xx.x.x.xx
[SERVER_PORT] => 80
[REMOTE_ADDR] => xx.x.x.xx
[DOCUMENT_ROOT] => /www/intranet/htdocs
[SERVER_ADMIN] => blah@blahblahblah.com
[SCRIPT_FILENAME] => /www/intranet/htdocs/404.php
[DOCUMENT_NAME] => /www/intranet/htdocs/404.php
[REMOTE_PORT] => 49645
[REDIRECT_URL] => /app.css
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /app.css
[SCRIPT_NAME] => /404.php
[DOCUMENT_URI] => /404.php
[RULE_FILE] => conf/httpd.conf
[PHP_SELF] => /404.php
[REQUEST_TIME] => 1383757997
)

the error messages gave me 404 errors on app.css , support.js, app.js and processForm.php, which are all in the same directory

Thanks in advance for your help.

Regards,
umbre gachoong
umbre gachoong
 
Posts: 6
Joined: 27. September 2013 17:36
Operating System: windows xp

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 167 guests