Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image popup on product info page not working


propertop

Recommended Posts

Posted

After months of getting to grips with oscommerce enough to get a site almost to it's feet I've just noticed that something that was previously working, no longer works.

 

In the product info page the main image should popup, with a larger version loading in a popup window. When testing just now I noticed this no longer happens, and when I click the image an 'error on page' notice appears in the bottom left of the status bar. I've double clicked on the error and it tells me line 1, char 1 are affected in product_info.php

 

This may be glaringly obvious to those who know but my oscommerce knowledge is self taught and I'm not what you'd call a whizz with this kind of thing.

 

This used to work and somewhere along the line I've done something to stop it from working.

 

Can anyone please help?

 

If you need to see the error in action send me a private message and I'll provide you with a login as the site is currently password protected before it launches.

Posted

Maybe some help here:

 

Click Me

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thanks for the help but the code you mention in that thread is already in the product_info.php file just like it was for Amy, although she seemed to fix her problem by adding it into index.php or something?

 

Still unsolved?

 

Any more ideas? I'm truly stumped...no idea where to start to be honest. :wacko:

Posted

I'd need to "see it in action" to help any further...

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Same problem.

 

The JavaScript isn't in the <HEAD> section of the page.

:huh:

 

<right-click> and "View source" to see the HTML.

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

There are comments in the HTML indicating a template in use.

 

Maybe it needs to be somewhere else?

:unsure:

 

I have no experience with any template system, so I can't help there...

:blush:

 

Until you get the JavaScript included on the page, it won't work...

:thumbsup:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Ok thanks...just a case of me finding where the hell it's supposed to go then.

 

I'll get there in the end I'm sure.

 

Thanks for your help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...