the importer didnot import avatars and attachements, i have manually uploaded them to the new server and retored wcf_attachement and wcf_avatar from the old database however still not showing
how can i fix this???
Avatar and attachement: plz help
-
Majdi 2.0 -
24. März 2008 um 22:25 -
Erledigt
-
-
What software did you import? you have to make sure, the source folder is accessable throught the server's filesystem.
-
i imported wbb v3
lets say importing avatars and attachements failed
is there any way to fix it now?
I have been going through database tables to find out what the structure is and fix it but its taking a very long time -
I'd say the best way would be to import it once again. And this time with avatars and attachments.
What do you mean exactly by "it failed"? DId you get any error messages? But you are certain, you marked the checkboxes to import avatars and attachments and you are certain that you did provide the right source folder?
Whats the path on the server's hard disk to your old forum (the forum you want to import)?
Whats the path on the server's hard disk to your new forum? -
path on both servers is:
/home/tunitech/public_html/forum/wcf/
and ofcourse i did check all options -
Zitat
public function exportAvatars($offset, $limit) {
$sql = "SELECT *
FROM ".$this->dbPrefix."wcf".$this->settings['dbNumber']."_avatar
ORDER BY avatarID";
$result = $this->getDB()->sendQuery($sql, $limit, $offset);
while ($row = $this->getDB()->fetchArray($result)) {
$this->getImporter()->importAvatar($row['avatarID'], $row['userID'], $row['avatarName'], $this->settings['sourcePath'].'images/avatars/avatar-'.$row['avatarID'].'.'.$row['avatarExtension'], $data = array('groupID' => $row['groupID'], 'neededPoints' => $row['neededPoints']));
}
}thats the importer code, i re-applied it manually but still no avatars!
-
i fixed the avatar,
ill continue reading the code and database structure to fix the attachements -
path on both servers is:
/home/tunitech/public_html/forum/wcf/
and ofcourse i did check all optionsAh, that can't be right. Or did you install both forums in the same WCF.
-
no, they are on different servers,
anyway i fixed it.
thanks for the help -
no, they are on different servers,
Well, then you entered the wrong path.
An import over different servers is not possible in most cases. -
lets say my url is: domain.name
and local wcf is in /home/tunitech/public_html/forum/wcf/what was i supposed to enter?
-
If both boards are on different servers, you have to copy one forum to the other server so that both forums are on the same server.
-
that explains it,
however its not very well explained in the importer itself, i suggest adding this info under the location field -
It’s strange, because if I put a wrong path when I want to import files, I can’t go through, I got a error message.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!