Pop Ups Not Working

Discovered a bug? If not sure, please post question in the support forum.

Pop Ups Not Working

Postby JTMan33 » Thu May 14, 2009 8:07 pm

Running version 1.8.503 on Apache 2.2.x with PHP 5 on Windows XP SP3



I have had the system in place for quite some time. I tried to use the update/users/options/randomizer/etc.... buttons today that generally launch pop-up windows, and nothing comes up. Firefox doesn't even flicker. IE at least throws up an error

ERROR - Object Expected in index.php


This worked yesterday and nothing has change between then and now. Just wondering if anyone else was experiencing problems.
JTMan33
 
Posts: 13
Joined: Fri Oct 31, 2008 4:06 pm

Re: Pop Ups Not Working

Postby JTMan33 » Thu May 14, 2009 8:22 pm

It's failing out on lines 189 and 194 character 2 that I know of. These lines are from the html source on the receiving end of the webpage, not the server.


Those two lines look like this.


Code: Select all
<table class="box" border="0" cellspacing="0" cellpadding="0" width="245"><tr><td height="13" valign="top" class="bbox"><b>&nbsp;Admin control&nbsp;</b></td><td class="bbox" align="right"><a class="bbox" onclick="javascript: if (!confirm('Drop admin access for this session?')) return false;" href="/index.php?action=dropadmin&amp;p=&amp;d=0">x</a>&nbsp;</td></tr><tr><td colspan="2" class="notice"><table class="bboxtable" border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td height="6"></td></tr><tr><td width="3"></td><td >&nbsp;<input type="button" name="action" value="Users" class="fatbuttom" onclick="javascript: newwinscroll('Users', '/index.php?action=showusers', 425, 695);"/> <input type="button" name="updatesearch" value="Update" class="fatbuttom" onclick="javascript: newwinscroll('Update', '/index.php?action=updateoptions', 320, 675);"/> <input type="button" name="settings" value="Settings" class="fatbuttom" onclick="javascript: newwin('Settings', '/index.php?action=settingsview', 460, 685);"/></td><td width="3"></td></tr><tr><td height="4"></td></tr></table></td></tr></table>                  </td></tr>



Code: Select all
               <tr><td height="14"></td></tr>               <tr><td><table class="box" border="0" cellspacing="0" cellpadding="0" width="245"><tr><td height="13" valign="top" class="bbox"><b>&nbsp;My&nbsp;</b></td><td class="bbox" align="right"></td></tr><tr><td colspan="2" class="notice"><table class="bboxtable" border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td height="6"></td></tr><tr><td width="3"></td><td >&nbsp;<input type="submit" name="logmeout" value="Logout" onclick="javascript: if (!confirm('Sure?')) return false;" class="fatbuttom"/> <input type="button" name="editoptions" value="Options" class="fatbuttom" onclick="javascript: newwin('Options', '/index.php?action=editoptions', 380, 590);"/> <input type="button" name="randomizer" value="Randomizer" class="fatbuttom" onclick="javascript: newwin('Randomizer', '/index.php?action=showrandomizer', 380, 550);"/></td><td width="3"></td></tr><tr><td height="4"></td></tr></table></td></tr></table></td></tr>
JTMan33
 
Posts: 13
Joined: Fri Oct 31, 2008 4:06 pm

Re: Pop Ups Not Working

Postby JTMan33 » Thu May 14, 2009 8:29 pm

If it helps, Firefox now returns back the following when clicking on the various different pop ups.


Javascript error - anyselected is not defined
Javascript error - newwinscroll is not defined
Javascript error - newwin is not defined
JTMan33
 
Posts: 13
Joined: Fri Oct 31, 2008 4:06 pm

Re: Pop Ups Not Working

Postby JTMan33 » Thu May 14, 2009 8:44 pm

Disregard this post. I figured it out. It looks like my external javascript got filled in somehow by some random URL. I blanked it out and got it fixed.
JTMan33
 
Posts: 13
Joined: Fri Oct 31, 2008 4:06 pm


Return to Bugs