close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PHP 5.3 Released, Causing Issues

Thread began 9/10/2009 5:55 pm by John Langer | Last modified 9/14/2009 4:23 pm by Jason Byrnes | 2619 views | 5 replies |

John LangerBeta Tester

PHP 5.3 Released, Causing Issues

Hi,

On my testing local server using PHP 5.3, I get the following error on all apges where the menu should be.

Deprecated: Function split() is deprecated in C:\wamp\www\testingsite\CSSMenuWriter\cssmw\menu.php on line 16

This is not a problem as I also have use of PHP 5.2.9 and my live server is also 5.2.9 (For how much longer though I don't know).

Just thought I'd raise the issue so you know.

I've posted here but I suppose the problem is really with CSS Menu Writer?

Sign in to reply to this post

Jimmy Wu

This is a known issue with CSS Menu Writer. If you change the split function to the explode function, the menus should work fine. Thanks for reporting this issue.

Sign in to reply to this post

John LangerBeta Tester

Originally Said By: Jimmy Wu
  This is a known issue with CSS Menu Writer. If you change the split function to the explode function, the menus should work fine. Thanks for reporting this issue.  



Is there an example bit of code you could publish for us "point and clickers"? Or is it just a question of changing the word "split" for "explode"?

I'm just concerned in case my host decides to upgrade PHP any day soon. Perhaps as known "cures" come up, you could publish them on a dedicated thread. Just a thought.

Sign in to reply to this post

Jason ByrnesWebAssist

It's just changing split to explode.

In the menu.php page, line 16 is:

php:
$WA_ddsArray = split("/", $WA_thisFile);




it needs to be changed to:

php:
$WA_ddsArray = explode("/", $WA_thisFile);
Sign in to reply to this post

John LangerBeta Tester

Thanks Jason, that sounds straight forward enough (even for me).

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...