Login & Register buttons produce blank pop-up?

Responsive Joomla template for Entertainment and Music purpose with clean and lightweight design.
GK User
Fri Jan 20, 2012 6:38 am
Hello,

I just setup the Music template on http://alpha.spunkee.org/ I setup the "Login", "Register", and "Search" buttons at the top same way they are in the quickstart. However when I click on "Login" or on "Register" I get a pop-up window that is empty and does not contain the login/registration form.

How do I get this to work?

Dean
User avatar
Junior Boarder

GK User
Fri Jan 20, 2012 7:14 am
I don't understand why but I changed the system debug level from "System Default" to "Basic" and both buttons started working! I then changed it back to "System Default" and it continues to work.

Not sure what exactly got stuck and unstuck by this.
User avatar
Junior Boarder

GK User
Fri Jan 20, 2012 8:40 am
Ok I think I found a bug. Can anyone reproduce this?

Joomla 1.7.3
Music Template (any version including current)

In the backend: Site -> Global Configuration -> System -> Error Reporting

Set Error reporting to "Maximum" or "Developer". Try using the login/register links. I get a blank pop-up every time. Setting error reporting to "None" or "Simple" gets it to work again.
User avatar
Junior Boarder

GK User
Fri Jan 20, 2012 9:14 am
Could you paste here your Joomla error log ? Probably there we can find more informations.
User avatar
Platinum Boarder

GK User
Fri Jan 20, 2012 9:04 pm
bkrztuk wrote:Could you paste here your Joomla error log ? Probably there we can find more informations.


The log was empty with no errors. However I did discover that GK cache plugin was enabled without Joomla's cache being enabled. I think this was partly to blame.
User avatar
Junior Boarder

GK User
Sat Jan 21, 2012 5:36 am
Ok! So I got an apache error log that is repeating this:

Code: Select all
[Fri Jan 20 21:27:02 2012] [error] [client 172.16.16.200] PHP Notice:  Undefined variable: text in /sites/spunkee.org/alpha_html/templates/gk_music/error.php on line 28


It was saying "undefined offset" on line 28 but I added a webmaster address to the backend of the template and that cleared up that part of the error. But I do not understand where $text is supposed to come from in the error.php file.

Line 28 is:

Code: Select all
$webmaster_contact_email = substr_replace($text, $replacement, $regs[0][1], strlen($regs[0][0]));


Again, Joomla is not producing a log. I don't know if that is because it breaks on this error before it makes the log or what.

I am using the latest version of gk_music and the Jomsocial gk_style that came with it with JS 2.4.2. There are other bugs in 2.4.2 JS so hopefully this isn't somehow going to lead back to that.
User avatar
Junior Boarder


cron