MultiformeIngegno

  • Posts: 1,337
Re: Importer tool
« Reply #16, on January 30th, 2014, 01:28 AM »
Eheh, auto-fixing tags failed on my previous post.. let's try again with an image

 wedge.jpg - 71.06 kB, 518x668, viewed 254 times.

Re: Importer tool
« Reply #17, on January 30th, 2014, 01:54 AM »
In my imported SMF install I had a board with topic approval on. Now I can see on wedge there's one topic to approve. But when I click the icon I'm brought to an empty moderation center (index.php?action=moderate;area=postmod;sa=topics;brd=27;ef3ee2e=049639d9324450639d45ddcf59d66c0a.

 wedge.jpg - 29.75 kB, 1356x246, viewed 262 times.

Re: Importer tool
« Reply #18, on January 30th, 2014, 03:59 PM »
Quote from MultiformeIngegno on January 30th, 2014, 01:18 AM
Ehm... so imbarassed... I had mistyped smf database............ now the problem is that now it's 10 minutes stuck at copying smileys.

SMF and wedge folders are all 775, chwoned to www-data:www-data (which is in root group).
If can be of any help this is the url I'm at import.php?step=1&substep=9&start=24750

EDIT: I reloaded the page and I got this:

Message: Undefined property: Importer::$xml
Trace: Undefined property: Importer::$xml
Line: 528
File: /var/www/.altro/tests/import.php
:whistle:

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Importer tool
« Reply #19, on January 30th, 2014, 07:38 PM »
Quote from MultiformeIngegno on January 30th, 2014, 01:18 AM
Ehm... so imbarassed... I had mistyped smf database............
........
Quote from MultiformeIngegno on January 30th, 2014, 01:18 AM
now the problem is that now it's 10 minutes stuck at
EDIT: I reloaded the page and I got this:

Message: Undefined property: Importer::$xml
Trace: Undefined property: Importer::$xml
Line: 528
File: /var/www/.altro/tests/import.php
That's normal. IIRC, it's because your session has expired. You need to return to the first page of the import script, and start again.
Re: Importer tool
« Reply #20, on January 30th, 2014, 07:41 PM »
Quote from MultiformeIngegno on January 30th, 2014, 01:25 AM
the dots are in the url, I just changed the domain.tld part
What's the value of $settings['smileys_dir'] and 'smileys_url' in the {db_prefix}settings table..?
Re: Importer tool
« Reply #21, on January 30th, 2014, 07:44 PM »
Quote from MultiformeIngegno on January 30th, 2014, 01:54 AM
In my imported SMF install I had a board with topic approval on. Now I can see on wedge there's one topic to approve. But when I click the icon I'm brought to an empty moderation center (index.php?action=moderate;area=postmod;sa=topics;brd=27;ef3ee2e=049639d9324450639d45ddcf59d66c0a.
Do you get to the proper place by replacing sa=topics with sa=replies..? Although I doubt so?
Re: Importer tool
« Reply #22, on January 30th, 2014, 07:45 PM »
Quote from MultiformeIngegno on January 30th, 2014, 01:28 AM
Eheh, auto-fixing tags failed on my previous post.. let's try again with an image
Auto-fixing never fails. It just asks for your opinion on whether it did the right job. :P

MultiformeIngegno

  • Posts: 1,337
Re: Importer tool
« Reply #23, on January 30th, 2014, 09:49 PM »
Quote from Nao on January 30th, 2014, 07:41 PM
Quote from MultiformeIngegno on January 30th, 2014, 01:25 AM
the dots are in the url, I just changed the domain.tld part
What's the value of $settings['smileys_dir'] and 'smileys_url' in the {db_prefix}settings table..?
Can someone help me with the query I need to run to show the value? Can't install phpmyadmin right now..

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Importer tool
« Reply #24, on January 30th, 2014, 10:21 PM »
Quote from MultiformeIngegno on January 30th, 2014, 09:49 PM
Quote from Nao on January 30th, 2014, 07:41 PM
Quote from MultiformeIngegno on January 30th, 2014, 01:25 AM
the dots are in the url, I just changed the domain.tld part
What's the value of $settings['smileys_dir'] and 'smileys_url' in the {db_prefix}settings table..?
Can someone help me with the query I need to run to show the value? Can't install phpmyadmin right now..
You mean for wedge?
Please change path and URL!
Code: [Select]
INSERT INTO `wedge_settings` VALUES ('smileys_dir','/***YOUR***PATH***TO***WEDGE/assets/smileys'),('smileys_url','http://***YOUR***URL***/wedge/assets/smileys'),('smiley_sets_default','default'),('smiley_sets_known','default,aaron'),('smiley_sets_names','Alienine\'s Set\nAaron\'s Set');
# dpkg-reconfigure brain
error: brain is not installed or configured

MultiformeIngegno

  • Posts: 1,337
Re: Importer tool
« Reply #25, on January 30th, 2014, 11:51 PM »
Quote from Pandos on January 30th, 2014, 10:21 PM
Quote from MultiformeIngegno on January 30th, 2014, 09:49 PM
Quote from Nao on January 30th, 2014, 07:41 PM
Quote from MultiformeIngegno on January 30th, 2014, 01:25 AM
the dots are in the url, I just changed the domain.tld part
What's the value of $settings['smileys_dir'] and 'smileys_url' in the {db_prefix}settings table..?
Can someone help me with the query I need to run to show the value? Can't install phpmyadmin right now..
You mean for wedge?
Please change path and URL!
Code: [Select]
INSERT INTO `wedge_settings` VALUES ('smileys_dir','/***YOUR***PATH***TO***WEDGE/assets/smileys'),('smileys_url','http://***YOUR***URL***/wedge/assets/smileys'),('smiley_sets_default','default'),('smiley_sets_known','default,aaron'),('smiley_sets_names','Alienine\'s Set\nAaron\'s Set');
Insert? I think Nao wanted to just know the values I had. So we can understand what caused wrong links.. Doesn't INSERT add something?

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Importer tool
« Reply #26, on January 31st, 2014, 09:55 AM »
Quote from MultiformeIngegno on January 30th, 2014, 11:51 PM
Insert? I think Nao wanted to just know the values I had. So we can understand what caused wrong links.. Doesn't INSERT add something?
Sorry, was a hard day... :)
Code: [Select]
SELECT variable, value FROM wedge_settings WHERE variable LIKE 'smiley%';
Re: Importer tool
« Reply #27, on January 31st, 2014, 04:08 PM »
Quote from Nao on January 31st, 2014, 02:45 PM
Pandos, I'm asking for the result of that query... not for the query itself... I'm not a SQL champ but I can still write those without help... I hope :lol:
Hope so too! :lol: :lol:
My answer was related to:
Quote from MultiformeIngegno on January 30th, 2014, 09:49 PM
Can someone help me with the query I need to run to show the value? Can't install phpmyadmin right now..
So I'm not so blind at all :)

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Importer tool
« Reply #28, on January 31st, 2014, 04:15 PM »
Anyway, here are my values...

theme_url
ttp://127.0.0.1/wedge/core/html

images_url
ttp://127.0.0.1/wedge/assets

smileys_url
ttp://127.0.0.1/wedge/assets/smileys

avatar_url
ttp://127.0.0.1/wedge/assets/avatars

(I removed the starting 'h' because otherwise it'd link to them. Now it reminds me of the good old 2ch days, ah ah...)

This is after a clean install + SMF reimport. (I'm thinking the import tool has nothing to do with this, so it should be on the other topic.)
Obviously, none of these are right, and I'm really, REALLY surprised that Wedge works so well with so many wrong paths... :lol:
Well, I guess I made it noob-friendly after all!

@Bun, well the good thing about this importer is that it's relatively forgiving with DB errors, but still, that's something to fix...

TE

  • Posts: 286
Re: Importer tool
« Reply #29, on February 1st, 2014, 08:31 AM »
Can someone please split this topic into multiple .. I can help with one or the other issue but it's a total chaos?

Maybe create an extra board for that.
Thorsten "TE" Eurich - Former SMF Developer & Converters Guru