By Kai Forst on Wednesday, 05 August 2015
Posted in Technical Issues
Likes 0
Views 417
Votes 0
Hi guys,

I Easyblog 5 the Composer doesn't work on my site in the frontend (in backend everything looks fine). It opens with an empty window or sometimes with a window with all entries.

Any ideas.

Regards...
...Kai
Hi Kai,

I am sorry for the delay of this reply.

After a long debugging process on your site, we finally found out the issue. It seems like the issue was caused by your webserver added an extra request variable 'q' and it override the original request variables causing the required 'view' request variable missing, which lead to incorrect page in EasyBlog.

Below is the example of the extra 'q' variable when the request is made:
array(3) { ["q"]=> string(29) "/index.php/blog?view=composer" ["tmpl"]=> string(9) "component" ["uid"]=> string(1) "9" }
// Note that "q = /index.php/blog?view=composer" and it override it with something else that we don't know.


To fix your issue, I've added a hack in your EasyBlog file JOOMLA/components/com_easyblog/easyblog.php at line 15 ~ 29. This hack is just a temporary fix.

May i know if you''ve installed any third party php library in your webserver that will inject the 'q' request variable?

Please advise.
·
Friday, 07 August 2015 20:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kai,

Can you provide us with your Joomla backend and FTP access so we can check on the issue directly?
·
Wednesday, 05 August 2015 14:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, I've added the site details...

Regards...
...Kai
·
Friday, 07 August 2015 01:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Kai,

There's something really strange with your site. The URL http://www.wir-bewegen-langen.de/index.php/blog?view=composer&tmpl=component&uid=9 doesn't seem to load up with the composer. I tested the same URL locally and it works fine. However, it seems like when accessing http://www.wir-bewegen-langen.de/index.php/blog?option=com_easyblog&view=composer&tmpl=component&uid=9 , it works fine.

Anyways, with the FTP, I can't access a lot of folders on the site. Can you please advise?
·
Friday, 07 August 2015 01:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I changed the directory and file permissions, so that you should be able to access all *.php files and all directories - hope this is sufficient.

What I can tell you, what happend before:

1.) I had an installation of easyblog versione 3.22xxx (I don't know the exact version number)

2.) I've tried to update it using the network update (during the step 'updating foundry') the installation stopped and afterwards the whole website was down (Internal HTTP 500 error).

3.) I moved away the com_easyblog directory and were able to connect to my side again (without having easyblog at all). You can find the rest of the old easyblog installation in the folder /backup/com_easyblog

4.) I decided to install Easyblog 5 (without removing the database tables) - after the update, all blog posts where ok - but with the described problem with the composer.

Regards...
...Kai
·
Friday, 07 August 2015 05:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kai,

Can I have the permission to update your easyblog 5.0.18 to version 5.0.19 first to eliminate any possible issue that we might have fixed in previous version of easyblog? I notice there are something wrong with the SEF url on your site as it's working fine with non-sef url.

Please advise.
·
Friday, 07 August 2015 12:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Good Morning Ezrul,

yes, sure you can update to the latest version.

Regards...
....Kai
·
Friday, 07 August 2015 13:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kai,

I just updated your easyblog to the latest version but unfortunately the issue still persist. However when I try to access your FTP with the provided credentials it seems like its not working for me.
Response:	530 Login incorrect.
Error: Critical error: Could not connect to server


Please advise.
·
Friday, 07 August 2015 16:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

I've updated the FTP-Confiuration. It should work now.
·
Friday, 07 August 2015 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

first of all, thanks for your support.

I believe the additional "q=" comes from the nginx config.

I've changed my config (which I think was part of the joomla documentation for implementing rewrite for SEF using nginx)

location / {
index index.php index.html index.htm;
# try_files $uri $uri/ /index.php?q=$request_uri;
try_files $uri $uri/ /index.php;

}


It looks like, everything else is working fine.

I've commented out your "hack" and even the composer seems to work fine.

Regards...
...Kai
·
Saturday, 08 August 2015 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Kai,

Thanks for updating and glad that your issues are resolved now
·
Saturday, 08 August 2015 03:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post