, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > Help! PHP Deprecated: Function split() is deprecated in /

FlexCMS Support Forum


Help! PHP Deprecated: Function split() is deprecated in /
Started June 8, 2014 @ 9:42am by brued458
Post Message 
brued458


Posts: 3
 
Help! PHP Deprecated: Function split() is deprecated in /June 8, 2014 @ 9:42am
I am a newbie with flex (my first site) and this is only my second site ever. All seemed to be going well until I noticed I got de-indexed from google and I am getting error messages on my server. My server host told me this is something I did with SEO and my domain and server are running correctly?

I have exhausted all my resources including my friend that got me onto flex and he suggested that I try to find out by posting on the flexCMS forum? So here I am; has anyone seen this before? any ideas what I need to do to fix? Help! and thank you for looking...

sample of error message(s) from my server below:


Jun 06 18:39:13 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/rustic-cabin-kitchen-decor.html [Fri Jun 06 18:39:12 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/rustic-cabin-rugs.html [Fri Jun 06 18:39:09 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/rustic-cabin-rugs.html [Fri Jun 06 18:39:07 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Furniture.html [Fri Jun 06 18:39:02 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Furniture.html [Fri Jun 06 18:39:00 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Furniture.html [Fri Jun 06 18:38:58 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Furniture.html [Fri Jun 06 18:38:56 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Decor-Lighting.html [Fri Jun 06 18:38:48 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/Rustic-Cabin-Decor-Lighting.html [Fri Jun 06 18:38:47 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/cabin-decorating-accents.html [Fri Jun 06 18:38:42 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/cabin-decorating-accents.html [Fri Jun 06 18:38:40 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/horse-decor.html [Fri Jun 06 18:38:27 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/horse-decor.html [Fri Jun 06 18:38:25 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer: http://rustichomedecorguide.com/index.php/pages/buffalo-decor.html [Fri Jun 06 18:38:13 2014] [error] [client 67.237.19.219] File does not exist: /home/rusti11/public_html/imageshttp:, referer: http://rustichomedecorguide.com/index.php/pages/buffalo-decor.html [Fri Jun 06 18:38:11 2014] [error] [client 67.237.19.219] PHP Deprecated: Function split() is deprecated in /home/rusti11/public_html/index.php on line 223, referer:
 
DCSun
Administrator



Posts: 625
 
June 8, 2014 @ 11:22am
Hello,

You've got a couple separate issues there;

- The "file does not exist" seems to be an image that's trying to load from a bad URL (http://rustichomedecorguide.com/imageshttp://rustichomedecorguide.com/images/spacer.gif). That's not great, but shouldn't cause any big problems and most users probably won't even notice.

- The "PHP Deprecated: Function split()" doesn't seem to be happening when you visit the site now, so I'm not sure if you changed something or your host did. It's a notice not an error, so it's possible you or they changed the settings so those notices don't show anymore.

Neither of those should have any impact on SEO. I'm no SEO wizard but my best guess would be the search engine(s) in question made some change that now punishes rather than rewards something you were employing.


David


FlexCMS v3.2 Has Been Released!
 
brued458


Posts: 3
 
thanks for your response!June 8, 2014 @ 4:52pm
thank you so much for your looking. I will try to run this image issue down. I did take some links off recently and maybe that fixed it. thanks again!


Quote (DCSun)

Hello,

You've got a couple separate issues there;

- The "file does not exist" seems to be an image that's trying to load from a bad URL (http://rustichomedecorguide.com/imageshttp://rustichomedecorguide.com/images/spacer.gif). That's not great, but shouldn't cause any big problems and most users probably won't even notice.

- The "PHP Deprecated: Function split()" doesn't seem to be happening when you visit the site now, so I'm not sure if you changed something or your host did. It's a notice not an error, so it's possible you or they changed the settings so those notices don't show anymore.

Neither of those should have any impact on SEO. I'm no SEO wizard but my best guess would be the search engine(s) in question made some change that now punishes rather than rewards something you were employing.


David
 
DCSun
Administrator



Posts: 625
 
June 8, 2014 @ 9:27pm
The broken image URL looks like it's in the FlexCMS code or possibly the template. Feel free to email your site login and FTP info to if you'd like me to take a look.

David


FlexCMS v3.2 Has Been Released!
 
brued458


Posts: 3
 
think it is fixed wanted to share what...June 12, 2014 @ 8:04pm
Hello David,

You are a real stand up guy and thank you for your offer. My friend discovered that we could not load my domain into any site i.e. copyscape, html.site.maps etc. without the server error coming up. I went back to the lunar pages help desk a second time and told them this and I finally got someone to listen to me.

Anyway, I copied their response to me for what it is worth. I hope it may help you or someone else with a similar issue in the future.

Cheers! I am back in the game again! See below their response and thank you!

A technician responded to your ticket with:

Hi Edward,

Thanks for your follow up.

The problem was with the function split() that FlexCMS was trying to use. As was mentioned in the link provided, split() needs to be replaced by explode() in newer versions of PHP.

With that, I've made the change and have ran both Copyscpae and XML-Sitemap without issues. Additionally, I saved a copy of your old (untouched) index file, under the name indexOLD.html

Hope this helps.

Regards,

 
DCSun
Administrator



Posts: 625
 
June 14, 2014 @ 10:27pm
I'm guessing they mean they modified index.PHP, not HTML, but that aside it sounds like they did what I was going to suggest. You can check and see what your index.php looks like. Line 14 should have been changed, that's where the error reporting is set.

Originally it would have been:
Code

error_reporting (E_ALL ^ E_NOTICE)
changing it to:
Code

error_reporting (E_ALL & ~E_NOTICE & ~E_DEPRECATED);
will suppress the deprecated function warnings.

I won't go into my gripes with the way PHP chose to handle that issue here...


David


FlexCMS v3.2 Has Been Released!
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.09465 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS