Jump to content

php and Javascript not working correctly


marit

Recommended Posts

Hi there

I am new to php. I manage 4 website for my company and I have a problem with a php page that has javascript in it

The same page is on 3 of my websites and on 2 of them they display correctly. One the main website it does not work and I am at a loss to what is wrong. The person that created this page is no longer at the company and with my little knowledge I dont know where to start looking for the error.

The websites are build in wordpress.

 

Here is the working page http://regenesys.in/video/

Her eis the page that is not working correctly - http://regenesys.co.za/video/ 

(note that clicking on the 'Leadership Conversations', 'Media' and 'forums' does not load the other youtube videos as it does on the first site)

 

I would really appreciate any help!

 

Mari

 

Link to comment
Share on other sites

The urls for loading the various javascript files is pointing to http://localhost/

 

This is what is displayed in my browser console

GET http://localhost/regenesys-rebuild/wp-content/plugins/nextgen-gallery/produ…xtgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.css?ver=3.7.1 404 (Not Found) (index):153
GET http://localhost/regenesys-rebuild/wp-content/plugins/nextgen-gallery/produ…xtgen/modules/lightbox/static/fancybox/jquery.easing-1.3.pack.js?ver=3.7.1 404 (Not Found) (index):527
GET http://localhost/regenesys-rebuild/wp-content/plugins/nextgen-gallery/produ…extgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=3.7.1 404 (Not Found) (index):529
GET http://localhost/regenesys-rebuild/wp-content/plugins/nextgen-gallery/produ…n/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=3.7.1 404 (Not Found) (index):528
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 

These four JavaScript files need to be loaded from regenesys.co.za not localhost. Perhaps this is the issue?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.