Joomla 2x-3x to CPG Tunnel - Page 3 Joomla 2x-3x to CPG Tunnel - Page 3
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Joomla 2x-3x to CPG Tunnel

Started by ron4mac, June 01, 2013, 02:01:29 PM

Previous topic - Next topic

0 Members and 11 Guests are viewing this topic.

DirkMa

Hello,

excuse my bad english. The tunnel works fine at login.
What can I do that I automatically logged out from cpg when I logged out Joomla.

Thanks

Dirk

ron4mac

Quote from: DirkMa on May 06, 2015, 11:20:42 AM
What can I do that I automatically logged out from cpg when I logged out Joomla.
I will look at your request and see what I can do. It may take me several days before I can, though.
Thank you for your feedback.

DirkMa

Hello,

thanks for your fast response.

Dirk

ron4mac

#43
DirkMa,

My goal in creating the 'tunnel' plugin(s) was to create a simple, yet secure way for Joomla users to sync with CPG. One of the side-effects of that simplicity could cause you to still be logged into CPG (only when the CPG site is visited directly from the same machine) even after you have logged out from Joomla.

This is, at best, a kludgy hack and, as such, I'm not yet going to make it a part of the plugin release. But you can try it out to see if it suits your needs. Replace the codebase.php and joomla.php files in the CPG plugin with the ones attached here. Let me know if it works for you and about any problems you may have with it.

[ changes incorporated into version 1.2 (see original post) ]

DirkMa

Hello,

it look's good. The only problem what I have is, that when I logged in Joomla and klick first (only the first) the link to the gallery it doesn't logged in the gallery. After I klick second and more the link to the gallery it logged in the gallery. After I logged out Joomla I logged out the gallery too. If I then again logged in Joomla and klick the link to gallery it logged in immediately to the gallery.

Thanks for the help

Dirk

DirkMa

Hello,

I have a new problem. After updating Coppermine (1.5.38) und Joomla (3.4.4) the Tunnel don't work.
If the Plugin is active in Joomla, I become a white side (Firefox) or the Information "The request was dismissed because the security token is invalid. Please refresh the page and try again." (IE) if I logged in Joomla.
Can you help me again?

Thanks

Dirk

ron4mac

Quote
Can you help me again?
I'm away until Monday but will look into it early next week.

ron4mac

Quote from: DirkMa on September 25, 2015, 06:15:07 AM
I have a new problem. After updating Coppermine (1.5.38) und Joomla (3.4.4) the Tunnel don't work.
I'm not able to recreate what you are seeing.  Is there a link where I can possibly see the result that you are having?

DirkMa

Hallo,

thanks for helping. I send you a Link with password.

Dirk

DirkMa

Hello,

after a new activate the plugin in Joomla and Coppermine I become a other mistake.

Fatal error: Call to undefined function mcrypt_module_open() in /var/www/vhosts/xxxxxxx/httpdocs/Home/Joomla/cpg15x/plugins/tunnel2cpg/joomla.php on line 57

I can sent private messages and I don't want to write a password in a Forum :(.

Thanks

Dirk

phill104

Please do as suggested above and provide a link so we can look into the issue.
It is a mistake to think you can solve any major problems just with potatoes.

DirkMa

Hello,

thank you for helping but I don't write a passwort in a Forum. Then I must live with this Problem.

Thanks

Dirk

ron4mac

#52
Quote from: DirkMa on September 28, 2015, 06:13:13 AM
after a new activate the plugin in Joomla and Coppermine I become a other mistake.
Fatal error: Call to undefined function mcrypt_module_open() in /var/www/vhosts/xxxxxxx/httpdocs/Home/Joomla/cpg15x/plugins/tunnel2cpg/joomla.php on line 57
I can sent private messages and I don't want to write a password in a Forum :(.
If you are getting an error on mcrypt_module_open(), you must have made more changes than just updating Joomla and CPG. You can send me a link to your site by sending it to the username: otheron4mac, which is at the domain: gmail.com.

phill104

Quote from: DirkMa on September 30, 2015, 05:44:44 AM
Hello,

thank you for helping but I don't write a passwort in a Forum. Then I must live with this Problem.

Thanks

Dirk

It was just a link, no password would have been required. Hopefully you can take up Ron's kind offer and email him directly. Good luck with your site.
It is a mistake to think you can solve any major problems just with potatoes.

DirkMa

Hello,

@ron4mac
Thanks, I have send you the data's.

@all
To see the error you must logged in because you don't see the link for go to the error page.

Thanks

Dirk

ron4mac

As I suspected, the issue is that the mcrypt module is not enabled in your PHP version (5.5.9). Perhaps you changed PHP versions at the same time you were upgrading Joomla and CPG. I thought mcrypt is enabled by default in most PHP distributions, but maybe not.

DirkMa

Hey,

your support is very good. Thanks.
I don't have change the php after update and it was 5.5.9.
I have to ask my hoster whether he has changed slightly.

Thanks

Dirk

ron4mac

#57
Quote from: DirkMa on October 01, 2015, 10:25:51 PM
I have to ask my hoster whether he has changed slightly.
I noticed that your hoster is running ubuntu 14.  This link has some info on setting up mcrypt for PHP.

DirkMa

Hallo,

my hoster have make changes and now I don't get any Errors.
But the Tunnel don't work correctly. When I Login in Joomla I don't Login in Coppermine.
I have the same Problem with  php 5.3.29.

Thanks

Dirk

Your accounts for my side are activ

ron4mac

The Joomla plugin needed to be made available for guests/public so that it could function as they are logging in.  It should work for you now.