Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Forum showing twice on the page and uploaded media not enlarging, embedded video not showing, edit function not working.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 18, 2012 - 12:18 pm

Looking at your site now - it is still loading jQuery from the google cdn...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Greggy Boone
Member
Free Members
sp_UserOfflineSmall Offline
Jun 18, 2012 - 1:01 pm

would it be helpful if i do a file content search on my site for "https://ajax.googleapis.com/aj.....ery.min.js"? This might help us isolate what file is still using google cdn.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 18, 2012 - 2:44 pm

Sounbds like  good move. Just search on 'googleapis.com' - that should be enough.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Greggy Boone
Member
Free Members
sp_UserOfflineSmall Offline
Jun 18, 2012 - 7:31 pm

I found 11 files containing "googleapis"

Can you please help me how to correct the ones for advanced-widget, fancy-text widget and ultimate tinymce? I'm just going to deactivate and delete the wp-boxer plugin

 

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\advanced-widget-pack\lib\advanced_widget_pack.class.php 29.00 KB 6/18/2012 2:23:35 PM
152 // wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\fancy-text-widget\fancy-text-widget.php 14.00 KB 6/18/2012 1:51:49 PM
64 $font = 'http://fonts.googleapis.com/css?family=' . $fonts[$font];

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\ultimate-tinymce\main.php 64.00 KB 6/18/2012 2:37:45 PM
389 echo ""; // Added for title font

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\wpboxerpro.php 84.00 KB 6/18/2012 1:54:37 PM
1640 $fonts .= "@import url('http://fonts.googleapis.com/css?family=". str_replace( " ", "+", $font ). "&text=1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%20%27%22');";

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\assets\js\nivo-slider\nivo-slider.css 7.00 KB 6/18/2012 1:55:24 PM
1 @import url("https://fonts.googleapis.com/css?family=PT+Sans");

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\framework\admin\featured_list.php 8.00 KB 6/18/2012 1:56:06 PM
42

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\framework\admin\blocks.php 11.00 KB 6/18/2012 1:56:07 PM
42

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\framework\admin\roundabout.php 9.00 KB 6/18/2012 1:56:06 PM
42

C:\Users\Greggy\Desktop\logorequirement\filamchw\wp-content\plugins\wp-boxer-pro\framework\admin\slider.php 10.00 KB 6/18/2012 1:56:06 PM
42

Avatar
Greggy Boone
Member
Free Members
sp_UserOfflineSmall Offline
Jun 18, 2012 - 7:35 pm

Please see the pdf file. It's the search results.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 18, 2012 - 10:13 pm

hard to read that... we really wanted to see a couple lines of code around each one...

so...  if you see the following lines (anything close since winging it)

wp_deregister_script('jquery');
wp_deregister_script('jquery-ui');

you will want to comment them out in addition to the

wp_register_script('jquery'......
wp_register_script('jquery-ui.....

and instead just have

wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-widget');

Avatar
Greggy Boone
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2012 - 12:30 am

I was able to find all the files containing those strings that you posted above and I commented out those that you said to comment out but it's still the same. For some reason it is still not working. it keeps on giving this error message:

 

Uncaught TypeError: Cannot call method 'getTitleId' of undefined

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 19, 2012 - 3:29 am

mmm. Something nasty is going on somewhere.

Can you do a quick test for me. You have something installed probably called 'Advanced Widgets' and I assume this is a plugin. Can you briefly deactivate it? See if that helps?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Greggy Boone
Member
Free Members
sp_UserOfflineSmall Offline
Jun 19, 2012 - 8:19 am

Yes! It was the Advanced Widget Plugin! -___-" Now I'd have to work with the developer of this plugin to make it compatible with simple-press.

 

Thanks again guys! 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 19, 2012 - 8:32 am

Actually it is quite easy. He has put his own code in there which I believe is fine. But he has embedded at the bottom a complete copy of the jQuery UI library code. This is actually an outrageous thing to do under any circumstances.

So you could load that file into an editor (plain text editor) and just remove the jQuery UI code from the bottom.

Although a note to the author explaining what a bad idea this is wouldn't go amiss!

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17368
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626