I have a testlink installation on one machine with MSSQL server at another machine. So, everything is working fine besides xmlrpc api.
I have already set 2 options
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enabled_test_automation = ENABLED;
in config.inc.php file, but can't using http://localhost/lib/api/xmlrpc/v1/xmlrpc.php.
I got HTTP ERROR 500 (Internal server error). I looked through the testlink forum and didn't find more options to configure the connection.
Could you please give me advice what it can be?
Update
Testlink version is 1.9.19
PHP version is 7.3.4
Apache version is 2.4.25
UPDATE
I have found the reason why the api doesn't work. The issue say that php:
PHP Fatal error call to undefined function mssql_get_last_message() in ../adodb-mssql.inc.php ..
Related
I am trying to install Magento 2.4 on my (Ubuntu) Linux environment. But it gives me the localhost is currently unable to handle this request error on the webpage.
I try to resolve by giving folder permission following this article magento2-folder-permission but nothing works. My old Magento 2 Projects of version (2.3<) works fine but I only face this issue at 2.4 version installation.
I tried to change the php.ini file memory_limit variable setting to 2G, but not get any result.
I tried to install it several times but every time I wind up with this error
Error occur when Website open
I can execute my php scrape file by typing in the address bar:
domain.com/scrape.php
However, I try to use cron job on my shared server on host gator by this command:
/usr/bin/php-cli public_html/scrape.php
I got this error message:
Fatal error: Call to undefined function GuzzleHttp\Handler\curl_reset() in /home4/username/public_html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 78
I already update my php version to stable 5.6 or even 5.7 version also same error. I think that it should not be php version error because I still can execute the file from browser right ?
Also I cannot reboot server Apache because hostgator support said they cannot reboot it until the server is totally down...
Any help please ! Thank you !
I ran into this problem last week on my own server. As it turned out, my browser was looking at one installation of PHP and cron was looking at a 2nd installation of PHP. One way to check is to run a PHP script through your browser that executes phpinfo(). That will tell you what the browser is running. Have cron do the same and save the results. Compare the two and make sure they're pointing to the same installation of PHP. Don't just check versions. Check install paths and loaded modules. Cheers.
I'm trying to get a site up and running on a VPS server running cpanel.
I've uploaded the site and configured to point at the public folder which appears to be working (or pointing to the right folder)
However I'm getting a 500 server error. In an error_log I'm getting this error:
[18-Aug-2016 21:44:09 UTC] PHP Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() in /home/spadsdrama/public_html/vendor/symfony/polyfill-mbstring/Mbstring.php on line 351
SO it looks like PHP is missing this function?
PHP version is 5.6
Laravel 5.2
Pulling out my hair to get this sorted
I had this site working correctly on a Plesk server but switched to a Cpanel one (might be regretting this now!)
What am I missing - what configuration is missing?
Thanks
You need to install http://php.net/manual/en/book.iconv.php PHP extension for this function support. You can do this from ISP-manager of VPS, if it exists, or with SSH console server.
We recently upgraded our test server from PHP 5.5.* to 5.6.8. I had to fiddle with the php.ini file to get things working again but I cant get my SOAP calls to work properly. The call seems to happen but I get a "can't connect to host" error.
I then copied the contents of the 5.5.* php.ini file and I still get the error. I then reverted back to the old version and the SOAP works again. I tried replacing the soap DLL from 5.5.* with 5.6.8 and that totally broke.
Ive triple checked my php.ini SOAP settings and everything is perfect. Im at a total loss as to what is causing this problem? Is it possible there is another dependancy that is needed in 5.6.8?
The problem with the above was the SSL certificate. We are working on a staging environment on HTTPS but the certificate is not valid. With PHP 5.6+ if the certificate is invalid the SOAP call throws an exception.
I am trying to make PHP5 work over IIS 6.0 on Windows server 2003 and i am following this steps:
http://www.iisadmin.co.uk/?p=4
The thing is, there's no file named "php5isapi.dll" inside the php folder, so I am using php5isapi.dll instead. Is it correct? Or should I try to download the php5isapi.dll from somewhere.
Well, then, I keep following the steps and when I try to execute my php file, I get this message:
The specified procedure could not be found.
What am I doing wrong?
Thanks.
UPDATE
I downloaded php5isapi.dll and tried to make it work with it but i am getting this error:
The specified module could not be found.
Also, after any change, i restart the Default Web Site clicking on stop and play.
UPDATE 2
Now, after rebooting, when trying to access the PHP file, the browser shows a 500 error:
The page cannot be displayed
I noticed that "php5isapi.ll" is no longer available for the last versions of PHP as pointed in here:
Why is php5isapi.dll missing after installing PHP for Windows?
Therefor, what i did was following this tutorial in order to do it with FastCGI
http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis-60
I found it on this comment:
Why is php5isapi.dll missing after installing PHP for Windows?
After restarting the server, it finally worked.