Advertisement:

Author Topic: Photo not showing in popup [ SOLVED ]  (Read 4044 times)

kristian9

  • Newbie
  • *
  • Posts: 12
Photo not showing in popup [ SOLVED ]
« on: December 24, 2013, 04:15:31 am »
Testing 3.3.1 & 3.3.2 with default theme (bender) on localhost (win7/64-xampp). Made an test ad with 4 photos. When clicking main photo or thumbnails
they are not opened in a popup window, but opens in the browserwindow.
Version 3.2.2 on localhost do open the photos correctly in a popup.
I have tested with Chrome (Version 31.0.1650.63 m) and IE11. Is there an issue with fancybox ?
« Last Edit: December 30, 2013, 01:21:13 pm by kristian9 »

kristian9

  • Newbie
  • *
  • Posts: 12
Re: Photo not showing in popup
« Reply #1 on: December 27, 2013, 01:56:31 am »
I have also in test: upgraded 3.2.2 to 3.3.2 - It is the same behavior for photos (item.php)

They are not showing in a fancybox, only opens in browserwindow.

Is there anybody else with the same problem ?

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Photo not showing in popup
« Reply #2 on: December 27, 2013, 03:36:17 am »
What version is Fancybox showing?

zoopla

  • Guest
Re: Photo not showing in popup
« Reply #3 on: December 27, 2013, 04:40:32 am »
are you sure jquery is loading ok? all fancy box files in js/ floder are there? try to replace them with those from the original installation file.

kristian9

  • Newbie
  • *
  • Posts: 12
Re: Photo not showing in popup
« Reply #4 on: December 27, 2013, 03:01:54 pm »
Hey

Here are version and folder info.

* fancyBox - jQuery Plugin
 * version: 2.0.4 (12/12/2011)
 * @requires jQuery v1.6 or later


s51

  • Sr. Member
  • ****
  • Posts: 309
Re: Photo not showing in popup
« Reply #5 on: December 27, 2013, 03:30:26 pm »

.
Hi kristian9 . . .


1.)
In the spring, - I switched my local ofline server to WAMP - after tons of problems with among other xampp.
also included incompatibilities with e.g. fancyBox - jQuery, - the only ,,problem,, I have with WAMP was:
click and read ...
http://forums.osclass.org/general-help/info-wamp-server-offline-and-osclass-3-1-1/
- -

2.)
Obviously I can not guarantee your xampp it is error, but on the other hand - it does not ,hurt, to try WAMP
click...
http://www.wampserver.com/en/
- -


Best Regards.:/ s51   :)
.

kristian9

  • Newbie
  • *
  • Posts: 12
Re: Photo not showing in popup
« Reply #6 on: December 27, 2013, 06:01:41 pm »
Hi S51

I did as you suggested.

Installed latest wamp for 64-bit on a different pc (win7/64) and downloaded and installed a "fresh" osclass 3.3.2

Same problem with photo/fancybox, and i think this is not only a local problem for me.


But... I think Osclass is fantastic..and hope to have a live site in a few weeks.

Regards
Kristian9

s51

  • Sr. Member
  • ****
  • Posts: 309
Re: Photo not showing in popup
« Reply #7 on: December 27, 2013, 07:38:23 pm »

.
Hi  kristian9 . . .

1.)
I've tried in an local offline environment like yours:
64 Bit - WAMP - WIN7 - MS9-10-11 + G.CHROME
to reproduce the error you have = BUT HERE IT RUN PERFECT ???
- -

2.)
And you are sure you are working with the correct associated JS files,
or not have a external JS error if you have tingled with code else where
Dont now how, - and what to help you with - unfortunately,
but open and see the attached *.jpg - show the difference in global js
- -


Good luck and Best Regards.:/ s51


.

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Photo not showing in popup
« Reply #8 on: December 28, 2013, 03:23:42 am »
What jquery are you using?

In my osc on shared hosting (xamp) it works llike a charme and I have the following versions running a hacked minimalist theme:
JQuery: 1.7.2
FancyBox: 2.1.4

Also do a compare on the public_html/oc-includes/osclass/assets/js/ files and the ones that are included in your theme js folder if any...


Regards,
Eric

s51

  • Sr. Member
  • ****
  • Posts: 309
Re: Photo not showing in popup
« Reply #9 on: December 28, 2013, 04:12:44 pm »

.
Hi  kristian9 . . .

1.)
Ohhhh ...
Now I'm +90% convinced, - that you actually have a Bender 1.1.0 theme related problem
- -

2.)
Do me (and hopefully yourself) a favor, - complete uninstall your current Bender Theme 1.1.0
(remember a safe backup - if you have made any changes inside the theme - from original)
- -
Then through: DASHBOARD >> Manage.Themes >> Current.Thems >> [Add New]
add the Test.Bender I have attached here under. (its completely safe to do)
NOTE:
Could not attach the file her, - because it was too big for the forum
so please send me your real email via PM - and I shall forward the file to you.
- -

3.)
And then come back, - and let us all hear and know if your PopUp suddenly seem okay.
- -

Best Regards.:/ s51
.

kristian9

  • Newbie
  • *
  • Posts: 12
Re: Photo not showing in popup
« Reply #10 on: December 30, 2013, 12:18:49 am »
It was an error..

https://github.com/osclass/theme-bender/commit/a4aac30928f9513078108ecb6a8515acc7ca56b4

I downloaded the updatet bender 1.1.0 from https://github.com/osclass/theme-bender

(not updated on downloadlink at osclass.org)

Then installed a random theme and activated, deleted bender 1.1.0 and installed the updated one.

PS! change name on the theme in themes catalog to "bender" to see it in admin. (reload admin site)

Fancybox is fancy again... :D

...well, the easiest solution is to just replace "head.php"

----------------------------------------

Tank you S51 for your suggestion, it worked, but then the ajax upload of pictures was gone,,because of an older version...

« Last Edit: December 30, 2013, 12:27:23 am by kristian9 »

s51

  • Sr. Member
  • ****
  • Posts: 309
Re: Photo not showing in popup
« Reply #11 on: December 30, 2013, 04:29:17 am »

.
Hi  kristian9 . . .


>>Tank you S51 for your suggestion, it worked, but then . . . . . . .
The main thing is it works now, - just ,,strange,, the OSClass Team not has drawn attention to this error ?
(I,m not a coder so when I come at GitHub - it is only to play smart - to myself - Ha, ha, ha,)   ;)
- -


2.)
If others have the damed PopUp problem (also you guys I help in Brazil)  so is this the direct copy link to the Bender head.php:
click...
https://github.com/osclass/theme-bender/blob/a4aac30928f9513078108ecb6a8515acc7ca56b4/common/head.php
- -


Best Regards.:/ s51
.

PS: @kristian 9
Please mark your Subject as [ SOLVED ]
(then other know they can use the end solution)