$theTitle=wp_title(" - ", false); if($theTitle != "") { ?> } else { ?> } ?>
by Andrew Johnstone
In: PHP
14 Mar 2006After upgrading to the very latest build of Plesk the API error seems to have been resolved, and no longer causes an API error of “Domain adding was failed. Error: Can`t resolve ID for IP ()“. Previously: [Server 3]# rpm -qa |grep -i psa-api | sort psa-api-cli-7.5.2-rhel3.build75050130.17 psa-api-common-7.5.2-rhel3.build75050130.17 psa-api-rpc-7.5.2-rhel3.build75050130.17 psa-api-rpc-doc-7.5.2-rhel3.build75050130.17 psa-api-rpc-protocol-7.5.2-rhel3.build75050130.17 Now: [Server 3]# rpm […]
In: PHP
12 Mar 2006I found this a little amazing, but SWSoft don’t actually fully support their own software. “Unfortunately, SWSoft does not fully support the API that is built in to Plesk and more than likely, they will request that we first perform an upgrade to the latest version of Plesk before they provide any further support.”, Rackspace. […]
In: PHP
15 Jan 2006Update: I tested the script in my previous post to generate domains on an alternative server and it worked flawlessly (Not quite sure why, and I need to test further). However, one of the features that are missing from Plesk is to create aliases of domains. Through the Plesk API, you can create a redirect […]
In: PHP
11 Jan 2006Today I was trying to generate domains through Plesk with the RPC API, the following actually creates the domain, despite throwing the following error. Looking at the domain in plesks admin it states “Hosting (Domain has no hosting configured)”. Once configuring the domain through the “Physical hosting setup page for domain testdomaingeneration3.waidev6.com” interface page successfully […]
In: Linux
24 Dec 2005I can never seem to remember, how to remember how to reconfigure a subdomain with plesk without looking it up, so for quick reference. <directory /home/httpd/vhosts/ajohnstone.com> php_admin_value open_basedir none </directory> /usr/local/psa/admin/sbin/websrvmng -a OR /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=domain.com Also, today I learnt that you cannot attach the onmouseover event to an option element. I found this rather […]
I have been a developer for roughly 10 years and have worked with an extensive range of technologies. Whilst working for relatively small companies, I have worked with all aspects of the development life cycle, which has given me a broad and in-depth experience.