Z
zero@
Guest
I recently upgraded Sitebuilder from 3 to 4, and I experienced some problems.
First, I upgraded sitebuilder, but I didn't change my sources.list file, so while I partially upgraded, I was left with only about 10 sitebuilder templates and my own custom templates. So I figured out the problem, changed my sources.list file, and upgraded and downloaded all of the new templates. Problem solved.
Only it wasn't. One of my clients was getting this error:
Internal SiteBuilder error.
File: /opt/sitebuilder/include/Zend/Zend/Db/Adapter/Abstract.php; Line: 156
Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound; Code: HY093
Looks pretty serious. I looked all over for a solution, and I didn't find one, other than a bug in the mysql PDO driver. So I kept playing around with it - I reconfigured sitebuilder a few times, and fiddled with some settings, but still anytime this client would make a change, change a template, or try to publish they would get the error.
Then I tried some other clients, and their sites were seemingly fine. I could make changes, publish the sites, upload pictures, etc.
Then I tried changing the name of the site. Previously it was something like "Captain Jumpy's Shrimp Shack" (not the actual name), and so I changed it to "Captain Jumpys Shrimp Shack" - without the apostrophe between "y" and "s".
And then it worked.
Now I'm not sure if it was changing the name of the site, taking out the apostrophe, or if it was reloading my apache config. But it worked. At least for now.
Hopefully someone can shed some light on this, or maybe this will help someone else.
First, I upgraded sitebuilder, but I didn't change my sources.list file, so while I partially upgraded, I was left with only about 10 sitebuilder templates and my own custom templates. So I figured out the problem, changed my sources.list file, and upgraded and downloaded all of the new templates. Problem solved.
Only it wasn't. One of my clients was getting this error:
Internal SiteBuilder error.
File: /opt/sitebuilder/include/Zend/Zend/Db/Adapter/Abstract.php; Line: 156
Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound; Code: HY093
Looks pretty serious. I looked all over for a solution, and I didn't find one, other than a bug in the mysql PDO driver. So I kept playing around with it - I reconfigured sitebuilder a few times, and fiddled with some settings, but still anytime this client would make a change, change a template, or try to publish they would get the error.
Then I tried some other clients, and their sites were seemingly fine. I could make changes, publish the sites, upload pictures, etc.
Then I tried changing the name of the site. Previously it was something like "Captain Jumpy's Shrimp Shack" (not the actual name), and so I changed it to "Captain Jumpys Shrimp Shack" - without the apostrophe between "y" and "s".
And then it worked.
Now I'm not sure if it was changing the name of the site, taking out the apostrophe, or if it was reloading my apache config. But it worked. At least for now.
Hopefully someone can shed some light on this, or maybe this will help someone else.