Old URL: http://www.pillerdesigns.com/foxterrier/

New URL: http://www.foxterrier.com/

Process: copied all files to new server, updated wp-config.php, changed site and WordPress URL in Settings, exported DB using phpMyAdmin then imported DB using phpMyAdmin.

Issue: Three things no longer work on new site, and it seems they are all jQuery based:

  • Slideshows in header (left and right image boxes) no longer transition
  • jQuery masonry no longer arranges lavender area posts
  • NextGen gallery plugin no longer works

Can anyone help? Thanks!

  • Well, it appears it was a combination of permissions issues, invalid code, and plugin settings being reset. All fixed now, thanks for your help.
    – Zade
    Commented Mar 25, 2012 at 5:39

1 Answer 1


There are PHP errors and notices in your scripts invalidating the JavaScript code:


<b>Deprecated</b>:  Function eregi() is deprecated in <b>/home/foxterrier/public_html/wp-content/themes/shape/smooths/getimages.php</b> on line <b>13</b><br />
smootharray[0]="004.jpg";<br />

Plus, you are loading jQuery too late. Read wp_enqueue_script() and how to handle dependencies (the third parameter).

  • Such is the problem with using WP_DEBUG in production ...
    – EAMann
    Commented Mar 23, 2012 at 20:38
  • @EAMann Using eregi() in production isn’t better. :D
    – fuxia
    Commented Mar 23, 2012 at 20:53
  • I've enqueued my jquery scripts and the problem remains. And why does everything work on the old URL with the same code? It's strange--the problems will occur on the old URL as well the moment I update the WordPress URL in Settings.
    – Zade
    Commented Mar 24, 2012 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.