By Ewoud on Friday, 15 November 2013
Posted in General Issues
Replies 40
Likes 0
Views 1K
Votes 0
Hi there,

I am testing the migration of my +1200 K2 articles to EasyBlog. Now I have a couple of questions about the generated URL.

1. Is it possible to keep the current K2 URL or do I need to change them one by one with the permalink option in the Edit Post option?
2. If keeping the K2 URL link is not (automatically) possible, what is your advice on the Twitter and Facebook posts that I create with every K2 post. They have a link to the current K2 URL.

Thanks,
Ewoud
Hello Ewoud,

EasyBlog will actually import the K2 alias to EasyBlog's permalink but you will need to replace the menu alias by replacing the menu on your Joomla site
·
Friday, 15 November 2013 19:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for your quick reply.

I see now what you mean and from what I have migrated sofar in my test environment you are right. But I now see the problem is with the url that is in front of the permalink.
For example: one of the (K2) URL's is now: http://gamecritics.eu/show/item/1241-xbox-one-all-in-one-demo
But after the migration it is: http://gamecritics.eu/entry/xbox-one-all-in-one-demo. Or if I create a submenu then I even have a second url: http://gamecritics.eu/home/screenshots/entry/assassin-s-creed-4-black-flag-15-screenshots. (which by the way is not good for SEO but maybe there is already a solution for that?).

Regards,
Ewoud
·
Friday, 15 November 2013 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

How does the current URL of K2 items on your site look like?
·
Friday, 15 November 2013 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

As mentioned in my previous post, an example of the current K2 url is:
http://gamecritics.eu/show/item/1241-xbox-one-all-in-one-demo.

So they all start with http://gamecritics.eu/show/item/ and then the item number and then the title alias.

If you have a look at http://gamecritics.eu and click on any of the items on the frontpage then you will see the url. Also you will see in the menu http://gamecritics.eu/nieuws and it's submenu's http://gamecritics.eu/nieuws/screenshots and http://gamecritics.eu/nieuws/video, those 3 contain the items which can be found on the homepage. Each of them has the same url if you click them. So it doesn't matter if you open the item from the homepage or the other sub-menu's. I would like to create the same menu's with EasyBlog.

Regards,
Ewoud
·
Friday, 15 November 2013 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
hmm, not sure what is happening but I can't seem to correct the url in my post to a normal one. It should be:
http://gamecritics.eu/show/item/1241-xbox-one-all-in-one-demo.
·
Friday, 15 November 2013 23:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

Okay, in short you are looking for urls that begins with /show/item/ am I correct? Can you please provide us with the back end and FTP access to the site?
·
Saturday, 16 November 2013 01:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

You are almost correct with the urls. They also have an id number after /show/item/

What I would like to achieve is that my current articles keep the same url otherwise the facebook and twitter posts that have been posted with links to the articles, will lead to nowhere. Also Google will not like it if they get a new url. All new articles that I will create in future can get the url that EasyBlog creates by default of course.

Please keep in mind that I have not installed EasyBlog yet on my live site. Only locally on my computer so I get to learn how EasyBlog works, what issues (like this one) I encounter, and which setup is best for my website.
One other big thing for me is the image slideshows that I have on my website currently. They are now being created with Simple Image Gallery which I have integrated in K2. In a different post I placed a request to add Simple Image Gallery to the migration tool. So hopefully this feature request is something you can create as well.

So basically I want to replace K2 and Simple Image Gallery and AllVideo with EasyBlog on my website for the current articles, categories, urls and image slideshow. All new articles that I will create can of course be done with EasyBlog.

I know I am asking a lot but I hope this is something you can achieve. I have added website and ftp access below.

Many thanks,
Ewoud

Ps. The K2 migration tool makes you select a K2 category you want to migrate, but there is no option to which EasyBlog category you want to migrate the articles to. I know it creates an EasyBlog category if it doesn't exist yet, but I have the same sub-categories under 2 different main categories.
·
Saturday, 16 November 2013 05:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I am really sorry for the delay of this reply as it is a weekend for us here. Rather than applying the hacks twice, is there a way that you can setup a development site and install EasyBlog there so that we can see the end results directly? I wouldn't want to mess up your live site
·
Saturday, 16 November 2013 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I have made an exact copy of my live site. Access details can be found below. I have also installed EasyBlog, added the categories and made some changes to the settings and default theme image settings.

If more is needed, please let me know.

Regards,
Ewoud
·
Saturday, 16 November 2013 17:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I have made some changes to the following files


/administrator/components/com_easyblog/views/migrators/view.ejax.php (So that the alias migrates with the post id from K2)

/components/com_easyblog/router.php (So that the url generated for entries are using 'item' )


Once you are ready, all you need to do is to create a menu item called "Show", it could be hidden menu and link it to EasyBlog. This is how the current URL looks like for an entry view, http://gc1.graphiqs.nl/easyblog/item/1258-playstation-4-user-interface
·
Sunday, 17 November 2013 03:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

You are the man. This awesome work you did.

I have migrated the other articles as well to test it and it works great. The only thing is that I am not sure what the 'Menu item type' of the hidden menu should be. I have now created a hidden menu item called showeb (because it is a test and show already exists for K2), but showeb is not added to the url. I have tried the 'Menu Item Type' Frontpage Blog layout and Categories Layout (All categories).

Thanks,
Ewoud
·
Sunday, 17 November 2013 06:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I am really sorry for the delay of this reply as it is a weekend for us here. It should be the "Frontpage blog layout" The purpose of this menu is so that Joomla would use the "/show/" in the URL
·
Sunday, 17 November 2013 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

No worries about socalled delay. Your support, even in the weekends is outstanding.

I have selected the 'Frontpage blog layout' in the hidden menu but the links do not contain the 'showeb' sofar. Can you please login and check what I am doing wrong?

Thanks,
Ewoud
·
Sunday, 17 November 2013 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah, sorry you need to also set the menu id in EasyBlog's settings under SEO > Advanced Settings > Use Menu Id . I have set it to 458 for you.
·
Sunday, 17 November 2013 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Great, I see what you have done so I should be able to reproduce that when I will migrate my live website.

A question to be sure. As soon as I am going to migrate my live website, I should first overwrite the files with the ones you changed on my testing website. Correct?

Also, a couple of posts more to the top I referred to a different topic of mine in which I made a feature request for migrating the 'Simple Image Gallery' images that about 230 of my K2 articles contain. Do you think this is something you can create (in near future)? Or is this difficult to achieve? So I can better create them one by one again?

Thanks,
Ewoud
·
Sunday, 17 November 2013 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's correct If you are using those simple image gallery tags in the content of your K2 items, it should automatically work out of the box because if I am not wrong, SIG uses a content plugin to process these tags
·
Monday, 18 November 2013 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
It looks like K2 with the Simple Image Gallery plugin works a bit different. It's not creating a visible tag in the article text but you see the images.

But I am thinking of doing those 230 articles over again so I can create a folder structure how I want it. In other words, never mind

Speaking about a folder structure, All folders that I create under 'Shared Media' are opened by default. Is it possible to make it that you have to open it by clicking on the folder name or clicking a triangle just like the 3 default folders have in front of their name? So you need to navigate the folders. It makes it much more ordened to work with when you have a large folder structure.
·
Monday, 18 November 2013 06:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

Ah, if K2 stores it differently, it might not be supported yet As for the shared media, I am sorry but I don't really get you here.
·
Monday, 18 November 2013 12:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry for not being clear about the shared media. I have added a print screen. There you will see a red arrow pointing to a triangle which you need to click to see al the sub-folders. I would like to see a triangle for each folder in case they have sub-folders. So that I have to open the folders myself instead of being opened already as they are now. I need to do a lot of scrolling down now to get to the bottom folder.

I hope this makes it a bit more clear
·
Monday, 18 November 2013 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

Sorry for the late reply. Unfortunately this isn't possible yet I will however add this in the request list so that the EasyBlog team can review this Hope this helps.

Thanks!
·
Tuesday, 19 November 2013 00:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene,

Thanks for the update on that. I sure hope that the team approves it .

Regards,
EWoud
·
Tuesday, 19 November 2013 02:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

You are welcome
·
Tuesday, 19 November 2013 03:04
·
0 Likes
·
0 Votes
·
0 Comments
·
One more question. I am already using Komento for the K2 articles which contain 64 comments. Once I have done the migration of the K2 articles to Easyblog I want to attach the existing komments to the EasyBlog articles. Is there a way I can do that all at once or do I need to open the comments and change the component to EasyBlog and the Article ID to the new EasyBlog ID?

Thanks,
Ewoud
·
Wednesday, 20 November 2013 20:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

If you need to migrate the comments from Komento over as well, I don't think that is possible out of the box without some customizations. I could quickly write a script to help you migrate the comments over. Perhaps once you are done migrating the K2 items over, let me know
·
Wednesday, 20 November 2013 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for that. It's probably only a few days before I will start the migration. I am doing some final tests and I am waiting for a third party developer to finish the module similar to what I have now on my homepage but with EasyBlog integration. Can't do without a good news/image slideshow

I will let you know when I have finished the migration.
·
Thursday, 21 November 2013 02:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

Sure Keep us updated then.

Thanks!
·
Thursday, 21 November 2013 02:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I just did a succesful migration. So I am very, very happy with that. Can you please have a look at the migration of the comments from the K2 articles to the EasyBlog articles?

Below you will find the necessary login details.

Thanks,
Ewoud
·
Saturday, 23 November 2013 03:34
·
0 Likes
·
0 Votes
·
0 Comments
·
I just noticed that I get an error when I try to create a new post on the frontend of the page. The error is:
Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.


Can you please have a look at that as well?

Thanks,
Ewoud
·
Saturday, 23 November 2013 04:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I just migrated the comments manually so you don't have to create a migration script anymore.

My main concern for now is that the authors are not able to create a new blog post from the front-end. See my previous post for the error I get when I want to create a new blog post. Can you please have a look? I have also had Siteground take a look at the error logs and you can read their reaction in the 'Optional Information' box below. Maybe that helps?

Thanks,
Ewoud
·
Tuesday, 26 November 2013 20:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I am really sorry for the delay of this reply as I was currently not available during the weekend as I was attending a Joomla conference in Thailand.

Hm, not entirely sure why you are hitting this. Is there any specific logs that are related to PHP? That error itself is pretty generic and there's no way to really know what went wrong
·
Tuesday, 26 November 2013 20:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

No worries about the delay. Hopefully it was a succesful Joomla Conference .

I have checked the file php_errorlog but there is no logging registrated after 22 november. I have enclosed it because maybe that is the problem.

Next to that, the guys at Siteground did a strace and I have enclosed the results in the file graphiqs_strace.txt. They were not able to isolate the reason for the issue. So hopefully the file gives you more insight in the issue.

One other thing I have noticed, is that when I locally try to restore a backup created with akeeba , I get the following error during the extraction process:
AN ERROR OCCURED
"Could not open Z:/01 lokaal/wamp/www/gc_131125/images/easyblog_shared/actie en avontuur/Ryse: Son of Rome/b2ap3_thumbnail_ryse_herorises.jpg for writing."
This jpg file is the first one I uploaded for my first article I created with EasyBlog (in the backend).

Maybe this it is not related, but in cases like this you probably cannot have enough information.

Please let me know if I can do anything else to help to find the solution.

Regards,
Ewoud

Edit: I noticed the attachments can be accessed by everybody so I removed them. Can I sent them by email or something?
·
Wednesday, 27 November 2013 03:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I have been debugging the site for quite a while but still can't figure out the proper error message that is thrown. You need to get Siteground to provide the proper PHP error messages.

By the way, I did notice that the max_execution_time in PHP is set relatively low (45s). Is there any way to increase it to 60s ?
·
Wednesday, 27 November 2013 20:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I have taken some rigorous measures. I have done a complete fresh install of Joomla 3.1.5 and all of the components, modules and plugins that I am using. After that I transferred all of the necessary database tables and voila, it is all working now. It was a lot of work but this way I also got rid of all the old components and database tables. Now I only have to wait untill EasySocial has all the functionality (groups etc) that JomSocial has, and I can do the final migration and have perfectly integrated website with Stackideas products

I do want to ask some more of your help if possible. I was using the modules JA News Ticker and JA Content Slider from the guys at Joomlart, but it doesn't have EasyBlog integration. Can you make some hacks for that? I read in this post from last year you did it also with JA News Ticker so maybe you can do that with the latest version I installed of both modules? That would be awesome.

Thanks,
Ewoud
·
Thursday, 28 November 2013 20:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Ewoud and I am really glad that your issues are resolved now I will try to get in touch with the guys at Joomlart and see if they can update JA News Ticker to work with EasyBlog but as it is currently, our hands are pretty tied right now with EasySocial 1.1 and EasySocial 2.0
·
Friday, 29 November 2013 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for trying to get in contact with Joomlart. I had already opened a ticket at Joomlart but in their first reply they misunderstood me. So I replied trying to explain that I would like those modules to work with EasyBlog. Up till now no reaction yet but hopefully if you contact them as well, they will understand and speed up things.

Thanks for the great help and good luck with the coming releases of EasySocial. I am really looking forward to that

Regards,
Ewoud
·
Friday, 29 November 2013 02:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ewoud,

I can't really promise anything right now as most of the time I also don't get a reply but I will try
·
Friday, 29 November 2013 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
At least thanks for trying!

Regards,
Ewoud
·
Friday, 29 November 2013 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Friday, 29 November 2013 17:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

After a couple of avoiding answers the guys at Joomlart gave an honest anwer that they will not add Easyblog as a source to their modules. Their main concern is that they have to test it with all their templates. I am not a developer at all so I will not burn my hands on their answer.

So that means all my hopes are with you again . If you will be getting some spare time again in the future, I hope you will give it a try.

Thanks,
Ewoud
·
Wednesday, 04 December 2013 02:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, we'll see what we can do in the future but I find it odd that they mention they need to test it with their templates though because they just need to ensure that the source of the data is being pulled from EasyBlog rather than the articles on K2 or Joomla.
·
Wednesday, 04 December 2013 02:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post