close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Univeral Mail .... or maybe DataBride v2?

Thread began 7/22/2019 8:46 am by Zapman | Last modified 7/26/2019 12:51 pm by Ray Borduin | 64 views | 6 replies |

Zapman

Univeral Mail .... or maybe DataBride v2?

Hi,

I am using DataBridge 2 and have a simple web page that is divided into sections using id="XXXXX" format.

The page menu simply moves to and reveals each id section over a static background image.

I have added a contact form using Universal Mail (as I have done many times before) and it sends the message just fine It then attempts to redirect to the given address but fails to load the page, leaving a white screen.

If I open a new window and enter the url there, the page loads just fine, so I do not think that is the problem. I think it may be something to do with the sending session not closing as the address bar continues to display the sending address above the white screen.

So should be : index.php >> index.php#contact (complete and send form then redirect to) index.php#thanks.

But is actually: index.php >> index.php#contact (complete and send form then blank screen with address bar) index.php#contact

One further point, the blank page cannot be refreshed to display the url in the address bar, it has be done in a new window - hence my thought that this is session related?

Any thoughts please?

Sign in to reply to this post

Ray BorduinWebAssist

My thought is that doesn't make sense.... there must be something else. Can I get a url to reproduce and ftp access? It is either failing to redirect in the first place, or the url is different.

Try adding this to the top of both pages:
<?php
ini_set("display_errors",1);
?>

A blank page usually means there was an error, but displaying errors is turned off. By turning them on it should give you something to go on. That would be my first step if I had FTP access and a URL to reproduce. Once you get the true error it would probably be a simple fix. My guess is blank space or code before the redirect on the first page causing the redirect to fail.

Sign in to reply to this post

Zapman

Thanks for looking into this Ray.

Turning on error reporting reveals

' Fatal error: Call to a member function Prepare() on null in /home/sites/XXXXXXXX.co.uk/public_html/webassist/mysqli/queryobj.php on line 476 '

This suggested to me that there was an issue with email logging and when looking into the database I found an empty table (set to latin_swedish_ci collation!).

Deleting this table did not change the error status and the table was not recreated hence my feeling that things must be locking up here and not allowing the page to load.

I have only run the Universal Email routine an have made no other edits.

Many thanks in advance.

Sign in to reply to this post

Ray BorduinWebAssist

The FTP information isn't working for me. Please check for typos and make sure it works for you. It may be an IP address restriction keeping me out as well.

Sign in to reply to this post

Zapman

Arrrggh! Sorry Ray - I forgot IP locking.

All should now be available to you.

Sign in to reply to this post

Ray BorduinWebAssist

The issue was that you have email logging in the database turned on, but you haven't created the log table to support it. I put the full error on the page so you can see it:

Table 'cl59-maillog.email_log' doesn't exist

You can either create that table with the necessary columns, or you can remove the email logging to eliminate the error.

Sign in to reply to this post

Zapman

Thank you Ray.

My head is unblocked and all is now good.

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