<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ivan Sergio Borgonovo ha scritto:
<blockquote cite="mid:20090626171522.62c165f5@dawn.webthatworks.it"
type="cite">
<pre wrap="">On Fri, 26 Jun 2009 16:53:59 +0200
Michel Morelli <a class="moz-txt-link-rfc2396E" href="mailto:michel@ziobuddalabs.it"><michel@ziobuddalabs.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all. I have created a multisite from a single site. This is
from my settings.php:
$db_prefix = array(
'default' => '',
'comments' => 'myprefix_shared.',
'content_field_email' => 'myprefix_shared.',
'content_field_fax' => 'myprefix_shared.',
'content_field_phone' => 'myprefix_shared.',
'content_group' => 'myprefix_shared.',
'content_group_fields' => 'myprefix_shared.',
'content_node_field' => 'myprefix_shared.',
'content_node_field_instance' => 'myprefix_shared.',
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">'content_type_pastaio' => 'myprefix_shared.',
</pre>
</blockquote>
<pre wrap=""><!----> ^^
Could it be a typo? yep I noticed that there is a _pasta table as
well ;)
</pre>
</blockquote>
Yes, There is pasta and pastaio. Pastaio is a content type and pasta is
one of my table. Where is the problem ? <br>
<br>
<blockquote cite="mid:20090626171522.62c165f5@dawn.webthatworks.it"
type="cite">
<pre wrap="">
As a general idea... get the list of all the tables from your db and
then work with a bit of sed (or use regep support from yur db) to
create the db_prefix array.
</pre>
</blockquote>
I have selected it with phpmyadmin, exported via phpmyadmin, create the
new db, imported into new db.<br>
All works. Multilanguage works. Other type of content type works, but
they haven't cck items. The only problem is with the content type that
have cck items. <br>
<br>
<blockquote cite="mid:20090626171522.62c165f5@dawn.webthatworks.it"
type="cite">
<pre wrap="">Can you get the list of available content types?
</pre>
</blockquote>
Only 3: page, story and pastaio.<br>
<br>
<blockquote cite="mid:20090626171522.62c165f5@dawn.webthatworks.it"
type="cite">
<pre wrap="">I really didn't get the exact problem you're experience.
</pre>
</blockquote>
<br>
Simple: I can not understad why all pages of my "pastaio" content type
(fields created via cck) are empty. If I try to edit the node I see a
blank form but the data are present in the DB. I have create a "view"
that display me the data of every "pastaio" node and it works. <br>
<br>
M.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Michel 'ZioBudda' Morelli <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.net">michel@ziobuddalabs.net</a>
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660
<a class="moz-txt-link-freetext" href="http://www.ziobudda.net">http://www.ziobudda.net</a> ICQ: 58351764
<a class="moz-txt-link-freetext" href="http://www.ziobuddalabs.it">http://www.ziobuddalabs.it</a> Skype: zio_budda
<a class="moz-txt-link-freetext" href="http://www.ziodrupal.net">http://www.ziodrupal.net</a>                         MSN: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
                                                JABBER: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
</pre>
</body>
</html>