Operation Aborted

Phoca Gallery plugins - plugins for Phoca Gallery extension
garry2001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Mar 2008, 09:54
Location: Russian Federation
Contact:

I have some error in

Post by garry2001 »

I have some error in browser if i call url with gallery, after 2...6 refresh it's work but after maybe new crash ... example url: URL

P.S. In admin panel all thing with galery work very well.
garry2001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Mar 2008, 09:54
Location: Russian Federation
Contact:

I have found, it is

Post by garry2001 »

I have found, it is gallery clashes with virtuemart 1.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Ok, there is some in

Post by Jan »

Ok, there is some information about this problem in this forum. I think, there is a wrong javascript in some Joomla!'s component (module, plugin)
If you find Phoca extensions useful, please support the project
garry2001
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Mar 2008, 09:54
Location: Russian Federation
Contact:

Yes, it's doesn

Post by garry2001 »

Yes, it's doesn't work if in virtuemart select Category display type JSCook
pendeho
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 Dec 2010, 16:11

Re: Operation Aborted

Post by pendeho »

Hi, last week we had a problem with IE7 using Joomla 1.5 and Phoca Gallery Version 1.8.6: everytime a visitor to the site tried to enter a gallery she would get an "Operation Aborted" error. We found a few pages regarding this issue:

http://support.microsoft.com/kb/927917/en-us
http://clientside.cnet.com/code-snippet ... on-aborted
http://weblogs.asp.net/infinitiesloop/a ... sh-IE.aspx

We believe that this problem was being caused by the function: domready (the Phoca Gallery Component uses this function from mootools) when IE tried to load the page. To solve this, we changed that function for a similar one: load.

To do this go to: \libraries\joomla\html\html\behavior.php

Around line 155 change this:

Code: Select all

<script type="text/javascript">
   window.addEvent('domready', function() {
      SqueezeBox.initialize({});
      $('a.modal-button').each(function(el) {
         el.addEvent('click', function(e) {
            new Event(e).stop();
            SqueezeBox.fromElement(el);
         });
      });
   });
</script>

To this:

Code: Select all

<script type="text/javascript">
   window.addEvent('load', function() {
      SqueezeBox.initialize({});
      $('a.modal-button').each(function(el) {
         el.addEvent('click', function(e) {
            new Event(e).stop();
            SqueezeBox.fromElement(el);
         });
      });
   });
</script>
We've tested the gallery component in IE, FF (Linux and Windows) and Opera and it's working fine.

Kind regards.
Juan Pablo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Operation Aborted

Post by Jan »

Hi, it is good to work with latest phoca gallery (2.7.6) and latest Joomla!

For the info see:
https://www.phoca.cz/documents/2-phoca-g ... on_aborted

Jan
If you find Phoca extensions useful, please support the project
Post Reply