I am using buildroot to build an image and put it on a switch. I messed around for a day and it all worked. I rebuilt the image and I enabled lighttpd/soap/php by default but I get an error when I try to run the web interface. A normal php test file works find. I had this web interface working fine, I know the code is fine. So it is a configuration issue.
Here is the error I receive:
Warning: SoapClient::SoapClient([url]http://127.0.0.1:18083/SoftCoreSOAP.wsdl[/url]) [soapclient.soapclient]: failed to open stream: Connection refused in /jffs2/usbflash0/ran/www/includes/library.php on line 35
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://127.0.0.1:18083/SoftCoreSOAP.wsdl" in /jffs2/usbflash0/ran/www/includes/library.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /jffs2/usbflash0/ran/www/includes/library.php:35) in /jffs2/usbflash0/ran/www/includes/library.php on line 45
Fatal error: Call to a member function __soapCall() on a non-object in /jffs2/usbflash0/ran/www/includes/library.php on line 71
Configuration from php.info:
'./configure' '--target=arm-linux' '--host=arm-linux' '--build=i686-pc-linux-gnu' '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--disable-gtk-doc' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-all' '--without-pear' '--with-config-file-path=/etc' '--localstatedir=/var' '--enable-soap' '--enable-simplexml' '--disable-cli' '--enable-cgi' '--enable-fastcgi' '--enable-sockets' '--enable-posix' '--enable-spl' '--enable-session' '--with-openssl=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr' '--enable-libxml' '--with-libxml-dir=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-zlib=/home/buildmaster/svn_main_vm/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr'
Here is an error log:
(mod_fastcgi.c.2605) FastCGI-stderr: ---------Filename: 127.0.0.1:18083/SoftCo
reSOAP.wsdl
(mod_fastcgi.c.2605) FastCGI-stderr: NULL client
Here is the full php.info
https://www.dropbox.com/s/jxjdh6g2wc9eb04/Untitled%20Document.htm
If I go to my server I can see the wsdl code on port 80, but not the port in the error 18083.
Changing the WSDL url to 80/SoftCoreSOAP.wsdl or configuring lighttpd so that it listens on 18083 jsut gives different issues and I know this was working a few days ago.
Any ideas on what I have not configured correctly?