[TYPO3-english] Preparing a staging site from a live environment

Christian Reiter cr at cNOSPAMxd.de
Mon Apr 14 17:17:30 CEST 2014


Hi,

 > "TemplaVoila ERROR:
 >
 > Couldn't find Template Object with UID "XX".

This error can happen if serialized data in the database dump are not 
transferred correctly. Make sure no conversion at all happens during 
export/import, try  --hex-blob export option, etc.

The field "templatemapping" of table  tx_templavoila_tmplobj contains 
serialized data and if that is corrupted you could get such errors.

If for instance you have some kind of character converiosn going on 
during import/export, the length of the serialized parts will change and 
data will be corrupted.

If both databases are properly set up for UTF-8 and nothign but UTF-8 
from the start this shouldn't happen unless the dump is being passed 
through something that mangles it. However this problem can happen with 
old sites that didn't have a proper UTF-8 setup.

Otherwise, regarding redirects:

did you verify that your sys_domain entries are correct?

What happens when you deactivate cooluri for the moment?

Best regards,

Christian


Am 14.04.2014 16:27, schrieb Joshua Nichols:
> After copying an entire site to a new server to build a staging
> environment (entire web root and database dump), I'm having some trouble
> getting the front end to load pages correctly.  There are a few issues
> which may or may not be related:
>
> 1. loading the home page, e.g. staging.domain.com/ send a 301 redirect
> to www.domain.com/home.html
>
> note that that the domain part changes.  I've changed config.baseURL
> with no luck.  The site uses the CoolURI extension--could that be
> causing the redirect?
>
> 2. if I hack my hosts file to work around the domain name issue, this
> "home.html" page gives a 404 anywhere.  So something is working to
> redirect me, but not to actually load content with a friendly URL.
>
> 3. Simply trying to load a page without any of that, for example:
> staging.domain.com/index.php?id=356  throws a TemplVoila error:
>
> "TemplaVoila ERROR:
>
> Couldn't find Template Object with UID "XX".
> Please make sure a Template Object is accessible."
>
>
> If anyone can point me in the right direction on any of these issues,
> I'd really appreciate it.
>



More information about the TYPO3-english mailing list