Topic Closed
fly06
263 Posts
18.5K Downloads
1 Themes
8 Plugins

When I log out, I get this message displayed at the top of the page:

You have been logged out.

It not only does not disappear when I click on the right cross but this raises the following js error:

colorbox_lang is not defined (combine.php:193)

Where can I find this parameter in the gpEasy admin?

Thanks.

Edited: 7 years ago#4406

mevsme
35 Posts

Did you get it in retail version of gp|Easy CMS?

7 years ago#4407

fly06
263 Posts
18.5K Downloads
1 Themes
8 Plugins

I have the latest version (3.0.2) installed locally.

7 years ago#4408

juergen
1.4K Posts
52.8K Downloads
16 Plugins
design, web development & visual effects

Sounds totally familiar to me but I can't remember what it was... (or how i managed to get it and how to get rid of it)
Have you tried to switch off "Combine JS Files" in gpeasy configuration to see in which script the error occurs?

 

Edited: 7 years ago#4410

juergen
1.4K Posts
52.8K Downloads
16 Plugins
design, web development & visual effects

Maybe this link helps.

7 years ago#4411

fly06
263 Posts
18.5K Downloads
1 Themes
8 Plugins

The colorbox_lang variable is defined in the AddColorBox() method of the common class.

But this method appears to be called only if the user is logged in:

 

if( common::LoggedIn() ){
  common::LoadjQueryUI();
  common::AddColorBox();
}
 
See method HeadContent() of the gpOutput class.
 
 
Edited: 7 years ago#4413

juergen
1.4K Posts
52.8K Downloads
16 Plugins
design, web development & visual effects

It works when you logout from a page with a gallery (colorbox is loaded after logout).

7 years ago#4417

juergen
1.4K Posts
52.8K Downloads
16 Plugins
design, web development & visual effects

A dirty litte fix:

gpOutput.php

1648        if( common::LoggedIn() || $cmd=="logout" ){
1649            common::LoadjQueryUI();
1650            common::AddColorBox();
1651        }

Actually tested ;-)

Edited: 7 years ago#4422

juergen
1.4K Posts
52.8K Downloads
16 Plugins
design, web development & visual effects

> Actually tested ;-)

... and forgotten a line. That's it:

1648       $cmd = common::GetCommand();
1649
       if( common::LoggedIn() || $cmd=="logout" ){
1650            common::LoadjQueryUI();
1651            common::AddColorBox();
1652        }

7 years ago#4423

fly06
263 Posts
18.5K Downloads
1 Themes
8 Plugins

Thanks a lot juergen for your help.

 

7 years ago#4428

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * ReadSpeaker Distribution Partner * Consultant & Provider of a wide range of programs for visually impaired ...

Find out more about our Provider Spotlight

Log In

  Register