Advanced search  

News:

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

Pages: 1 2 [3] 4 5   Go Down

Author Topic: Joomla 2x-3x to CPG Tunnel  (Read 32834 times)

0 Members and 1 Guest are viewing this topic.

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #40 on: May 06, 2015, 11:20:42 am »

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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #41 on: May 06, 2015, 01:58:43 pm »

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.
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #42 on: May 06, 2015, 03:43:14 pm »

Hello,

thanks for your fast response.

Dirk
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #43 on: May 07, 2015, 05:05:18 am »

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) ]
« Last Edit: October 16, 2015, 07:06:32 pm by ron4mac »
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #44 on: May 08, 2015, 09:54:03 pm »

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
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #45 on: September 25, 2015, 06:15:07 am »

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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #46 on: September 25, 2015, 03:52:48 pm »

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

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #47 on: September 28, 2015, 03:56:06 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?
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #48 on: September 28, 2015, 05:51:45 am »

Hallo,

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

Dirk
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #49 on: September 28, 2015, 06:13:13 am »

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
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4472
    • Windsurf.me
Re: Joomla 2x-3x to CPG Tunnel
« Reply #50 on: September 28, 2015, 11:40:08 am »

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

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #51 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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #52 on: September 30, 2015, 08:32:58 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.
« Last Edit: September 30, 2015, 09:11:10 am by ron4mac »
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4472
    • Windsurf.me
Re: Joomla 2x-3x to CPG Tunnel
« Reply #53 on: September 30, 2015, 06:15:01 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #54 on: October 01, 2015, 06:22:59 am »

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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #55 on: October 01, 2015, 09:46:43 pm »

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.
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #56 on: October 01, 2015, 10:25:51 pm »

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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #57 on: October 02, 2015, 04:52:36 am »

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.
« Last Edit: October 02, 2015, 01:27:30 pm by ron4mac »
Logged

DirkMa

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Joomla 2x-3x to CPG Tunnel
« Reply #58 on: October 05, 2015, 10:41:02 am »

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
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 683
Re: Joomla 2x-3x to CPG Tunnel
« Reply #59 on: October 05, 2015, 02:15:39 pm »

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.
Logged
Pages: 1 2 [3] 4 5   Go Up
 

Page created in 0.017 seconds with 20 queries.