close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Migrating old Email Server Behaviour using DataBridge v2

Thread began 4/25/2019 7:45 am by Thomas Hill | Last modified 4/30/2019 2:15 pm by Ray Borduin | 1406 views | 12 replies |

Thomas Hill

Migrating old Email Server Behaviour using DataBridge v2

I'm stuck and need some help...

I've spent the last few months using the new DataBridge v2 on my website to migrate the old Recordsets and Server Behaviours from PHP v5.2 to v7

I've migrated almost everything (setting each completed folder to PHP v7 when complete) but I am stuck when it comes to migrating the pages which include an Email SB.

I understand if I migrate an Email SB to the new code, it wants to replace the old include scripts (mail_php.php and mailformatting_php.php) with the new (WA_Email.php) script. However, if I update just one Email SB to the new code it seems to conflict with all of the other Email Server Behaviours on the website producing a blank screen for the pages that have yet to be updated (and I have quite a few).

So I am not sure how to go about doing this and do you have any suggestions?

Secondly, I also have 3 pages which are automatically triggered via cron-job (page attached) and when I double click the old Email Server Behaviour it shows the following message: Error in appleServerBehavior: Reference Error: isset is not defined

Please can you help?

Many thanks in advance.
Tom

Sign in to reply to this post

Ray BorduinWebAssist

Updating one Universal Email shouldn't effect the others on other pages on the site, since they use a different include file. If you can post a url of a broken page after updating a different page then I could debug and see what is wrong. If it is only available on your localhost, then please post Skype contact information and I'll do screen sharing with you to see what is going wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

Thomas Hill

I'm not testing locally as I want to make sure the emails trigger correctly. However, I have just done another test and the new server behaviour works perfectly but when accessing another page with the old code the page is blank.

I've just had a play around and commented out the old server behaviour code on the other page and it loads! There must be a conflict somewhere. I'd rather not keep this live as it's affecting visitors to my site where pages still have the old email server behaviour. Instead I have attached the two pages for you to see.

index.php (works perfectly with new server behaviour)
members.php (only loads if old server behaviour is commented out)
- Both files are running PHP v7.0 on the server.

To complete the migration, I am thinking that I may need to comment out all of the old email server behaviours and then work 1 by 1 to update each page in turn. This way it will cause as little disruption to visitors whilst I do this.

Sign in to reply to this post

Thomas Hill

By the way, did you also take a look at the first file I sent through at the top of this thread? website_auto_email_management.php
When I double click the old Email Server Behaviour, it won't open the dialog box but instead it shows the following message: Error in appleServerBehavior: Reference Error: isset is not defined

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

Updating email on another page shouldn't effect this one. I'd have to have FTP access and a URL to see the broken page to debug it.

Have you tried adding this to the top of the page:
<?php
ini_set("display_errors",1);
?>

That may give you an error message instead of a blank page that would help in determining the cause.

Sign in to reply to this post
Did this help? Tips are appreciated...

Thomas Hill

Thanks Ray, I'll give this a try over the weekend.

Do you know why I am unable to open the Email Server Behaviours on the page I attached in my post at the top of the page?
website_auto_email_management.php

(Or would you like me to open a separate thread?)

Sign in to reply to this post

Ray BorduinWebAssist

Try reinstalling the DataBridge extension. I just made an update that might address this issue.

I'd need a .zip of the webassist/email/ folder and files associated with the server behavior in order to try to open it and see if I can reproduce the issue in order to determine the cause if you still have problems.

Sign in to reply to this post
Did this help? Tips are appreciated...

Thomas Hill

I tried uninstalling the DataBridge extension over the weekend but it froze on me and so I completely uninstalled Dreamweaver and then reinstalled but now even the other Email Sever Behaviours which previously would open, now won't open either. Instead it freezes Dreamweaver when I try to open an Email Server Behaviour (screen shots attached). It allows me to create a new Email SB though and also open other SB's.

I've attached the email folder and also some of the pages which use the old Email SB I am trying to open and migrate for you to take a look.

Once we can solve this I will be able to try adding the code above to see why the new code conflicts with the old.

Many thanks in advance.

Sign in to reply to this post

Ray BorduinWebAssist

I just posted another update to correct this issue introduced in the last build. I tested with your contact page to make sure the emails can be updated correctly.

Sign in to reply to this post
Did this help? Tips are appreciated...

Thomas Hill

I have already been using the latest build (2.3.5) since I noticed it last month. However, after several uninstalls and reinstalls of both the extension and Dreamweaver (which didn't fix the issue) I decide to try rolling back Dreamweaver to the previous version (19.0.1) and the Email Server Behaviours now work.

I have since spent the day migrating all of the Email SB's ready for uploading and testing but now my broadband and landline have gone down and have been told it won't be fixed until the end of the week.

Thanks again for your support and I'll add to this thread (probably next week when the broadband is fixed) if I run into any more difficulties with the Email Server Behaviour.

Many thanks.

Sign in to reply to this post
loading

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...