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
Google Sitemap XML Parsing Error
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 18, 2016 - 10:31 am

Noticing a simplepress forum sitemap error in Google webmaster tools. Trying to view the sitemap shows the following.

XML Parsing Error: junk after document element
Location: https://www.docsplace.org/foru.....itemap.xml
Line Number 2, Column 1:<b>Warning</b>:  The function sp_forum_api_support() has been deprecated and will be removed in a future update. Use the new function sp_forum_ajax_support() instead. in <b>/home/docsplace/public_html/wp-content/plugins/simple-press/sp-startup/site/sp-site-deprecated.php</b> on line <b>54</b><br />
^

Any suggestions?

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2016 - 10:51 am

Afraid it means exactly what it says Doc. My first guess would be that you have updated the core forum but not all or some of the SP plugins you are using. Might that be the case?

andy-signature.png
YELLOW
SWORDFISH
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 18, 2016 - 10:56 am

All updates have been completed. Just checked again and WordPress reports:

Simple:Press Plugins

Your SP plugins are all up to date

Simple:Press Themes

Your SP themes are all up to date

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2016 - 11:23 am

Well the message in question is a triggered warning that will be used if the old function is called. it is now used nowhere in any of the code of plugins or core. It is also used in our sp-importer although that too was upgraded and released at the same time. Bit that wouldn't be a part of the sitemap anyway.

The only other two things I can think of is if you yourself have added any custom code that might have used that function and now it needs to be changed. Or - the sitemap was generated when half was updated and half was not.

Maybe @mr-papa can shed some light on it or have any idea that I have missed,...

andy-signature.png
YELLOW
SWORDFISH
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 18, 2016 - 11:34 am

Dunno, I'm lost in code. No mods to simplepress. Tried dumping CloudFlare cache several times, ran sp databases repair. Since the sp sitemap plugin depends on Yoast SEO plugin, maybe it's triggering something? Joost has pushed out many updates recently.

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 18, 2016 - 5:16 pm

Just discovered the sucks site is doing the same thing. Tried removing line 58 from sp-site-depreciated.php but that didn't work either. File date is:

Simple:Press
Deprecated - global code
$LastChangedDate: 2016-07-11 18:16:45 -0700 (Mon, 11 Jul 2016) $
$Rev: 14429 $

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2016 - 9:45 pm

its not going to be anything in deprecated file.. something is still calling the sp_forum_api_support() function...  just need to figure out what...

do a search (or grep) on the sp plugins and themes directory... maybe also check the wp plugins directory (perhaps the our importer plugin or other wp plugin we provide is still active with that)...

if all that fails, then need to dump the call stack (debug_backtrace()) and see where its coming from...

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 19, 2016 - 12:09 pm

Hi Steve, that's going right over my head.. Sorry lost in code.

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2016 - 12:16 pm

Steve is basically saying that he believes it means something on your site is still calling the old, deprecated function which needs to be found. I can say that the codebase of our core, plugins and themes plus extra WP plugins like Importer are no longer making this call.

As to how you search your server folders then I have to say I do not know either although I am sure I can google it and find out. But we may need him to expand on it!

andy-signature.png
YELLOW
SWORDFISH
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Aug 19, 2016 - 12:23 pm

I can browse the directories with a file manager, but there are so many files to view / search through and I'm really not sure what to look for. Obviously that old api call, It's a nightmare for me to tweak my sites main theme css file. Getting somewhat better as time goes by, but still lost in code. One little edit error and I'm in big trouble..

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625