Solved

Problem with WordPress NexGen Gallery

Posted on 2014-09-22
10
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40337529
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
ID: 40337537
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
ID: 40337544
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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:JustDuckyDesigns
ID: 40337550
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
ID: 40337571
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
 

Author Comment

by:JustDuckyDesigns
ID: 40337601
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
ID: 40337649
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
ID: 40337661
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
ID: 40337672
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
ID: 40346687
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
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…

732 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