Jump to content

PHP Search Error


ColinHarbut

Recommended Posts

Can anybody tell me what to do to fix this problem?

http://www.jewellery-connection.com/search-jewelry/productSearch.php

 

I dont know much about PHP but really want and need this search function to work.  Thank you for your help.

 

Colin Harbut

http://www.colinharbut.com

Link to comment
https://forums.phpfreaks.com/topic/40133-php-search-error/
Share on other sites

Hello,

I found this information on another site that may help you out.

 

There is a place in the php.ini file where you load all the extensions you want to use. You need to add the SOAP extension there, something like:

 

extension=php_soap.dll

 

Also make sure the "extension_dir" line has the correct path to the extensions.

Example:

 

extension_dir = ".ext"

Link to comment
https://forums.phpfreaks.com/topic/40133-php-search-error/#findComment-194427
Share on other sites

Thank you for all your help.

Line 56 says:  $client = new SoapClient('productSearchService.wsdl', array('trace'=> true));

I dont think PHP5 is on the server but I am using a .htaccess file which now shows the search document as before it wouldn't even load.

 

I really dont know much about PHP so I took a php.ini file from here:

http://cvs.php.net/viewvc.cgi/php4.fubar/php.ini-recommended?revision=1.140

And I can see the extension_dir line you are referring to, but Im not exactly sure how to manipulate that file.

 

Can you please help me from here?  I'm PHP illiterate.  Maybe somebody out there can even find a second to do it for me? ;)

 

Where exactly do I put the PHP.ini file?  In the web site directory (jewellery-connection.com) or the directory above that where all my other unqiue my web site directories are located?

 

 

This is what my hosting comapny said about the issue. 

 

Hello,

This problem looks to be an authoring issue that we probably cannot help

with.

The "//This requires PHP 5"  line that is echoed to the browser is the

first line of the script, not an error message. It looks like it should be

commented out, but is not.

It is possible that the script is trying to load a feature not available in

our configuration. Specifically, the productSearchService.wsdl file.

You may be able to install and configure this manually, but we cannot offer

support for how to do that.

------

Thanks again for all your help,

Colin

Link to comment
https://forums.phpfreaks.com/topic/40133-php-search-error/#findComment-194606
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.