Solved

Problem with WordPress NexGen Gallery

Posted on 2014-09-22
10
319 Views
Last Modified: 2014-10-09
I created a website (http://www.lisajenningsart.com) last year. The site has been working fine. The home page has a NextGEN slideshow and that has been working fine until this past weekend. No changes have been made to the site in several weeks and no changes have been made to that slideshow or the home page in months.

When you visit the site, it opens VERY, VERY slowly and then an error message appears: "Slideshows require the Flash Player and a browser with Javascript support."

I tried changing the NextGen settings to not allow flash and a different problem arises - the first slide will appear to the left (rather than centered as it should be) and then it will just show a loading spinning circle and hang up. I've also just heard from my client that if you try it on a Mac, it does the slow load and the only displays about the top third of the first slide and then totally stops.

I've reached out to the NextGEN support and they suggested I try a different theme (the current theme is a custom one I created in Artisteer) and I did try all of the generic WordPress Twenty themes and each one gave me the same problem.

I also reached out to my host and they are trying to tell me it must be a WordPress thing.

Any one have any ideas on what I could check?
0
Comment
Question by:JustDuckyDesigns
  • 5
  • 5
10 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
When I load up the site in Chrome I get this:

GET http://lisajenningsart.com/wp-content/themes/LJ121113/jquery.min.map 404 (Not Found) (index):223
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/…nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.css?ver=4.0
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/…nextgen/modules/lightbox/static/fancybox/jquery.easing-1.3.pack.js?ver=4.0
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/…gen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=4.0
Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/…_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=4.0

Open in new window


So it looks like a lot of this could be related to that JQuery dependency failing to load properly.  When I click the first image on the site, it loads the next one and the slideshow begins working again.

Testing in FireFox now (no Flash enabled on it) to see what else I can find.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Saw something go by on the FireFox console that I didn't see on the Chrome console:

GET http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.css?ver=4.0
GET http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.easing-1.3.pack.js [251ms]
GET http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js [252ms]
GET http://67.199.146.93/~lisajenn/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js

Open in new window


It looks like NextGEN might be making a call back to the dev server?  If so, you might be seeing the results of attempting to use Flash to do cross-site scripting which is usually blocked by security-minded ISP's.
0
 

Author Comment

by:JustDuckyDesigns
Comment Utility
Update: My client needs to have the site working immediately, so I moved the page in question to http://lisajenningsart.com/home-test/ and have temporarily changed the home page - I am now using a WOW Slider plugin instead of the NextGEN gallery.

I still want to find out what is going on, but for now this is a work around.
0
 

Author Comment

by:JustDuckyDesigns
Comment Utility
I think you've found the problem. Last May my hosting company moved me to a new server - with a new IP address. The IP address showing in your test is my OLD IP address (67.199.146.93). In Firefox I see (down at the bottom of the screen) whenever I try and load that page it says "Connecting to 67.199.146.93.."). I have told this to my hosting company and they say they can't see it and that a ping and traceroute show that it is resolving to the correct new server.

What can I tell them? How can I get them to fix this?

Is it possible that there are still references to the old IP address in the database? If so, how could I fix it?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Is it possible that there are still references to the old IP address in the database? If so, how could I fix it?

Probably and this is pretty easy.

If you have access to phpMyAdmin for this site, login and completely dump out the WordPress tables to a SQL dump file (plain text)

Then just open the text file in a good text editor and do a search/replace on the dev server string.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:JustDuckyDesigns
Comment Utility
That sounds a little scary!

I do have access to the phpMyAdmin, could you give me a "phpMyAdmin for Dummies" version of how to do this? Kind of a step by step?

Thanks!!
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
That sounds a little scary!

Time to put on big kid pants or hire someone with experience.

I go into more detail as to how to do this particular process in this article:

http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

Some of these steps will be different depending on phpMyAdmin version:

1) Go to phpMyAdmin, login, select the live WordPress database.
2) At the top of the screen (above the list of table) you should see a tab for Export.  Click it.
3) On the next screen, you should see all tables selected and SQL as the export format in the first column.  If not, select all tables and check SQL
4) In the second column, make sure you have both Structure and Data items checked.
5) Underneath the two columns, you should have a checkbox for Save As File.  Check it.
6) Click the Go button to export the file.  You should end up with a "databasename.sql" file on your local machine.
7) Open that file with a text editor, do the search and replace.  Save it with a new name.

This is where it get a little scary

8) Repeat steps 2 through 6 to get a clean copy of your database.  This is our disaster recovery file.
9) In phpMyAdmin, click Structure.  
10) Select all of the tables.
11) Find the drop down menu that says "with selected" and choose "Drop" from there (delete all your tables)
12) Once all the tables are gone, click "Import" from the top of the screen.
13) Browse to your modified SQL dump file, select it and upload it.  phpMyAdmin will recreate your tables with the modified data

If you eff up from step 11 onwards, just do step 13 again and select your backup SQL file.  Perform the above actions at your own risk.

The alternate way to do this is to attempt to use SQL commands.  This will be harder to do as you will have to know exactly which table(s) contain the old URL and how to structure the query to properly update it.
0
 

Author Comment

by:JustDuckyDesigns
Comment Utility
Ok....I'm leaving my office in a few minutes. I'm going to attempt these steps when I get in tomorrow morning - hopefully with nice fresh eyes! I will also make a current backup of the database first through my hosting control panel before I start. That should keep me fairly safe :)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Put it this way...you're not REALLY a web developer until you've blown away the data a time or three.

So consider this "professional development"

:)
0
 

Author Comment

by:JustDuckyDesigns
Comment Utility
I apologize for being away from this question. I've had a family emergency come up and I haven't had a chance to follow your instructions yet. I plan on implementing your idea on Monday. I'll come back and let you know the status at that time. Thanks so much for your input and help!!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Video on my site 4 25
C3-->D3 Line Chart 4 16
JavaScript error 1 32
Hidden Field Value 10 33
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now